clipboard history: also type directly

This commit is contained in:
end-4
2025-05-16 23:14:08 +02:00
parent 502c50f155
commit 97442f3c11
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# This file sources other files in `hyprland` and `custom` folders
# You wanna add your stuff in file in `custom`
# You wanna add your stuff in files in `custom`
exec = hyprctl dispatch submap global # DO NOT REMOVE THIS OR YOU WON'T BE ABLE TO USE ANY KEYBIND
submap = global # This is required for catchall to work
+2 -2
View File
@@ -46,8 +46,8 @@ bindd = Ctrl+Shift+Alt+Super, Delete, Shutdown, exec, systemctl poweroff || logi
##! Utilities
# Screenshot, Record, OCR, Color picker, Clipboard history
bindd = Super, V, Copy clipboard history entry, exec, pkill fuzzel || cliphist list | fuzzel --match-mode fzf --dmenu | cliphist decode | wl-copy # Clipboard history >> clipboard
bindd = Super, Period, Copy an emoji, exec, pkill fuzzel || ~/.local/bin/fuzzel-emoji # Pick emoji >> clipboard
bindd = Super, V, Copy clipboard history entry, exec, pkill fuzzel && exit || entry="$(cliphist list | fuzzel --match-mode fzf --dmenu | cliphist decode)"; [ -n "$entry" ] && wl-copy -- "$entry" && wtype -- "${entry//$'\n'/ }" # Clipboard history
bindd = Super, Period, Copy an emoji, exec, pkill fuzzel || ~/.local/bin/fuzzel-emoji # Emoji
bindd = Super+Shift, S, Screen snip, exec, grimblast --freeze copy area # Screen snip >> clipboard
bindd = Super+Shift+Alt, S, Screen snip and annotate, exec, grim -g "$(slurp)" - | swappy -f - # Screen snip and annotate
# OCR