aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-02-20 16:41:31 -0300
committerEuAndreh <eu@euandre.org>2023-02-20 16:47:30 -0300
commit27cf72e2a8c3d74a0e9e2367710a1a06d57252b9 (patch)
treef2c70e26c479ce852b8de645499766537a01249a /etc
parentUse xss-lock, i3lock and xset to lock after 5 minutes on usurpador (diff)
downloaddotfiles-27cf72e2a8c3d74a0e9e2367710a1a06d57252b9.tar.gz
dotfiles-27cf72e2a8c3d74a0e9e2367710a1a06d57252b9.tar.xz
Use xss-lock, i3lock and loginctl to lock screen after 5 minutes in velhinho
Diffstat (limited to 'etc')
-rw-r--r--etc/i3/config11
1 files changed, 4 insertions, 7 deletions
diff --git a/etc/i3/config b/etc/i3/config
index 67dedc3..540d8e6 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