(i3) add shortcut to take screenshots

This commit is contained in:
jc 2024-10-06 18:31:50 -04:00
commit c3e0c0789f

View file

@ -170,6 +170,9 @@ bindsym $mod+Shift+8 move container to workspace number $ws8
bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+Shift+0 move container to workspace number $ws10
# take screenshots
bindsym $mod+Shift+s exec --no-startup-id maim -s | tee ~/Pictures/screenshot_$(date +%Y-%m-%d_%H-%M-%S).png | xclip -selection clipboard -t image/png
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)