diff options
Diffstat (limited to 'modules/networking/usque')
| -rw-r--r-- | modules/networking/usque/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/networking/usque/default.nix b/modules/networking/usque/default.nix index aa3304c..36ec12e 100644 --- a/modules/networking/usque/default.nix +++ b/modules/networking/usque/default.nix @@ -71,5 +71,19 @@ in (lib.mkIf cfg.warp.enable { home.packages = [ cfg.warp.package ]; }) + (lib.mkIf (cfg.warp.enable && config.desktop.enable) { + desktop.rofi.action.actions = [ + { + name = "WARP Connect"; + command = "${lib.getExe cfg.warp.package} connect"; + icon = "network-vpn-symbolic"; + } + { + name = "WARP Disconnect"; + command = "${lib.getExe cfg.warp.package} disconnect"; + icon = "network-vpn-disconnected-symbolic"; + } + ]; + }) ]; } |
