diff options
author | Nikita Uvarov <uv.nikita@gmail.com> | 2017-09-30 14:14:07 +0200 |
---|---|---|
committer | Nikita Uvarov <uv.nikita@gmail.com> | 2017-09-30 14:14:07 +0200 |
commit | 52256d7a73f5849014014451d28935b810ee03f4 (patch) | |
tree | 86466eaf12b3feace13a4292ddde879ac141dc27 /modules | |
parent | aa974c0dc3a27c2d68a9777a6554f67be5a80fdd (diff) |
rofi: add fullscreen option
Diffstat (limited to 'modules')
-rw-r--r-- | modules/programs/rofi.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/programs/rofi.nix b/modules/programs/rofi.nix index 0194a3d56fd..9391b2d0927 100644 --- a/modules/programs/rofi.nix +++ b/modules/programs/rofi.nix @@ -158,7 +158,7 @@ in default = null; type = types.nullOr types.string; example = "Droid Sans Mono 14"; - description = "Font to use"; + description = "Font to use."; }; scrollbar = mkOption { @@ -186,7 +186,13 @@ in cycle = mkOption { default = null; type = types.nullOr types.bool; - description = "Whether to cycle through the results list"; + description = "Whether to cycle through the results list."; + }; + + fullscreen = mkOption { + default = null; + type = types.nullOr types.bool; + description = "Whether to run rofi fullscreen."; }; colors = mkOption { @@ -251,6 +257,7 @@ in )} ${setOption "terminal" cfg.terminal} ${setOption "cycle" cfg.cycle} + ${setOption "fullscreen" cfg.fullscreen} ${setColorScheme cfg.colors} |