mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
fix: waybar vpn indicator not displaying
This commit is contained in:
parent
4c94778364
commit
560bc48259
4 changed files with 6 additions and 2 deletions
|
|
@ -4753,6 +4753,7 @@ Modules that need to be loaded on the NixOS level. Note that these will not be a
|
|||
"mpris"
|
||||
"custom/left-arrow-light"
|
||||
"network"
|
||||
"custom/vpn"
|
||||
"custom/left-arrow-dark"
|
||||
"pulseaudio"
|
||||
"custom/left-arrow-light"
|
||||
|
|
@ -4811,6 +4812,7 @@ Modules that need to be loaded on the NixOS level. Note that these will not be a
|
|||
"mpris"
|
||||
"custom/left-arrow-light"
|
||||
"network"
|
||||
"custom/vpn"
|
||||
"custom/left-arrow-dark"
|
||||
"pulseaudio"
|
||||
"custom/left-arrow-light"
|
||||
|
|
@ -7804,7 +7806,7 @@ The rest of this configuration is found here:
|
|||
|
||||
};
|
||||
"custom/vpn" = {
|
||||
format = "VPN ";
|
||||
format = "()";
|
||||
exec = "echo '{\"class\": \"connected\"}'";
|
||||
exec-if = "test -d /proc/sys/net/ipv4/conf/tun0";
|
||||
return-type = "json";
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
"mpris"
|
||||
"custom/left-arrow-light"
|
||||
"network"
|
||||
"custom/vpn"
|
||||
"custom/left-arrow-dark"
|
||||
"pulseaudio"
|
||||
"custom/left-arrow-light"
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ in
|
|||
"mpris"
|
||||
"custom/left-arrow-light"
|
||||
"network"
|
||||
"custom/vpn"
|
||||
"custom/left-arrow-dark"
|
||||
"pulseaudio"
|
||||
"custom/left-arrow-light"
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@
|
|||
|
||||
};
|
||||
"custom/vpn" = {
|
||||
format = "VPN ";
|
||||
format = "()";
|
||||
exec = "echo '{\"class\": \"connected\"}'";
|
||||
exec-if = "test -d /proc/sys/net/ipv4/conf/tun0";
|
||||
return-type = "json";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue