From 52256d7a73f5849014014451d28935b810ee03f4 Mon Sep 17 00:00:00 2001 From: Nikita Uvarov Date: Sat, 30 Sep 2017 14:14:07 +0200 Subject: [PATCH] rofi: add fullscreen option --- modules/programs/rofi.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/modules/programs/rofi.nix b/modules/programs/rofi.nix index 0194a3d56..9391b2d09 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}