mirror of
https://github.com/Fluffy-Bean/dots.git
synced 2025-05-30 07:13:11 +00:00
Updated polybar with my own music script
This commit is contained in:
parent
ea4e3a6be9
commit
d8be95b8d2
8 changed files with 31 additions and 32 deletions
|
@ -40,22 +40,17 @@ exec = ~/.config/polybar/scripts/server_status.sh
|
|||
|
||||
|
||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||
;; SPOTIFY
|
||||
;; MUSIC
|
||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||
[module/spotify]
|
||||
[module/music]
|
||||
type = custom/script
|
||||
interval = 1
|
||||
|
||||
format = <label>
|
||||
format-background = ${colors.modback}
|
||||
format-foreground = ${colors.foreground}
|
||||
|
||||
exec = python ~/.config/polybar/scripts -f "{song} | {artist}" -t 69
|
||||
|
||||
click-left = playerctl --player=spotify play-pause
|
||||
scroll-up = playerctl --player=spotify next
|
||||
scroll-down = playerctl --player=spotify previous
|
||||
exec = bash ~/.config/polybar/scripts/music.sh
|
||||
|
||||
click-left = playerctl play-pause -i firefox
|
||||
scroll-up = playerctl next -i firefox
|
||||
scroll-down = playerctl previous -i firefox
|
||||
|
||||
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
|
||||
;; DND
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue