Skip to content

Commit 012e50c

Browse files
committed
port: Power Profile Monitor
1 parent 9ce0959 commit 012e50c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Power Profile Monitor/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Adw from "gi://Adw";
22
import Gio from "gi://Gio";
33

44
const power_profile_monitor = Gio.PowerProfileMonitor.dup_default();
5-
const overlay = workbench.builder.get_object("overlay");
5+
const overlay = workbench.builder.get_object<Adw.ToastOverlay>("overlay");
66

77
power_profile_monitor.connect("notify::power-saver-enabled", () => {
88
const toast = new Adw.Toast({

0 commit comments

Comments
 (0)