mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00: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:
parent
ff7aa46cda
commit
680378e68f
2 changed files with 10 additions and 2 deletions
|
|
@ -18,8 +18,8 @@ exec-once = easyeffects --gapplication-service
|
|||
|
||||
# Clipboard: history
|
||||
# exec-once = wl-paste --watch cliphist store &
|
||||
exec-once = wl-paste --type text --watch cliphist store
|
||||
exec-once = wl-paste --type image --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 bash -c 'cliphist store && qs -c ii ipc call cliphistService update'
|
||||
|
||||
# Cursor
|
||||
exec-once = hyprctl setcursor Bibata-Modern-Classic 24
|
||||
|
|
|
|||
|
|
@ -98,4 +98,12 @@ Singleton {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
target: "cliphistService"
|
||||
|
||||
function update(): void {
|
||||
root.refresh()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue