mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
clipboard history: make updates happen immediately after change
Updates previously wouldn't trigger immediately because no focus = no clipboard grab https://quickshell.org/docs/v0.2.0/types/Quickshell/Quickshell/#clipboardText
This commit is contained in:
@@ -18,8 +18,8 @@ exec-once = easyeffects --gapplication-service
|
|||||||
|
|
||||||
# Clipboard: history
|
# Clipboard: history
|
||||||
# exec-once = wl-paste --watch cliphist store &
|
# exec-once = wl-paste --watch cliphist store &
|
||||||
exec-once = wl-paste --type text --watch cliphist store
|
exec-once = wl-paste --type text --watch bash -c 'cliphist store && qs -c ii ipc call cliphistService update'
|
||||||
exec-once = wl-paste --type image --watch cliphist store
|
exec-once = wl-paste --type image --watch bash -c 'cliphist store && qs -c ii ipc call cliphistService update'
|
||||||
|
|
||||||
# Cursor
|
# Cursor
|
||||||
exec-once = hyprctl setcursor Bibata-Modern-Classic 24
|
exec-once = hyprctl setcursor Bibata-Modern-Classic 24
|
||||||
|
|||||||
@@ -98,4 +98,12 @@ Singleton {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
IpcHandler {
|
||||||
|
target: "cliphistService"
|
||||||
|
|
||||||
|
function update(): void {
|
||||||
|
root.refresh()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user