This commit is contained in:
lucy 2026-05-14 17:47:09 +02:00
commit a8405f77db
2 changed files with 17 additions and 0 deletions

15
modules/ipc/Ipc.qml Normal file
View file

@ -0,0 +1,15 @@
import Quickshell
import Quickshell.Hyprland
import Quickshell.Io
IpcHandler {
id: ipcHandler
target: "util"
function refreshWs() {
Hyprland.refreshWorkspaces();
}
function refreshMon() {
Hyprland.refreshMonitors();
Quickshell.reload(false)
}
}

View file

@ -1,7 +1,9 @@
//@ pragma UseQApplication //@ pragma UseQApplication
import Quickshell import Quickshell
import qs.modules.bar import qs.modules.bar
import qs.modules.ipc
ShellRoot { ShellRoot {
Bar {} Bar {}
Ipc {}
} }