summaryrefslogtreecommitdiff
path: root/.config/i3/config
diff options
context:
space:
mode:
authoradamstuck <adam.moloney.stuck@gmail.com>2021-12-02 18:37:46 +0100
committeradamstuck <adam.moloney.stuck@gmail.com>2021-12-02 18:37:46 +0100
commit75fa432a58cb228b4fdefc309cc015b7329c7e1a (patch)
treec188fa6f19f0254e2caff44b4fd487ecbfbe20f8 /.config/i3/config
parentfd62a841dbc387a8c51f49ef14e5d37ff4126700 (diff)
Lock now turns off screen instead of suspend
Diffstat (limited to '.config/i3/config')
-rw-r--r--.config/i3/config3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 3f94812..b902e40 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -8,7 +8,7 @@ bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec --no-startup-id "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
bindsym $mod+Shift+q kill
-bindsym $mod+Escape exec --no-startup-id systemctl suspend
+bindsym $mod+Escape exec --no-startup-id "betterlockscreen -l"
bindsym $mod+Return exec --no-startup-id alacritty
bindsym $mod+b exec --no-startup-id firefox
bindsym $mod+e exec --no-startup-id pcmanfm
@@ -170,3 +170,4 @@ exec_always --no-startup-id /usr/bin/unclutter -b
exec_always --no-startup-id $HOME/.config/polybar/launch
exec_always --no-startup-id picom --experimental-backends --config ~/.config/picom/picom.conf -b
exec_always --no-startup-id setxkbmap -option grp:win_space_toggle us,dk
+exec --no-startup-id $XDG_CONFIG_HOME/i3/extra/lidlock &