summaryrefslogtreecommitdiffstats
path: root/bspwm/.local/bin/spk-icon
diff options
context:
space:
mode:
authorAmin Bandali <me@aminb.org>2015-02-28 16:34:05 -0500
committerAmin Bandali <me@aminb.org>2015-02-28 16:34:05 -0500
commit5c899f1fe5ad5b0197cc4fd9cd7f5c6139eff122 (patch)
tree35af515d5479d6b3871c32d5147fb5aea7bd93e2 /bspwm/.local/bin/spk-icon
parent6a51aabafd14ce7f1aa916826a06cbe1dec6956a (diff)
downloadconfigs-5c899f1fe5ad5b0197cc4fd9cd7f5c6139eff122.tar.gz
configs-5c899f1fe5ad5b0197cc4fd9cd7f5c6139eff122.tar.xz
configs-5c899f1fe5ad5b0197cc4fd9cd7f5c6139eff122.zip
always-up-to-date volume/icon in panel
Diffstat (limited to 'bspwm/.local/bin/spk-icon')
-rwxr-xr-xbspwm/.local/bin/spk-icon5
1 files changed, 5 insertions, 0 deletions
diff --git a/bspwm/.local/bin/spk-icon b/bspwm/.local/bin/spk-icon
new file mode 100755
index 0000000..216fbf4
--- /dev/null
+++ b/bspwm/.local/bin/spk-icon
@@ -0,0 +1,5 @@
+if $(pamixer --get-mute) ; then
+echo ⮝
+else
+echo ⮟
+fi