mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(i3status-rust): shut up if no VPN
This commit is contained in:
@@ -169,9 +169,9 @@ in {
|
||||
interval = 5;
|
||||
command = pkgs.writers.writeDash "hu-berlin-vpn" ''
|
||||
PATH=${lib.makeBinPath [pkgs.systemd]}
|
||||
(systemctl is-active --quiet openvpn-hu-berlin.service && echo "🎓👍 (OpenVPN)") \
|
||||
|| (systemctl is-active --quiet hu-vpn.service && echo "🎓👍 (PPP+SSL)") \
|
||||
|| echo "🎓👎"
|
||||
(systemctl is-active --quiet openvpn-hu-berlin.service && echo "OVPN") \
|
||||
|| (systemctl is-active --quiet hu-vpn.service && echo "PPP-VPN") \
|
||||
|| :
|
||||
'';
|
||||
}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user