disinclined.org
/
git
/
powermate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
590b833
)
Fixed mixed up icons for volume-toggle
author
Dylan Lloyd
<dylan@dylansserver.com>
Tue, 13 Mar 2012 18:36:07 +0000
(14:36 -0400)
committer
Dylan Lloyd
<dylan@dylansserver.com>
Tue, 13 Mar 2012 18:36:07 +0000
(14:36 -0400)
scripts/volume-toggle
patch
|
blob
|
history
diff --git
a/scripts/volume-toggle
b/scripts/volume-toggle
index
407bf01
..
d64f389
100755
(executable)
--- a/
scripts/volume-toggle
+++ b/
scripts/volume-toggle
@@
-5,8
+5,8
@@
status=$(amixer get Master | tail -n1 | awk '{print $NF}')
status=$(echo "${status%]}")
status=$(echo "${status#[}")
if [ $status == "on" ]
- then notify-send -i /usr/share/icons/powermate/volume-on.png " "
-elif [ $status == "off" ]
then notify-send -i /usr/share/icons/powermate/volume-mute.png " "
+elif [ $status == "off" ]
+ then notify-send -i /usr/share/icons/powermate/volume-on.png " "
fi
amixer set Master toggle