herbstluftwm: add keybind for screenshot-to-clipboard

This commit is contained in:
Lucas Gabriel Vuotto 2025-10-25 13:51:18 +00:00
parent 942ee951de
commit 29c4e31e4e

View file

@ -44,6 +44,8 @@ hc keybind $Mod-Shift-z spawn sh -c 'xlock & doas /usr/sbin/zzz'
hc keybind $Mod-Control-z spawn sh -c 'xlock & doas /usr/sbin/ZZZ' hc keybind $Mod-Control-z spawn sh -c 'xlock & doas /usr/sbin/ZZZ'
hc keybind $Mod-Print spawn screenshot hc keybind $Mod-Print spawn screenshot
hc keybind $Mod-Shift-Print spawn screenshot -s hc keybind $Mod-Shift-Print spawn screenshot -s
hc keybind $Mod-Control-Print spawn sh -c \
'maim -s | xclip -sel clip -t image/png'
# basic movement # basic movement
# focusing clients # focusing clients