aboutsummaryrefslogtreecommitdiff
path: root/Panel/lemonbar/volume
diff options
context:
space:
mode:
authorVasil Zlatanov <v@skozl.com>2019-10-28 23:17:12 +0000
committerVasil Zlatanov <v@skozl.com>2019-10-28 23:17:12 +0000
commitf54e155ee55d571289c8bb14d6c5ed9dd3832f66 (patch)
tree1ecd4b08ebf94cbbd3d927d986f577efec8cd193 /Panel/lemonbar/volume
parent71f4a371296abdf48586fdd608480c75310b708e (diff)
parent4080a8ba826cc52297aa0174d03fb8534e45246e (diff)
downloaddotfiles-f54e155ee55d571289c8bb14d6c5ed9dd3832f66.tar.gz
dotfiles-f54e155ee55d571289c8bb14d6c5ed9dd3832f66.tar.bz2
dotfiles-f54e155ee55d571289c8bb14d6c5ed9dd3832f66.zip
Merge branch 'master' of ssh://skozl.com:/srv/git/dotfiles
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