feat(waybar): Remove custom package widgets

This commit is contained in:
histalek 2024-01-27 15:43:49 +01:00
parent 3c29c6a3ff
commit c0e6a28ecc
Signed by: histalek
SSH key fingerprint: SHA256:6a6N2Wzk73nwURUHC/ubbCyqdB6yfie0Jv/NGvRcsIE
2 changed files with 37 additions and 57 deletions

View file

@ -70,22 +70,4 @@
}, },
"tooltip": false, "tooltip": false,
}, },
"custom/packages": {
"format": " {}",
"interval": 3600,
"exec": "checkupdates | wc -l",
"exec-if": "exit 0",
"on-click": "exit 0",
"signal": 8,
"tooltip": false,
},
"custom/flatpak": {
"format": " {}",
"interval": 3600,
"exec": "flatpak remote-ls --updates | wc -l",
"exec-if": "exit 0",
"on-click": "exit 0",
"signal": 8,
"tooltip": false,
},
} }

View file

@ -22,6 +22,7 @@ window#waybar {
70% { 70% {
color: @basecolor; color: @basecolor;
} }
to { to {
color: @basecolor; color: @basecolor;
background-color: @warning; background-color: @warning;
@ -32,6 +33,7 @@ window#waybar {
70% { 70% {
color: @basecolor; color: @basecolor;
} }
to { to {
color: @basecolor; color: @basecolor;
background-color: @critical; background-color: @critical;
@ -100,12 +102,8 @@ tooltip label {
padding: 4px 10px; padding: 4px 10px;
} }
#custom-packages, #custom-flatpak { #memory,
color: #ff79c6; #cpu {
padding: 4px 10px;
}
#memory, #cpu {
color: #8be9fd; color: #8be9fd;
padding: 4px 10px; padding: 4px 10px;
} }