i3: Add screenshot config

This commit is contained in:
2021-02-09 20:45:51 +01:00
parent 1cb92ad7b9
commit 5f3c8b43db

View File

@@ -93,6 +93,8 @@
set $kill Shift+Q set $kill Shift+Q
set $screenshot p
################################################################################ ################################################################################
### WORKSPACE ASSIGNMENTS ###################################################### ### WORKSPACE ASSIGNMENTS ######################################################
@@ -220,6 +222,9 @@ assign [class="^Wine$"] $workspace10
bindsym $mod+F4 exec --no-startup-id ~/.i3/scripts/i3exit suspend bindsym $mod+F4 exec --no-startup-id ~/.i3/scripts/i3exit suspend
bindsym $mod+Home exec --no-startup-id ~/.i3/scripts/shutdown-menu bindsym $mod+Home exec --no-startup-id ~/.i3/scripts/shutdown-menu
bindsym $mod+$screenshot exec --no-startup-id sh -c 'maim | xclip -selection clipboard -t image/png'
bindsym $mod+Shift+$screenshot exec --no-startup-id sh -c 'maim --select | xclip -selection clipboard -t image/png'
bindsym $mod+Shift+v exec --no-startup-id redshift-toggle bindsym $mod+Shift+v exec --no-startup-id redshift-toggle
bindsym $mod+Shift+$scratchpad move scratchpad bindsym $mod+Shift+$scratchpad move scratchpad