From 3304110242ebb06d947f42dfa20a39a5581f4cff Mon Sep 17 00:00:00 2001 From: Myned Date: Mon, 10 Feb 2025 15:02:15 -0600 Subject: [PATCH] menu: add calculator option Signed-off-by: Myned --- options/custom/menus/default.nix | 1 + options/custom/menus/rofi/default.nix | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/options/custom/menus/default.nix b/options/custom/menus/default.nix index 46b6149..fc731d2 100644 --- a/options/custom/menus/default.nix +++ b/options/custom/menus/default.nix @@ -9,6 +9,7 @@ in { options.custom.menus = { enable = mkOption {default = config.custom.full;}; show = mkOption {default = "";}; + calculator.show = mkOption {default = "";}; clipboard = { clear = mkOption {default = "";}; diff --git a/options/custom/menus/rofi/default.nix b/options/custom/menus/rofi/default.nix index 779da74..91a98b2 100644 --- a/options/custom/menus/rofi/default.nix +++ b/options/custom/menus/rofi/default.nix @@ -25,7 +25,8 @@ in { menus = let quit = "${pkill} --exact rofi"; in { - show = "${quit} || ${rofi} -show combi -show-icons"; + show = "${quit} || ${rofi} -show combi -show-icons -theme-str 'prompt { enabled: false; }'"; + calculator.show = "${quit} || ${rofi} -show calc"; clipboard = { show = "${quit} || ${rofi} -show clipboard -show-icons";