aboutsummaryrefslogtreecommitdiff
path: root/Panel
diff options
context:
space:
mode:
Diffstat (limited to 'Panel')
-rwxr-xr-xPanel/lemonbar/panel2
-rwxr-xr-xPanel/lemonbar/volume7
2 files changed, 8 insertions, 1 deletions
diff --git a/Panel/lemonbar/panel b/Panel/lemonbar/panel
index 4008682..88ef196 100755
--- a/Panel/lemonbar/panel
+++ b/Panel/lemonbar/panel
@@ -11,7 +11,7 @@ mkfifo -m 777 "$PANEL_FIFO"
#bspc control --subscribe > "$PANEL_FIFO" &
./windows > "$PANEL_FIFO" &
#echo "D`rpws current`" > "$PANEL_FIFO" &
-volume -f 'V%i' > "$PANEL_FIFO" &
+./volume > "$PANEL_FIFO" &
battery -i 60 -sf 'B%s %i' > "$PANEL_FIFO" &
clock -i 60 -sf 'Z%d %a %H:%M' > "$PANEL_FIFO" &
./music > "$PANEL_FIFO" &
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