update waybar scripts
This commit is contained in:
11
waybar/scroll-mpv.sh
Executable file
11
waybar/scroll-mpv.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
zscroll -p ' | ' --delay 0.2 \
|
||||
--length 30 \
|
||||
--match-command "$HOME/.config/waybar/scripts/playerctl.sh mpv" \
|
||||
--match-text ' ' "" \
|
||||
--match-text ' ' "--scroll 0" \
|
||||
--match-text "^volume:" "--before-text '' --scroll 0 --after-text ''" \
|
||||
--update-interval 1 \
|
||||
--update-check true "$HOME/.config/waybar/scripts/playerctl.sh mpv" &
|
||||
wait
|
||||
Reference in New Issue
Block a user