add waybar media
This commit is contained in:
parent
b05094b29c
commit
dd0e47d099
@ -21,6 +21,7 @@
|
||||
"custom/battery",
|
||||
"custom/pomodoro",
|
||||
"custom/bluetooth",
|
||||
"custom/media",
|
||||
"pulseaudio",
|
||||
"custom/language",
|
||||
"custom/userhost",
|
||||
@ -64,6 +65,14 @@
|
||||
"interval": 5,
|
||||
"return-type": "text",
|
||||
},
|
||||
"custom/media": {
|
||||
"exec": "playerctl metadata --format '{{title}} - {{artist}}'",
|
||||
"interval": 1,
|
||||
"on-click": "playerctl play-pause",
|
||||
"on-click-right": "playerctl next",
|
||||
"on-middle-click": "playerctl previous",
|
||||
"format": " {}",
|
||||
},
|
||||
"custom/bluetooth": {
|
||||
"exec": "~/.config/waybar/scripts/builder.sh bluetooth_battery",
|
||||
"interval": 5,
|
||||
|
||||
@ -38,6 +38,7 @@ window#waybar {
|
||||
#cpu,
|
||||
#custom-cpu_temp,
|
||||
#custom-bluetooth,
|
||||
#custom-media,
|
||||
#pulseaudio,
|
||||
#custom-pomodoro,
|
||||
#custom-language,
|
||||
@ -56,6 +57,10 @@ window#waybar {
|
||||
color: #81C784;
|
||||
}
|
||||
|
||||
#custom-media {
|
||||
color: white;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
color: #2a5c45;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user