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,
},
"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

@ -2,8 +2,8 @@
* General
* ----------------------------------------------------- */
* {
font-size: 14px;
font-family: JetBrainsMono Nerd Font;
font-size: 14px;
font-family: JetBrainsMono Nerd Font;
}
@define-color basecolor #f8f8f2;
@ -19,23 +19,25 @@ window#waybar {
}
@keyframes blink-warning {
70% {
color: @basecolor;
}
to {
color: @basecolor;
background-color: @warning;
}
70% {
color: @basecolor;
}
to {
color: @basecolor;
background-color: @warning;
}
}
@keyframes blink-critical {
70% {
color: @basecolor;
}
to {
color: @basecolor;
background-color: @critical;
}
70% {
color: @basecolor;
}
to {
color: @basecolor;
background-color: @critical;
}
}
/* -----------------------------------------------------
@ -46,7 +48,7 @@ window#waybar {
}
#workspaces button.focused {
background: @focused;
background: @focused;
}
#workspaces button:hover {
@ -57,13 +59,13 @@ window#waybar {
* Tooltips
* ----------------------------------------------------- */
tooltip {
background: #282a36;
border: 1px solid #bd93f9;
border-radius: 10px;
background: #282a36;
border: 1px solid #bd93f9;
border-radius: 10px;
}
tooltip label {
color: @basecolor;
color: @basecolor;
}
/* -----------------------------------------------------
@ -71,25 +73,25 @@ tooltip label {
* ----------------------------------------------------- */
#mode,
#memory {
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#memory.critical,
#cpu.critical {
color: @critical;
color: @critical;
}
#mode,
#memory.critical {
animation-name: blink-critical;
animation-duration: 2s;
animation-name: blink-critical;
animation-duration: 2s;
}
#memory.warning,
#cpu.warning {
color: @warning;
color: @warning;
}
/* -----------------------------------------------------
@ -97,24 +99,20 @@ tooltip label {
* ----------------------------------------------------- */
#window {
color: @basecolor;
padding: 4px 10px;
padding: 4px 10px;
}
#custom-packages, #custom-flatpak {
color: #ff79c6;
padding: 4px 10px;
}
#memory, #cpu {
color: #8be9fd;
padding: 4px 10px;
#memory,
#cpu {
color: #8be9fd;
padding: 4px 10px;
}
#clock {
color: #50fa7b;
padding: 4px 10px;
padding: 4px 10px;
}
#tray {
padding: 2px 10px;
padding: 2px 10px;
}