Improve hyprlock stuff
This commit is contained in:
parent
9656840792
commit
c4c5502f19
home
@ -1,14 +1,14 @@
|
|||||||
general {
|
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
|
# 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
|
# 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)
|
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 240 # in seconds
|
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.
|
# 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
|
||||||
background {
|
background {
|
||||||
monitor =
|
monitor =
|
||||||
path = /tmp/lock.png
|
path = /tmp/lockscreen/eDP-1.png
|
||||||
blur_passes = 3
|
blur_passes = 3
|
||||||
contrast = 0.8916
|
contrast = 0.8916
|
||||||
brightness = 0.8172
|
brightness = 0.8172
|
||||||
|
@ -17,7 +17,7 @@ if [ "$#" -eq 1 ]; then
|
|||||||
echo "$wallpaper_path is an invalid wallpaper"
|
echo "$wallpaper_path is an invalid wallpaper"
|
||||||
fi
|
fi
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user