mirror of
https://github.com/hydroxycarbamide/dotfiles.git
synced 2025-05-08 13:49:07 -04:00
Add waybar
This commit is contained in:
parent
e0c17f71e2
commit
1ff2d77058
19 changed files with 1043 additions and 0 deletions
15
dot_config/waybar/modules/mpris/executable_scroll_status.sh
Normal file
15
dot_config/waybar/modules/mpris/executable_scroll_status.sh
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
cmd="${0%/*}/get_status.sh $1"
|
||||
|
||||
zscroll -l 30 \
|
||||
--scroll-padding "$(printf ' %.0s' {1..8})" \
|
||||
-d 0.5 \
|
||||
-M "${0%/*}/get_status_paused.sh $1" \
|
||||
-m "Playing" "--scroll 1" \
|
||||
-m "Paused" "--scroll 0" \
|
||||
-m "Stopped" "--scroll 0" \
|
||||
-U 5 -u true "$cmd" &
|
||||
|
||||
wait
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue