From 34da911ccf9304f1c7bbca18fdbe90efa526001f Mon Sep 17 00:00:00 2001 From: eneller Date: Thu, 29 Jun 2023 14:33:08 +0200 Subject: [PATCH] fix: i3 screenshot bind --- .config/i3/config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 4041090..749ceee 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -16,7 +16,8 @@ default_floating_border pixel 1 # set modifier key, Mod4 is super (windows), Mod1 = Alt key set $mod Mod4 bindsym $mod+F12 restart;reload -bindsym $mod+Escape exec i3lock -c 000000 & sleep 2 && xset dpms force off +bindsym $mod+Escape exec i3lock -c 000000 & sleep 2 && systemctl suspend +bindsym $mod+Shift+Escape exec i3lock -c 000000 & sleep 2 && xset dpms force off # Use Mouse+$mod to drag floating windows to their wanted position @@ -124,7 +125,7 @@ bindsym $mod+e exec --no-startup-id $EXPLORER bindsym $mod+m exec --no-startup-id $MAILCLIENT # TODO add import path/to/img.png to make a screenshot bindsym --release $mod+s exec "import ~/Pictures/screenshots/$(date '+%y_%m_%d-%H_%M_%S').png" -#bindsym $mod+Shift+s exec "import -window root ~/Pictures/screenshots/$(date 'import ~/Pictures/screenshots/$(date '+%y_%m_%d-%H_%M_%S').png" +bindsym $mod+Shift+s exec "import -window root ~/Pictures/screenshots/$(date '+%y_%m_%d-%H_%M_%S').png" # i3lock for locking, i3-msg exit for logout # Show selection: #bindsym $mod+Insert exec --no-startup-id showclip