From af9aa365e5ad48a9a0da5a82713821fd076e7dc5 Mon Sep 17 00:00:00 2001 From: jstmax! <87650746+jstmaxlol@users.noreply.github.com> Date: Sat, 25 Oct 2025 23:59:03 +0200 Subject: updated i3 cfgs --- cfg/i3/kurobar.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cfg/i3/kurobar.sh') 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 + -- cgit v1.3.1