diff --git a/SwarselSystems.org b/SwarselSystems.org index 1c2a13e..f60424f 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -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"; diff --git a/modules/home/laptop.nix b/modules/home/laptop.nix index 06c114d..b268eec 100644 --- a/modules/home/laptop.nix +++ b/modules/home/laptop.nix @@ -14,6 +14,7 @@ "mpris" "custom/left-arrow-light" "network" + "custom/vpn" "custom/left-arrow-dark" "pulseaudio" "custom/left-arrow-light" diff --git a/modules/home/waybar.nix b/modules/home/waybar.nix index 73a807e..f4ae8f0 100644 --- a/modules/home/waybar.nix +++ b/modules/home/waybar.nix @@ -17,6 +17,7 @@ in "mpris" "custom/left-arrow-light" "network" + "custom/vpn" "custom/left-arrow-dark" "pulseaudio" "custom/left-arrow-light" diff --git a/profiles/common/home/waybar.nix b/profiles/common/home/waybar.nix index 721dc67..2c91121 100644 --- a/profiles/common/home/waybar.nix +++ b/profiles/common/home/waybar.nix @@ -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";