minor changes to status

This commit is contained in:
randomuser 2023-01-03 23:49:10 -06:00
parent 4fb280225e
commit 1d767b3377
1 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,6 @@ power_prefix="/sys/class/power_supply/"
[ "$(pgrep -c pulseaudio)" -eq 1 ] && ss="pulse" || ss="alsa"
mod_bspwm () {
set -x
used_desk=$(bspc query -D -d .occupied --names | tr '\n' ' ')
current_desk=$(bspc query -D -d .focused --names)
final_string=""
@ -38,7 +37,7 @@ mod_sensors () {
mod_power () {
[ -z "$bat" ] ||
tr -d '\n' < /sys/class/power_supply/$bat/capacity
sed 's/Charging/↑/g;s/Discharging/↓/g;s/Full/-/g' < /sys/class/power_supply/$bat/status
sed 's/Charging/↑/g;s/Not charging/-/g;s/Discharging/↓/g;s/Full/-/g' < /sys/class/power_supply/$bat/status
}
mod_vol () {