added shortcuts for screenshots (with maim & xclip) to i3 config

This commit is contained in:
quak
2024-09-20 00:08:20 +02:00
parent 8da19e6a2d
commit 0b6d66d987

View File

@@ -73,6 +73,10 @@ bindsym $mod+Shift+q kill
bindsym $mod+d exec --no-startup-id rofi -show combi
bindsym $mod+Shift+d exec --no-startup-id rofi -show window
# take screenshots
bindsym $mod+s exec --no-startup-id maim -su | xclip -selection clipboard -t image/png
bindsym $mod+Shift+s exec --no-startup-id maim -su "/home/quak/Pictures/screenshots/$(date '+%Y%m%d_%H%M%S').png"
# A more modern dmenu replacement is rofi:
# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
# There also is i3-dmenu-desktop which only displays applications shipping a