menu: add calculator option
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
b918f88e21
commit
3304110242
2 changed files with 3 additions and 1 deletions
|
@ -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 = "";};
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue