aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2024-02-08 21:57:55 +0000
committerJustine Smithies <justine@smithies.me.uk>2024-02-08 21:57:55 +0000
commit2d7e62e57c014c5bee3978713d481ae0b9f1f16d (patch)
tree420f2e2d90ab708a52675001315ef72efedb8a33
parent0fa25bd4fe8e35245356d73e0112e27ee0394fef (diff)
Set date in correct format for lock screen
-rwxr-xr-x.local/bin/powermenu5
1 files changed, 1 insertions, 4 deletions
diff --git a/.local/bin/powermenu b/.local/bin/powermenu
index 0d18e38..b992e87 100755
--- a/.local/bin/powermenu
+++ b/.local/bin/powermenu
@@ -1,7 +1,4 @@
#!/bin/bash
-# lock="swaylock -f -i ~/.cache/wallpaper"
-
-lock="swaylock -f -i ~/.cache/wallpaper --effect-blur 10x5 --clock --indicator"
#### Options ###
power_off=" Shutdown"
@@ -18,7 +15,7 @@ rofi_command="fuzzel -d -w 14 -l $((lines+1))"
chosen="$(echo -e "$options" | $rofi_command )"
case $chosen in
"$lock_screen")
- $lock
+ swaylock -f -i ~/.cache/wallpaper --effect-blur 10x5 --clock --indicator --datestr "%a %d %b %Y"
;;
"$power_off")
systemctl poweroff