From 203d8a1ef4326436e4c382b309bd3a4a16fc1673 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 26 Jul 2026 17:04:18 -0700 Subject: [PATCH] Trying to figure out why screen locking is no longer working. Add sudo to the shutdown call. --- files/settings/i3.config | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/files/settings/i3.config b/files/settings/i3.config index 3c23906..11ba866 100644 --- a/files/settings/i3.config +++ b/files/settings/i3.config @@ -132,9 +132,6 @@ bindsym $mod+m exec thunar #bindsym $mod+i exec firefox bindsym $mod+i exec firefox-flatpak -# Lock -bindsym $ctrl+$alt+l exec --no-startup-id i3lock -c 000000 -e -f && sleep 1 && xset dpms force off - # Code. bindsym $mod+c exec codium-flatpak @@ -268,9 +265,13 @@ bindsym $mod+Shift+r restart 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'" bindsym $mod+Shift+q exit -# Shutdown entire system. +# lock +bindsym $ctrl+$alt+l exec "i3lock -c 000000 -e -f && sleep 1 && xset dpms force off" + +# shutdown entire system. #bindsym $ctrl+$shift+q exec dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop -bindsym $ctrl+$shift+q exec shutdown -h now +bindsym $ctrl+$shift+q exec sudo shutdown -h now + ## Resizing (Disabled) ##