Improve hyprlock stuff
This commit is contained in:
parent
9656840792
commit
c4c5502f19
@ -1,14 +1,14 @@
|
||||
general {
|
||||
lock_cmd = hyprlock # dbus/sysd lock command (loginctl lock-session)
|
||||
lock_cmd = lockhelper # dbus/sysd lock command (loginctl lock-session)
|
||||
# unlock_cmd = notify-send "unlock!" # same as above, but unlock
|
||||
before_sleep_cmd = hyprlock # command ran before sleep
|
||||
before_sleep_cmd = lockhelper # command ran before sleep
|
||||
# after_sleep_cmd = # command ran after sleep
|
||||
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 240 # in seconds
|
||||
on-timeout = hyprlock # command to run when timeout has passed
|
||||
on-timeout = lockhelper # command to run when timeout has passed
|
||||
# on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@ source = ~/.cache/wal/colors-hyprland.conf
|
||||
# BACKGROUND
|
||||
background {
|
||||
monitor =
|
||||
path = /tmp/lock.png
|
||||
path = /tmp/lockscreen/eDP-1.png
|
||||
blur_passes = 3
|
||||
contrast = 0.8916
|
||||
brightness = 0.8172
|
||||
|
@ -17,7 +17,7 @@ if [ "$#" -eq 1 ]; then
|
||||
echo "$wallpaper_path is an invalid wallpaper"
|
||||
fi
|
||||
else
|
||||
wallpaper_path=$(find "$WALLPAPER_DIR" -mindepth 1 | grep png| sort -R | tail -n 1)
|
||||
wallpaper_path=$(find "$WALLPAPER_DIR" -mindepth 1 | grep png| grep -v current| sort -R | tail -n 1)
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user