diff options
author | xengineering <me@xengineering.eu> | 2025-01-10 18:03:14 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2025-01-10 18:03:14 +0100 |
commit | f2b043c08ac4562652fded8ef6e50fdc25b7ccc0 (patch) | |
tree | 78b73d65389f40e1157969e4553047e3110b50f9 | |
parent | 1fab863f17c2d765902fa68e5a8e638e41973553 (diff) | |
download | dotfiles-f2b043c08ac4562652fded8ef6e50fdc25b7ccc0.tar dotfiles-f2b043c08ac4562652fded8ef6e50fdc25b7ccc0.tar.zst dotfiles-f2b043c08ac4562652fded8ef6e50fdc25b7ccc0.zip |
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.
-rwxr-xr-x | sway/status.sh | 2 |
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} |" |