mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
rofi: add fullscreen option
This commit is contained in:
parent
aa974c0dc3
commit
52256d7a73
1 changed files with 9 additions and 2 deletions
|
@ -158,7 +158,7 @@ in
|
||||||
default = null;
|
default = null;
|
||||||
type = types.nullOr types.string;
|
type = types.nullOr types.string;
|
||||||
example = "Droid Sans Mono 14";
|
example = "Droid Sans Mono 14";
|
||||||
description = "Font to use";
|
description = "Font to use.";
|
||||||
};
|
};
|
||||||
|
|
||||||
scrollbar = mkOption {
|
scrollbar = mkOption {
|
||||||
|
@ -186,7 +186,13 @@ in
|
||||||
cycle = mkOption {
|
cycle = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
type = types.nullOr types.bool;
|
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 {
|
colors = mkOption {
|
||||||
|
@ -251,6 +257,7 @@ in
|
||||||
)}
|
)}
|
||||||
${setOption "terminal" cfg.terminal}
|
${setOption "terminal" cfg.terminal}
|
||||||
${setOption "cycle" cfg.cycle}
|
${setOption "cycle" cfg.cycle}
|
||||||
|
${setOption "fullscreen" cfg.fullscreen}
|
||||||
|
|
||||||
${setColorScheme cfg.colors}
|
${setColorScheme cfg.colors}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue