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": [
"idle_inhibitor",
"pulseaudio",
"network",
"custom/yay",
"cpu",
"memory",
"battery",
@ -116,5 +116,12 @@
"on-click-right": "playerctl next",
"on-scroll-up": "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;
}
#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;
margin: 0 5px;
}
@ -100,6 +100,10 @@ window#waybar {
color: #2a5c45;
}
#custom-yay {
background-color: #64727D;
}
#tray {
background-color: #282828;
}