aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorRaul Benencia <raul@thousandeyes.com>2020-01-15 16:53:58 -0800
committerRaul Benencia <raul@thousandeyes.com>2020-01-15 16:53:58 -0800
commit060e24730bd44c4a1b309b65d05def060a809399 (patch)
tree44435f8eed10791b3361fe356881fbe50778ea4f /.config
parent97175ab85c4760c5179fa8c7f78234a1f07d696a (diff)
gnome-screensaver for locking
Diffstat (limited to '.config')
-rw-r--r--.config/i3/config7
1 files changed, 4 insertions, 3 deletions
diff --git a/.config/i3/config b/.config/i3/config
index a2c6a2b..96f0ce8 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -1,4 +1,4 @@
-# Debian packages: redshift-gtk dunst compton network-manager-gnome nitrogen xautolock py3status
+# Debian packages: redshift-gtk dunst compton network-manager-gnome nitrogen xautolock py3status gnome-screensaver
set $mod Mod4
@@ -43,7 +43,7 @@ bindsym $mod+Shift+c kill
# start dmenu (a program launcher)
bindsym $mod+Shift+d exec dmenu_run
bindsym $mod+d exec rofi -lines 12 -padding 18 -width 60 -location 0 -show drun -sidebar-mode -columns 3 -font 'Noto Sans 12'
-bindsym Control+Mod1+l exec i3lock-wrapper
+bindsym Control+Mod1+l exec gnome-screensaver-command --lock
# change focus
bindsym $mod+h focus left
@@ -204,8 +204,9 @@ bar {
}
}
-exec --no-startup-id xss-lock -l i3lock-wrapper &
exec --no-startup-id compton -b
exec --no-startup-id touchpad-enable-tap
exec --no-startup-id nitrogen --restore
exec --no-startup-id nm-applet &
+exec --no-startup-id gnome-screensaver
+exec --no-startup-id xautolock -time 10 -locker 'gnome-screensaver-command -l'
nihil fit ex nihilo