mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
rofi calculator (rest of it)
This commit is contained in:
parent
efb3933f5a
commit
34cf2a4483
@ -32,6 +32,10 @@
|
|||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
description = "Command to use for adjusting brightness";
|
description = "Command to use for adjusting brightness";
|
||||||
};
|
};
|
||||||
|
calculatorCommand = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
description = "Command to use for quick calculations";
|
||||||
|
};
|
||||||
toggleBarCommand = lib.mkOption {
|
toggleBarCommand = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
description = "Command to hide and show the status bar.";
|
description = "Command to hide and show the status bar.";
|
||||||
|
@ -123,6 +123,8 @@ in {
|
|||||||
"exec --no-startup-id ${config.powerCommand}";
|
"exec --no-startup-id ${config.powerCommand}";
|
||||||
"${modifier}+Shift+m" =
|
"${modifier}+Shift+m" =
|
||||||
"exec --no-startup-id ${config.brightnessCommand}";
|
"exec --no-startup-id ${config.brightnessCommand}";
|
||||||
|
"${modifier}+c" =
|
||||||
|
"exec --no-startup-id ${config.calculatorCommand}";
|
||||||
"${modifier}+Shift+c" = "reload";
|
"${modifier}+Shift+c" = "reload";
|
||||||
"${modifier}+Shift+r" = "restart";
|
"${modifier}+Shift+r" = "restart";
|
||||||
"${modifier}+Shift+q" = ''
|
"${modifier}+Shift+q" = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user