aboutsummaryrefslogtreecommitdiff
path: root/Panel/lemonbar/volume
diff options
context:
space:
mode:
authorVasil Zlatanov <v@skozl.com>2019-10-27 13:29:09 +0000
committerVasil Zlatanov <v@skozl.com>2019-10-27 13:29:09 +0000
commitb1273694c3918c98c1474ff1cac452bda4332bf6 (patch)
treef2e34b2cec8956c6d7c3f20ddab1ea761ea3f4ee /Panel/lemonbar/volume
parent7506a654d4bc2cacb22acd7caafe56ffa3ea8677 (diff)
downloaddotfiles-b1273694c3918c98c1474ff1cac452bda4332bf6.tar.gz
dotfiles-b1273694c3918c98c1474ff1cac452bda4332bf6.tar.bz2
dotfiles-b1273694c3918c98c1474ff1cac452bda4332bf6.zip
Use pamixer volume script for lemonbar
Diffstat (limited to 'Panel/lemonbar/volume')
-rwxr-xr-xPanel/lemonbar/volume7
1 files changed, 7 insertions, 0 deletions
diff --git a/Panel/lemonbar/volume b/Panel/lemonbar/volume
new file mode 100755
index 0000000..df38b5c
--- /dev/null
+++ b/Panel/lemonbar/volume
@@ -0,0 +1,7 @@
+#!/bin/sh
+SINK_ID=9
+while true;do
+ volume=$(pamixer --sink $SINK_ID --get-volume)
+ echo "V$volume"
+ sleep 70
+done