updates + waybar update notification

This commit is contained in:
mjallen18
2024-08-20 16:20:38 -05:00
parent 0b408700c3
commit 0c882f5fc3
5 changed files with 104 additions and 2 deletions

View File

@@ -23,7 +23,7 @@
modules-right = [
"tray"
# "custom/updates"
"custom/updates"
"keyboard-state#capslock"
"keyboard-state#numlock"
"pulseaudio"
@@ -54,6 +54,14 @@
return-type = "json";
};
"custom/updates" = {
tooltip = true;
format = {};
interval = 60;
exec = "sudo waybar-updates";
return-type = "json";
};
tray = {
icon-size = 16;
spacing = 10;
@@ -246,7 +254,6 @@
color: #91d7e3;
border-left: 0px;
border-right: 0px;
border-radius: 10px 0px 0px 10px;
}
#keyboard-state.numlock {