waybar: Add custom flatpak module
This commit is contained in:
parent
013c72dbe4
commit
672f0207e7
2 changed files with 19 additions and 3 deletions
|
@ -14,6 +14,7 @@
|
|||
"custom/arrowtray",
|
||||
"tray",
|
||||
"custom/arrowpackages",
|
||||
"custom/flatpak",
|
||||
"custom/packages",
|
||||
"custom/arrowcpu",
|
||||
"cpu",
|
||||
|
@ -110,6 +111,18 @@
|
|||
},
|
||||
"tooltip": false,
|
||||
},
|
||||
"custom/flatpak": {
|
||||
"format": "<span rise='-3000' size='xx-large'></span> {}",
|
||||
"interval": 3600,
|
||||
"exec": "flatpak remote-ls --updates | wc -l",
|
||||
"exec-if": "exit 0",
|
||||
"on-click": "exit 0",
|
||||
"signal": 8,
|
||||
"states": {
|
||||
"warning": 1,
|
||||
},
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"custom/arrowtime": {
|
||||
"format": "",
|
||||
|
|
|
@ -106,7 +106,8 @@
|
|||
#network,
|
||||
#pulseaudio,
|
||||
#tray,
|
||||
#custom-packages {
|
||||
#custom-packages,
|
||||
#custom-flatpak {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
@ -136,7 +137,8 @@
|
|||
#network.disconnected,
|
||||
#memory.warning,
|
||||
#cpu.warning,
|
||||
#custom-packages.warning {
|
||||
#custom-packages.warning,
|
||||
#custom-flatpak.warning {
|
||||
color: @warning;
|
||||
}
|
||||
|
||||
|
@ -198,7 +200,8 @@
|
|||
color: @dark;
|
||||
}
|
||||
|
||||
#custom-packages {
|
||||
#custom-packages,
|
||||
#custom-flatpak {
|
||||
background: @packages;
|
||||
color: @dark;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue