mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +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"
|
"mpris"
|
||||||
"custom/left-arrow-light"
|
"custom/left-arrow-light"
|
||||||
"network"
|
"network"
|
||||||
|
"custom/vpn"
|
||||||
"custom/left-arrow-dark"
|
"custom/left-arrow-dark"
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
"custom/left-arrow-light"
|
"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"
|
"mpris"
|
||||||
"custom/left-arrow-light"
|
"custom/left-arrow-light"
|
||||||
"network"
|
"network"
|
||||||
|
"custom/vpn"
|
||||||
"custom/left-arrow-dark"
|
"custom/left-arrow-dark"
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
"custom/left-arrow-light"
|
"custom/left-arrow-light"
|
||||||
|
|
@ -7804,7 +7806,7 @@ The rest of this configuration is found here:
|
||||||
|
|
||||||
};
|
};
|
||||||
"custom/vpn" = {
|
"custom/vpn" = {
|
||||||
format = "VPN ";
|
format = "()";
|
||||||
exec = "echo '{\"class\": \"connected\"}'";
|
exec = "echo '{\"class\": \"connected\"}'";
|
||||||
exec-if = "test -d /proc/sys/net/ipv4/conf/tun0";
|
exec-if = "test -d /proc/sys/net/ipv4/conf/tun0";
|
||||||
return-type = "json";
|
return-type = "json";
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
"mpris"
|
"mpris"
|
||||||
"custom/left-arrow-light"
|
"custom/left-arrow-light"
|
||||||
"network"
|
"network"
|
||||||
|
"custom/vpn"
|
||||||
"custom/left-arrow-dark"
|
"custom/left-arrow-dark"
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
"custom/left-arrow-light"
|
"custom/left-arrow-light"
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ in
|
||||||
"mpris"
|
"mpris"
|
||||||
"custom/left-arrow-light"
|
"custom/left-arrow-light"
|
||||||
"network"
|
"network"
|
||||||
|
"custom/vpn"
|
||||||
"custom/left-arrow-dark"
|
"custom/left-arrow-dark"
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
"custom/left-arrow-light"
|
"custom/left-arrow-light"
|
||||||
|
|
|
||||||
|
|
@ -175,7 +175,7 @@
|
||||||
|
|
||||||
};
|
};
|
||||||
"custom/vpn" = {
|
"custom/vpn" = {
|
||||||
format = "VPN ";
|
format = "()";
|
||||||
exec = "echo '{\"class\": \"connected\"}'";
|
exec = "echo '{\"class\": \"connected\"}'";
|
||||||
exec-if = "test -d /proc/sys/net/ipv4/conf/tun0";
|
exec-if = "test -d /proc/sys/net/ipv4/conf/tun0";
|
||||||
return-type = "json";
|
return-type = "json";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue