diff --git a/config/dwm/config.def.h b/config/dwm/config.def.h index 07cb7787..2f9c5fb4 100644 --- a/config/dwm/config.def.h +++ b/config/dwm/config.def.h @@ -29,7 +29,6 @@ static const char *const autostart[] = { "picom", NULL, "keepassxc", NULL, "nm-applet", NULL, - "blueman-applet", NULL, NULL /* terminate */ }; diff --git a/config/dwmbar/bar.sh b/config/dwmbar/bar.sh index 7f1cb54b..3dbfd89c 100755 --- a/config/dwmbar/bar.sh +++ b/config/dwmbar/bar.sh @@ -3,8 +3,8 @@ blue=#0000ff battery() { - get_capacity="$(cat /sys/class/power_supply/BAT*/capacity)" - get_status="$(cat /sys/class/power_supply/BAT*/status)" + get_capacity="$(cat /sys/class/power_supply/BAT1/capacity)" + get_status="$(cat /sys/class/power_supply/BAT1/status)" case "$get_status" in Charging) printf "^c$blue^ 󰂄 $get_capacity" ;; Discharging) printf "^c$white^ ^b$blue 󰁹 $get_capacity"