diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-05 15:31:02 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-05 15:33:30 +0100 |
commit | 44ea16b7be9f98e94526bf52403d75a8c3ef2b83 (patch) | |
tree | 13e14c9296dddafcfc1a3cda8ad581223f66fe73 /Scripts/.local/scripts/status/volume | |
parent | b51a3fbe7ac4d4de4466ccb15a7232380a6ca4ab (diff) | |
download | dotfiles-44ea16b7be9f98e94526bf52403d75a8c3ef2b83.tar.gz dotfiles-44ea16b7be9f98e94526bf52403d75a8c3ef2b83.tar.bz2 dotfiles-44ea16b7be9f98e94526bf52403d75a8c3ef2b83.zip |
Add brightness script for statusbar
Diffstat (limited to 'Scripts/.local/scripts/status/volume')
-rwxr-xr-x | Scripts/.local/scripts/status/volume | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Scripts/.local/scripts/status/volume b/Scripts/.local/scripts/status/volume index 948283c..70c8c5f 100755 --- a/Scripts/.local/scripts/status/volume +++ b/Scripts/.local/scripts/status/volume @@ -1,2 +1,8 @@ #!/usr/bin/env bash -echo " $(pamixer --get-volume-human)" + +if [[ $(pamixer --get-mute) == "true" ]] +then + echo "" +else + echo " $(pamixer --get-volume-human)" +fi |