idk
This commit is contained in:
@@ -3,7 +3,7 @@ while true; do
|
||||
[[ $micstat = "false" ]] && micstat="✔️"
|
||||
[[ $micstat = "true" ]] && micstat="🚫"
|
||||
|
||||
vol="$(pamixer --get-volume)%"
|
||||
vol="$(pamixer --get-volume)"
|
||||
|
||||
if [ "$vol" -gt "70" ]; then
|
||||
volicon="🔊"
|
||||
@@ -46,7 +46,7 @@ while true; do
|
||||
"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")"
|
||||
|
||||
sleep 1
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user