summaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-01-10 18:03:14 +0100
committerxengineering <me@xengineering.eu>2025-01-10 18:03:14 +0100
commitf2b043c08ac4562652fded8ef6e50fdc25b7ccc0 (patch)
tree78b73d65389f40e1157969e4553047e3110b50f9 /sway
parent1fab863f17c2d765902fa68e5a8e638e41973553 (diff)
downloaddotfiles-f2b043c08ac4562652fded8ef6e50fdc25b7ccc0.tar
dotfiles-f2b043c08ac4562652fded8ef6e50fdc25b7ccc0.tar.zst
dotfiles-f2b043c08ac4562652fded8ef6e50fdc25b7ccc0.zip
sway: Use ISO week numberHEADmain
There are several week number definitions (see `man 1 date`). Switching to a more common one with this commit since it is very unexpected that it starts with calendar week 0 in 2025.
Diffstat (limited to 'sway')
-rwxr-xr-xsway/status.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/status.sh b/sway/status.sh
index 6bbbd63..eb68f81 100755
--- a/sway/status.sh
+++ b/sway/status.sh
@@ -9,7 +9,7 @@ temp() {
done
}
bat="BAT $(cat /sys/class/power_supply/BAT*/capacity | tr '\n' ' ')"
-time="$(date '+KW %W %a %Y-%m-%d %H:%M')"
+time="$(date '+KW %V %a %Y-%m-%d %H:%M')"
echo "| $(temp)| ${bat}| ${time} |"