diff options
| author | jstmax! <87650746+jstmaxlol@users.noreply.github.com> | 2025-10-25 23:59:03 +0200 |
|---|---|---|
| committer | jstmax! <87650746+jstmaxlol@users.noreply.github.com> | 2025-10-25 23:59:03 +0200 |
| commit | af9aa365e5ad48a9a0da5a82713821fd076e7dc5 (patch) | |
| tree | 7c37830a55d115398d2e450fe902034ae2a9b771 /cfg/i3/kurobar.sh | |
| parent | fd6e597278078a81bf20d4cb2270b85c0391c0eb (diff) | |
updated i3 cfgs
Diffstat (limited to 'cfg/i3/kurobar.sh')
| -rw-r--r-- | cfg/i3/kurobar.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cfg/i3/kurobar.sh b/cfg/i3/kurobar.sh index ac1172d..b8b18a5 100644 --- a/cfg/i3/kurobar.sh +++ b/cfg/i3/kurobar.sh @@ -1,8 +1,8 @@ #!/bin/bash while true; do - # --- volume percentage --- - volume=$(pamixer --get-volume) + # --- volume percentage --- + volume=$(pamixer --get-volume) # --- battery percentage --- if [ -d /sys/class/power_supply/BAT0 ]; then @@ -27,10 +27,11 @@ while true; do #cpu=$((100 * ( (cpu_total2 - cpu_total1) - (cpu_idle2 - cpu_idle1) ) / (cpu_total2 - cpu_total1) )) # --- date/time --- - dt=$(date '+%Y-%m-%d %H:%M:%S') + dt=$(date '+%Y年%m月%d日 %H時%M分%S秒') # --- print bar line --- echo "V.$volume% | B.$bat% | $mem_used/$mem_total GB | L.$bright | $dt" sleep 0.01 done + |