1
1
Fork 0

menu: add calculator option

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-02-10 15:02:15 -06:00
parent b918f88e21
commit 3304110242
Signed by: Myned
GPG key ID: C7224454F7881A34
2 changed files with 3 additions and 1 deletions

View file

@ -9,6 +9,7 @@ in {
options.custom.menus = { options.custom.menus = {
enable = mkOption {default = config.custom.full;}; enable = mkOption {default = config.custom.full;};
show = mkOption {default = "";}; show = mkOption {default = "";};
calculator.show = mkOption {default = "";};
clipboard = { clipboard = {
clear = mkOption {default = "";}; clear = mkOption {default = "";};

View file

@ -25,7 +25,8 @@ in {
menus = let menus = let
quit = "${pkill} --exact rofi"; quit = "${pkill} --exact rofi";
in { 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 = { clipboard = {
show = "${quit} || ${rofi} -show clipboard -show-icons"; show = "${quit} || ${rofi} -show clipboard -show-icons";