rofi calculator (rest of it)

This commit is contained in:
Noah Masur 2023-04-10 23:10:49 -04:00
parent efb3933f5a
commit 34cf2a4483
2 changed files with 6 additions and 0 deletions

View File

@ -32,6 +32,10 @@
type = lib.types.str;
description = "Command to use for adjusting brightness";
};
calculatorCommand = lib.mkOption {
type = lib.types.str;
description = "Command to use for quick calculations";
};
toggleBarCommand = lib.mkOption {
type = lib.types.str;
description = "Command to hide and show the status bar.";

View File

@ -123,6 +123,8 @@ in {
"exec --no-startup-id ${config.powerCommand}";
"${modifier}+Shift+m" =
"exec --no-startup-id ${config.brightnessCommand}";
"${modifier}+c" =
"exec --no-startup-id ${config.calculatorCommand}";
"${modifier}+Shift+c" = "reload";
"${modifier}+Shift+r" = "restart";
"${modifier}+Shift+q" = ''