diff options
Diffstat (limited to 'hyprlock/hyprlock.conf')
| -rw-r--r-- | hyprlock/hyprlock.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hyprlock/hyprlock.conf b/hyprlock/hyprlock.conf index 86db17c..2ce2125 100644 --- a/hyprlock/hyprlock.conf +++ b/hyprlock/hyprlock.conf @@ -19,7 +19,7 @@ general { # GREETINGS label { monitor = - text = cmd[update:1000] $(date +%H); if ((h<12)); then echo "Good morning!"; elif ((h<17)); then echo "Good afternoon!"; else echo "Good evening!"; fi + text = cmd[update:1000] sh -c 'h=$(date +%H); if [ "$h" -ge 22 ] || [ "$h" -lt 5 ]; then echo "Good night!"; elif [ "$h" -lt 12 ]; then echo "Good morning!"; elif [ "$h" -lt 17 ]; then echo "Good afternoon!"; else echo "Good evening!"; fi' color = rgba(216, 222, 233, .75) font_size = 55 font_family = SF Pro Display Bold |
