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",
|
"custom/arrowtray",
|
||||||
"tray",
|
"tray",
|
||||||
"custom/arrowpackages",
|
"custom/arrowpackages",
|
||||||
|
"custom/flatpak",
|
||||||
"custom/packages",
|
"custom/packages",
|
||||||
"custom/arrowcpu",
|
"custom/arrowcpu",
|
||||||
"cpu",
|
"cpu",
|
||||||
|
@ -110,6 +111,18 @@
|
||||||
},
|
},
|
||||||
"tooltip": false,
|
"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": {
|
"custom/arrowtime": {
|
||||||
"format": "",
|
"format": "",
|
||||||
|
|
|
@ -106,7 +106,8 @@
|
||||||
#network,
|
#network,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#tray,
|
#tray,
|
||||||
#custom-packages {
|
#custom-packages,
|
||||||
|
#custom-flatpak {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
|
@ -136,7 +137,8 @@
|
||||||
#network.disconnected,
|
#network.disconnected,
|
||||||
#memory.warning,
|
#memory.warning,
|
||||||
#cpu.warning,
|
#cpu.warning,
|
||||||
#custom-packages.warning {
|
#custom-packages.warning,
|
||||||
|
#custom-flatpak.warning {
|
||||||
color: @warning;
|
color: @warning;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -198,7 +200,8 @@
|
||||||
color: @dark;
|
color: @dark;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-packages {
|
#custom-packages,
|
||||||
|
#custom-flatpak {
|
||||||
background: @packages;
|
background: @packages;
|
||||||
color: @dark;
|
color: @dark;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue