summaryrefslogtreecommitdiff
path: root/cfg/i3/kurobar.sh
diff options
context:
space:
mode:
authorjstmax! <87650746+jstmaxlol@users.noreply.github.com>2025-10-25 23:59:03 +0200
committerjstmax! <87650746+jstmaxlol@users.noreply.github.com>2025-10-25 23:59:03 +0200
commitaf9aa365e5ad48a9a0da5a82713821fd076e7dc5 (patch)
tree7c37830a55d115398d2e450fe902034ae2a9b771 /cfg/i3/kurobar.sh
parentfd6e597278078a81bf20d4cb2270b85c0391c0eb (diff)
updated i3 cfgs
Diffstat (limited to 'cfg/i3/kurobar.sh')
-rw-r--r--cfg/i3/kurobar.sh7
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
+