summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradamstuck <adam.moloney.stuck@gmail.com>2022-04-24 15:16:09 +0200
committeradamstuck <adam.moloney.stuck@gmail.com>2022-04-24 15:16:30 +0200
commit0d3659c6d19898e0b2e6fe4c1835d3748bc3af0e (patch)
tree0f7ed98302240afb2265e080a062fba9b552be71
parent78dbfa2a10344ad979b07f52f0b0f5fce7a6b496 (diff)
i3: use betterlockscreen as screensaver
-rw-r--r--.config/betterlockscreenrc2
-rw-r--r--.config/i3/config1
2 files changed, 2 insertions, 1 deletions
diff --git a/.config/betterlockscreenrc b/.config/betterlockscreenrc
index e052e64..4018ecd 100644
--- a/.config/betterlockscreenrc
+++ b/.config/betterlockscreenrc
@@ -3,7 +3,7 @@
# default options
display_on=0
span_image=false
-lock_timeout=300
+lock_timeout=10
fx_list=(dim blur dimblur pixel dimpixel color)
dim_level=40
blur_level=1
diff --git a/.config/i3/config b/.config/i3/config
index 3082601..d1c9244 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -187,4 +187,5 @@ for_window [title="^Steam Keyboard$"] floating enable
exec --no-startup-id /usr/bin/unclutter -b
exec --no-startup-id $HOME/.config/polybar/launch
exec --no-startup-id picom --config $HOME/.config/picom/picom.conf -b
+exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer 300 "betterlockscreen -l" "" --timer 300 "systemctl suspend" ""
exec --no-startup-id nextcloud --background