From 6578d1f4f7bddbc7e8fd208e45bc092d3a82c10e Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Thu, 3 Aug 2023 20:14:03 +0300 Subject: [PATCH] i try a quick change --- config/dwm/scripts/bar.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/dwm/scripts/bar.sh b/config/dwm/scripts/bar.sh index 908436d6..71ddaa4d 100755 --- a/config/dwm/scripts/bar.sh +++ b/config/dwm/scripts/bar.sh @@ -11,7 +11,7 @@ interval=0 cpu() { cpu_val=$(grep -o "^[^ ]*" /proc/loadavg) - printf "^c$black^ ^b$green^ CPU" + printf "^c$black^ ^b$red^ CPU" printf "^c$white^ ^b$grey^ $cpu_val" } @@ -32,8 +32,8 @@ mem() { wlan() { case "$(cat /sys/class/net/wl*/operstate 2>/dev/null)" in - up) printf "^c$black^ ^b$blue^ 󰤨 ^d^%s" " ^c$blue^Connected" ;; - down) printf "^c$black^ ^b$blue^ 󰤭 ^d^%s" " ^c$blue^Disconnected" ;; + up) printf "^c$black^ ^b$blue^ 󰤨 ^d^%s" " ^c$blue^Connected" ;; + down) printf "^c$black^ ^b$blue^ 󰤭 ^d^%s" " ^c$blue^Disconnected" ;; esac } @@ -47,5 +47,5 @@ while true; do [ $interval = 0 ] || [ $(($interval % 3600)) = 0 ] interval=$((interval + 1)) - sleep 1 && xsetroot -name "$(battery) $(brightness) $(cpu) $(mem) $(wlan) $(clock)" + sleep 1 && xsetroot -name "$(battery) $(brightness) $(cpu) $(mem) $(clock)" done