add ipc
This commit is contained in:
parent
aa003dfe9a
commit
a8405f77db
2 changed files with 17 additions and 0 deletions
15
modules/ipc/Ipc.qml
Normal file
15
modules/ipc/Ipc.qml
Normal 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)
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue