screenshot to clipboard

This commit is contained in:
2025-05-14 12:37:45 +02:00
parent e65038e673
commit 8150ef0ea8

View File

@@ -242,10 +242,11 @@ bindsym Control+Mod1+s exec /home/wholteza/.config/passmenu/passmenu
bindsym $mod+Shift+p exec arandr bindsym $mod+Shift+p exec arandr
bindsym $mod+p exec /home/wholteza/.config/screenlayout/screenmenu.sh bindsym $mod+p exec /home/wholteza/.config/screenlayout/screenmenu.sh
bindsym --release Print exec grim -g "$(slurp -d)" "/home/wholteza/Pictures/$(date)_fullscreen.png" bindsym --release Print exec grim -g "$(slurp -d)" "/home/wholteza/Pictures/$(date)_fullscreen.png"
bindsym --release $mod+Shift+s exec grim -g "$(slurp -d)" "/home/wholteza/Pictures/$(date)_selection.png" bindsym --release $mod+Shift+s exec grim -g "$(slurp -d)" - | wl-copy -t image/png
bindsym --release $mod+Ctrl+s exec grim -g "$(slurp -d)" "/home/wholteza/Pictures/$(date)_selection.png"
bindsym --release Control+Mod1+i exec grim -g "$(slurp -d)" "/home/wholteza/Pictures/$(date)_selection.png" bindsym --release Control+Mod1+i exec grim -g "$(slurp -d)" "/home/wholteza/Pictures/$(date)_selection.png"
# border / titlebar
title_align center title_align center
default_border none default_border none