Base scripts for Artix and startx config.
This commit is contained in:
1 parent
9d2999d5c0
commit
459bfff2ca
8 files changed
+218
No files matched your search
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
raw_volume="$(wpctl get-volume @DEFAULT_AUDIO_SINK@)"
|
||||
volume="$(echo $raw_volume | awk '{print $2 * 100}')"
|
||||
|
||||
echo $raw_volume | grep -q 'MUTED' &&
|
||||
printf "Vol:%s%%" "$volume" ||
|
||||
printf "Vol:[%s%%]" "$volume"
|
||||
Reference in new issue
Block a user