diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 5f75c7c..3ef33b2 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -177,11 +177,11 @@ font pango:DejaVu Sans Mono 8 bindsym $mod+r mode "resize" - # lock and turn off the screen with mod+x, and lock+sleep computer with mod+shift+x + # lock and turn off the screen with mod+x, and lock+suspend computer with mod+shift+x set $lock_command i3lock set $lock_command_nof i3lock -n #versuon of $lock_command that does not fork. bindsym $mod+x exec --no-startup-id "~/dotfiles/scripts/screen_off $lock_command_nof" - bindsym $mod+shift+x exec --no-startup-id "$lock_command"; exec "systemctl suspend" + bindsym $mod+shift+x exec --no-startup-id "$lock_command"; exec --no-startup-id "systemctl suspend" # disable screen going to sleep with mod+c, enable screen going to sleep with mod+shift+c bindsym $mod+c exec --no-startup-id "xset s off -dpms; notify-send 'screen blanking off'"