dotfiles/desktop/.config/waybar/modules
Marty Oehme 017668792c
waybar: Improve vpn block icon rendering
This is a change which is very much hardcoded for my setup, but the vpn
block will now give preference to displaying individual VPN types from
top to bottom:

If privateinternetaccess is connected, it will display its icon.
If proton is connected, it will display its icon.
If netbird is connected it will display its icon.
If nothing is connected it will display nothing.

It is still quite a hacky solution and should also be replaced by a
signal-driven system instead of the recurrent polling it does currently
(it only polls once a minute atm, to keep system load/battery drain low
but since it invokes a lot of external commands, e.g. piactl and
netbird, it should really only be invoked on vpn changes).
2024-07-26 10:56:36 +02:00
..
archupdates wayland: Consolidate with mako into desktop module 2023-01-07 16:06:00 +01:00
khal.py waybar: Improve events block icon rendering 2024-07-25 22:15:12 +02:00
wireguard waybar: Improve vpn block icon rendering 2024-07-26 10:56:36 +02:00