From 29c4e31e4eeb168b73307c9abba76696087e7779 Mon Sep 17 00:00:00 2001 From: Lucas Gabriel Vuotto Date: Sat, 25 Oct 2025 13:51:18 +0000 Subject: [PATCH] herbstluftwm: add keybind for screenshot-to-clipboard --- xdg-config-dir/herbstluftwm/autostart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xdg-config-dir/herbstluftwm/autostart b/xdg-config-dir/herbstluftwm/autostart index 7e7852a..f51756a 100755 --- a/xdg-config-dir/herbstluftwm/autostart +++ b/xdg-config-dir/herbstluftwm/autostart @@ -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-Print spawn screenshot 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 # focusing clients