sway: remove deprecated "types.string"
This commit is contained in:
parent
c5ccc0ab34
commit
3f10fbdf4d
|
@ -73,14 +73,14 @@ in
|
||||||
type = types.path;
|
type = types.path;
|
||||||
};
|
};
|
||||||
font = mkOption {
|
font = mkOption {
|
||||||
type = types.string;
|
type = types.str;
|
||||||
default = "pango:monospace 11";
|
default = "pango:monospace 11";
|
||||||
description = ''
|
description = ''
|
||||||
default font (for e.g. window titles)
|
default font (for e.g. window titles)
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
mod = mkOption {
|
mod = mkOption {
|
||||||
type = types.string;
|
type = types.str;
|
||||||
default = "Mod4";
|
default = "Mod4";
|
||||||
description = ''
|
description = ''
|
||||||
Super key (for non-application shortcuts).
|
Super key (for non-application shortcuts).
|
||||||
|
@ -89,7 +89,7 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
workspace_layout = mkOption {
|
workspace_layout = mkOption {
|
||||||
type = types.string;
|
type = types.str;
|
||||||
default = "default";
|
default = "default";
|
||||||
description = ''
|
description = ''
|
||||||
how to arrange windows within new workspaces, by default:
|
how to arrange windows within new workspaces, by default:
|
||||||
|
@ -109,17 +109,17 @@ in
|
||||||
|
|
||||||
# TODO: split these into their own option scope
|
# TODO: split these into their own option scope
|
||||||
brightness_down_cmd = mkOption {
|
brightness_down_cmd = mkOption {
|
||||||
type = types.string;
|
type = types.str;
|
||||||
default = "${pkgs.brightnessctl}/bin/brightnessctl set -2%";
|
default = "${pkgs.brightnessctl}/bin/brightnessctl set -2%";
|
||||||
description = "command to run when use wants to decrease screen brightness";
|
description = "command to run when use wants to decrease screen brightness";
|
||||||
};
|
};
|
||||||
brightness_up_cmd = mkOption {
|
brightness_up_cmd = mkOption {
|
||||||
type = types.string;
|
type = types.str;
|
||||||
default = "${pkgs.brightnessctl}/bin/brightnessctl set +2%";
|
default = "${pkgs.brightnessctl}/bin/brightnessctl set +2%";
|
||||||
description = "command to run when use wants to increase screen brightness";
|
description = "command to run when use wants to increase screen brightness";
|
||||||
};
|
};
|
||||||
screenshot_cmd = mkOption {
|
screenshot_cmd = mkOption {
|
||||||
type = types.string;
|
type = types.str;
|
||||||
default = "${pkgs.sway-contrib.grimshot}/bin/grimshot copy area";
|
default = "${pkgs.sway-contrib.grimshot}/bin/grimshot copy area";
|
||||||
description = "command to run when user wants to take a screenshot";
|
description = "command to run when user wants to take a screenshot";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user