home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f97cddb5bcd3587db4646de1788e2065b2b3a22d
parent 2f4b9006f2f076f67bed44e86f225139f7dd01ff
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri, 30 Nov 2018 16:17:37 +0100

i3: allow custom lock command 👅

default to slimlock.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mmodules/profiles/i3.nix | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/modules/profiles/i3.nix b/modules/profiles/i3.nix @@ -13,6 +13,11 @@ in description = "Enable i3 profile"; type = types.bool; }; + lockCmd = mkOption { + default = "slimlock"; # "i3lock-color --clock --color=606060" + description = "Lock command to use"; + type = types.str; + }; }; }; config = mkIf cfg.enable { @@ -31,7 +36,7 @@ in network-manager-applet.enable = true; screen-locker = { enable = true; - lockCmd = "i3lock-color --clock --color=606060"; + lockCmd = cfg.lockCmd; inactiveInterval = 15; }; random-background = {