aboutsummaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-10-29 15:19:15 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-10-29 15:19:15 +0000
commit4f8ef7d19e05ff0272a67008e61aad8ec1012103 (patch)
tree530ba3ae33499727fb1a9164deec2bff0450f0e5 /i3
parent99ef046cbd4894c34bbc3ab84cc6b9c2708a82ff (diff)
downloaddotnvim-4f8ef7d19e05ff0272a67008e61aad8ec1012103.tar.gz
dotnvim-4f8ef7d19e05ff0272a67008e61aad8ec1012103.zip
Better
Diffstat (limited to 'i3')
-rw-r--r--i3/config4
1 files changed, 2 insertions, 2 deletions
diff --git a/i3/config b/i3/config
index 73d6cf0..8ceb7cb 100644
--- a/i3/config
+++ b/i3/config
@@ -15,7 +15,7 @@ exec_always --no-startup-id ~/.config/i3/set-keyboard
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
-exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
+exec --no-startup-id xss-lock -n /usr/share/doc/xss-lock/dim-screen.sh --transfer-sleep-lock -- i3lock --nofork
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
@@ -153,7 +153,7 @@ bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "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'"
# lock i3
-bindsym $mod+Shift+x exec --no-startup-id i3lock
+bindsym $mod+Shift+x exec --no-startup-id "loginctl lock-session"
# suspend
bindsym $mod+Shift+s exec "systemctl suspend"