From d1ec6eec44e2f7787ec670676933bbcc3d07d361 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sat, 26 Sep 2026 22:01:03 +0530 Subject: feat: added actions for different modules --- modules/networking/usque/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'modules/networking/usque') 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"; + } + ]; + }) ]; } -- cgit v1.2.3