mirror of
https://github.com/Fluffy-Bean/dots.git
synced 2025-05-18 17:34:54 +00:00
Polybar Mic button and cleaning up code
This commit is contained in:
parent
3b2fca577a
commit
54b578567c
7 changed files with 44 additions and 9 deletions
9
polybar/scripts/mic.sh
Executable file
9
polybar/scripts/mic.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
value=$(amixer get Capture | grep '\[off\]')
|
||||
|
||||
if [ "$value" == "" ]; then
|
||||
echo " ";
|
||||
else
|
||||
echo "%{F#666} ";
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue