From 8d3a4ff778c46878801a4a456451dc31d3956dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Tue, 9 Feb 2021 20:45:51 +0100 Subject: [PATCH] i3: Add screenshot config --- i3/config.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/i3/config.j2 b/i3/config.j2 index 8c57ec6..4ff89e9 100644 --- a/i3/config.j2 +++ b/i3/config.j2 @@ -93,6 +93,8 @@ set $kill Shift+Q + set $screenshot p + ################################################################################ ### WORKSPACE ASSIGNMENTS ###################################################### @@ -220,6 +222,9 @@ assign [class="^Wine$"] $workspace10 bindsym $mod+F4 exec --no-startup-id ~/.i3/scripts/i3exit suspend 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+$scratchpad move scratchpad