From c2de0fbd3042a8eca681bd82b0341d13946d6a39 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 7 Aug 2023 17:10:26 +0300 Subject: [PATCH] fix bar --- config/dwm/scripts/bar.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config/dwm/scripts/bar.sh b/config/dwm/scripts/bar.sh index 192fe063..97badf81 100755 --- a/config/dwm/scripts/bar.sh +++ b/config/dwm/scripts/bar.sh @@ -15,8 +15,6 @@ cpu() { printf "^c$white^ ^b$grey^ $cpu_val" } -alias notify-send="sudo -u sako DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus notify-send" - battery() { get_capacity="$(cat /sys/class/power_supply/BAT1/capacity)" get_status="$(cat /sys/class/power_supply/BAT1/status)" @@ -25,7 +23,7 @@ battery() { Discharging) if (( $get_capacity <= 20)); then printf "^c$lightred^ 󰂃 $get_capacity" else - printf "^c$blue^ 󰁹 $get_capacity" + printf "^c$white^ 󰁹 $get_capacity" fi ;; esac #printf "^c$blue^  $get_capacity" @@ -36,7 +34,7 @@ audio() { if [ $get_vol = 'muted' ]; then printf "^c$white^  Muted" else - printf "^c$blue^  $get_vol" + printf "^c$white^  $get_vol" fi #printf "^c$blue^ 󰕾 $get_vol" }