Rename clipboard script

This commit is contained in:
Aleksey Samoilov 2023-11-25 18:24:56 +04:00
parent 7502333e4e
commit 7b4dc9607b
2 changed files with 2 additions and 2 deletions

View file

@ -88,8 +88,8 @@
"format": "",
"interval": "once",
"return-type": "json",
"on-click": "/usr/share/river/scripts/clipboard-manager.sh --list; pkill -RTMIN+9 waybar",
"on-click-right": "/usr/share/river/scripts/clipboard-manager.sh --del; pkill -RTMIN+9 waybar",
"on-click": "/usr/share/river/scripts/clipboard.sh --list; pkill -RTMIN+9 waybar",
"on-click-right": "/usr/share/river/scripts/clipboard.sh --del; pkill -RTMIN+9 waybar",
"on-click-middle": "rm -f ~/.cache/cliphist/db; pkill -RTMIN+9 waybar",
"exec": "printf '{\"tooltip\":\"%s\"}' $(cliphist list | wc -l)' item(s) in the clipboard\r(Mid click to clear)'",
"exec-if": "[ -x \"$(command -v cliphist)\" ] && [ $(cliphist list | wc -l) -gt 0 ]",