From 27cf72e2a8c3d74a0e9e2367710a1a06d57252b9 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 20 Feb 2023 16:41:31 -0300 Subject: Use xss-lock, i3lock and loginctl to lock screen after 5 minutes in velhinho --- etc/i3/config | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'etc/i3/config') diff --git a/etc/i3/config b/etc/i3/config index 67dedc37..540d8e6f 100644 --- a/etc/i3/config +++ b/etc/i3/config @@ -1,13 +1,9 @@ set $mod Mod4 - -# 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 xss-lock --transfer-sleep-lock -- i3lock --nofork - font pango:monospace 8 +exec xss-lock i3lock exec nm-applet exec blueman-applet @@ -36,8 +32,9 @@ bindsym --release $mod+Print exec shot -m # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod -bindsym $mod+Return exec st -bindsym $mod+Shift+c kill +bindsym $mod+Return exec st +bindsym $mod+Control+l exec loginctl lock-session +bindsym $mod+Shift+c kill -- cgit v1.3