From 78c7fe2fcbd99443ece1c4853833532980fa6b14 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sun, 16 Feb 2025 16:27:46 +0000 Subject: Manual DPMS --- i3/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3/config b/i3/config index d927495..993d1b6 100644 --- a/i3/config +++ b/i3/config @@ -152,8 +152,8 @@ bindsym $mod+Shift+c reload 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 "loginctl lock-session" +# lock i3, suspend the screen +bindsym $mod+Shift+x exec --no-startup-id loginctl lock-session && sleep 1 && xset dpms force off # suspend bindsym $mod+Shift+s exec "systemctl suspend" -- cgit v1.2.3