Hyprland: Improve lockscreen

This commit is contained in:
Riyyi
2025-03-03 13:04:26 +01:00
parent ebc6245ea2
commit e1700384a8
3 changed files with 9 additions and 1 deletions
+5
View File
@@ -2,6 +2,11 @@
LOCK="$XDG_CACHE_HOME/lock.png"
if [ "$WM" = "hyprland" ]; then
hyprlock
exit 0
fi
# Cache the lock image
if [ ! -f "$LOCK" ]; then
touch "$LOCK"