aboutsummaryrefslogtreecommitdiff
path: root/modules/services/window-managers
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2019-01-15 19:46:00 +0100
committerRobert Helgesson <robert@rycee.net>2019-01-19 19:02:59 +0100
commit59a4ac71f94339b01c7bdb66542d1cc3b46a841c (patch)
tree0fa7d088b0dd89e8ab875711bdd463c9f296fb87 /modules/services/window-managers
parent7c04351a57bb36133e6cf3b609e573b9e18b8eec (diff)
i3: replace use of types.string by types.str
Diffstat (limited to 'modules/services/window-managers')
-rw-r--r--modules/services/window-managers/i3.nix40
1 files changed, 20 insertions, 20 deletions
diff --git a/modules/services/window-managers/i3.nix b/modules/services/window-managers/i3.nix
index 1a21d12af66..059c7a8a932 100644
--- a/modules/services/window-managers/i3.nix
+++ b/modules/services/window-managers/i3.nix
@@ -8,7 +8,7 @@ let
commonOptions = {
fonts = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
default = ["monospace 8"];
description = ''
Font list used for window titles. Only FreeType fonts are supported.
@@ -21,7 +21,7 @@ let
startupModule = types.submodule {
options = {
command = mkOption {
- type = types.string;
+ type = types.str;
description = "Command that will be executed on startup.";
};
@@ -41,7 +41,7 @@ let
};
workspace = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
description = ''
Launch application on a particular workspace. DEPRECATED:
@@ -55,17 +55,17 @@ let
barColorSetModule = types.submodule {
options = {
border = mkOption {
- type = types.string;
+ type = types.str;
visible = false;
};
background = mkOption {
- type = types.string;
+ type = types.str;
visible = false;
};
text = mkOption {
- type = types.string;
+ type = types.str;
visible = false;
};
};
@@ -74,27 +74,27 @@ let
colorSetModule = types.submodule {
options = {
border = mkOption {
- type = types.string;
+ type = types.str;
visible = false;
};
childBorder = mkOption {
- type = types.string;
+ type = types.str;
visible = false;
};
background = mkOption {
- type = types.string;
+ type = types.str;
visible = false;
};
text = mkOption {
- type = types.string;
+ type = types.str;
visible = false;
};
indicator = mkOption {
- type = types.string;
+ type = types.str;
visible = false;
};
};
@@ -111,7 +111,7 @@ let
};
id = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
description = ''
Specifies the bar ID for the configured bar instance.
@@ -151,7 +151,7 @@ let
};
command = mkOption {
- type = types.string;
+ type = types.str;
default = "${cfg.package}/bin/i3bar";
defaultText = "i3bar";
description = "Command that will be used to start a bar.";
@@ -159,7 +159,7 @@ let
};
statusCommand = mkOption {
- type = types.string;
+ type = types.str;
default = "${pkgs.i3status}/bin/i3status";
description = "Command that will be used to get status lines.";
};
@@ -168,19 +168,19 @@ let
type = types.submodule {
options = {
background = mkOption {
- type = types.string;
+ type = types.str;
default = "#000000";
description = "Background color of the bar.";
};
statusline = mkOption {
- type = types.string;
+ type = types.str;
default = "#ffffff";
description = "Text color to be used for the statusline.";
};
separator = mkOption {
- type = types.string;
+ type = types.str;
default = "#666666";
description = "Text color to be used for the separator.";
};
@@ -238,7 +238,7 @@ let
};
trayOutput = mkOption {
- type = types.string;
+ type = types.str;
default = "primary";
description = "Where to output tray.";
};
@@ -248,7 +248,7 @@ let
windowCommandModule = types.submodule {
options = {
command = mkOption {
- type = types.string;
+ type = types.str;
description = "i3wm command to execute.";
example = "border pixel 1";
};
@@ -505,7 +505,7 @@ let
type = types.submodule {
options = {
background = mkOption {
- type = types.string;
+ type = types.str;
default = "#ffffff";
description = ''
Background color of the window. Only applications which do not cover