From d427081284371cc9c456b03d114300949a07e732 Mon Sep 17 00:00:00 2001 From: don philipe Date: Fri, 29 Mar 2024 14:09:40 +0100 Subject: [PATCH] Add wireguard interface detection --- vpn.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpn.lua b/vpn.lua index a6513cb..27ffea8 100644 --- a/vpn.lua +++ b/vpn.lua @@ -20,7 +20,7 @@ gears.timer { timeout = 10, autostart = true, callback = function () - awful.spawn.easy_async_with_shell("ifconfig | grep \"tun.*:\"", + awful.spawn.easy_async_with_shell("ifconfig | grep \"tun.*:\\|wg.*:\"", function (stdout, _, _, _) if (stdout == "") then widget.icon:set_image(icon_vpn_noconn)