This commit is contained in:
Wes
2026-09-09 14:12:20 -04:00
parent 30c109acae
commit e19ce9623c
3 changed files with 11 additions and 11 deletions

View File

@@ -2,7 +2,7 @@ micstat=$(pamixer --default-source --get-mute)
[[ $micstat = "false" ]] && micstat="✔️"
[[ $micstat = "true" ]] && micstat="🚫"
vol="$(pamixer --get-volume)%"
vol="$(pamixer --get-volume)"
if [ "$vol" -gt "70" ]; then
volicon="🔊"
@@ -45,4 +45,4 @@ case "$clock" in
"12") icon="🕛" ;;
esac
xsetroot -name " 🔆 $(brightnessctl get -P) \ $volicon$vol \ $micstat🎤 \ $(free --mega | sed -n '2{p;q}' | awk '{printf ("%2.2fGB/%2.2fGB\n", ( $3 / 1000), ($2 / 1000))}') \ $batmsg \ $(date '+%a %d %b %Y') $icon $(date +"%-I:%M %p")"
xsetroot -name " 🔆 $(brightnessctl | grep -oP '\(\K[0-9]+(?=%\))') \ $volicon$vol% \ $(free --mega | sed -n '2{p;q}' | awk '{printf ("%2.2fGB/%2.2fGB\n", ( $3 / 1000), ($2 / 1000))}') \ $batmsg \ $(date '+%a %d %b %Y') $icon $(date +"%-I:%M %p")"