This commit is contained in:
Sakooooo 2023-09-12 10:06:53 +04:00
parent 99e7ace4a8
commit 42dfbda956
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 2 additions and 3 deletions

View file

@ -29,7 +29,6 @@ static const char *const autostart[] = {
"picom", NULL, "picom", NULL,
"keepassxc", NULL, "keepassxc", NULL,
"nm-applet", NULL, "nm-applet", NULL,
"blueman-applet", NULL,
NULL /* terminate */ NULL /* terminate */
}; };

View file

@ -3,8 +3,8 @@
blue=#0000ff blue=#0000ff
battery() { battery() {
get_capacity="$(cat /sys/class/power_supply/BAT*/capacity)" get_capacity="$(cat /sys/class/power_supply/BAT1/capacity)"
get_status="$(cat /sys/class/power_supply/BAT*/status)" get_status="$(cat /sys/class/power_supply/BAT1/status)"
case "$get_status" in case "$get_status" in
Charging) printf "^c$blue^ 󰂄 $get_capacity" ;; Charging) printf "^c$blue^ 󰂄 $get_capacity" ;;
Discharging) printf "^c$white^ ^b$blue 󰁹 $get_capacity" Discharging) printf "^c$white^ ^b$blue 󰁹 $get_capacity"