diff --git a/lib/Xmobar/Plugins/VPN.hs b/lib/Xmobar/Plugins/VPN.hs index fa054fa..dfd4905 100644 --- a/lib/Xmobar/Plugins/VPN.hs +++ b/lib/Xmobar/Plugins/VPN.hs @@ -34,7 +34,7 @@ instance Exec VPN where start (VPN (text, colors)) cb = withDBusClientConnection cb "VPN" $ \c -> do let dpy = displayMaybe cb iconFormatter . Just =<< readState - s <- newMVar S.empty + s <- newEmptyMVar mapRIO (VEnv c s dpy) $ do initState vpnAddedListener addedCallback