idk
This commit is contained in:
@@ -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")"
|
||||
|
||||
Reference in New Issue
Block a user