Added update indicator

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2019-11-19 14:15:30 +02:00
parent 01182c71de
commit 33a721844d
2 changed files with 13 additions and 2 deletions

View file

@ -7,7 +7,7 @@
"modules-right": [ "modules-right": [
"idle_inhibitor", "idle_inhibitor",
"pulseaudio", "pulseaudio",
"network", "custom/yay",
"cpu", "cpu",
"memory", "memory",
"battery", "battery",
@ -116,5 +116,12 @@
"on-click-right": "playerctl next", "on-click-right": "playerctl next",
"on-scroll-up": "playerctl volume 0.05+", "on-scroll-up": "playerctl volume 0.05+",
"on-scroll-down": "playerctl volume 0.05-" "on-scroll-down": "playerctl volume 0.05-"
},
"custom/yay":{
"tooltip": false,
"format": "{} ",
"exec": "yay -Qu | wc -l",
"interval": 60,
"on-click": "alacritty -e yay"
} }
} }

View file

@ -26,7 +26,7 @@ window#waybar {
background: #64727D; background: #64727D;
} }
#clock, #battery, #cpu, #memory, #backlight, #network, #pulseaudio, #custom-playerctl, #tray, #mode, #idle_inhibitor { #clock, #battery, #cpu, #memory, #backlight, #network, #pulseaudio, #custom-playerctl, #custom-yay, #tray, #mode, #idle_inhibitor {
padding: 0 10px; padding: 0 10px;
margin: 0 5px; margin: 0 5px;
} }
@ -100,6 +100,10 @@ window#waybar {
color: #2a5c45; color: #2a5c45;
} }
#custom-yay {
background-color: #64727D;
}
#tray { #tray {
background-color: #282828; background-color: #282828;
} }