tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
unclutter: respect xserver.display variable
Anders Papitto
9 years ago
49879fa9
54fa0cfe
+1
-7
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
x11
unclutter.nix
+1
-7
nixos/modules/services/x11/unclutter.nix
···
39
default = 1;
40
};
41
42
-
displayName = mkOption {
43
-
description = "Name of the X11 display";
44
-
type = types.str;
45
-
default = ":0";
46
-
};
47
-
48
excluded = mkOption {
49
description = "Names of windows where unclutter should not apply";
50
type = types.listOf types.str;
···
67
serviceConfig.ExecStart = ''
68
${cfg.package}/bin/unclutter \
69
-idle ${toString cfg.timeout} \
70
-
-display ${cfg.displayName} \
71
-jitter ${toString (cfg.threeshold - 1)} \
72
${optionalString cfg.keystroke "-keystroke"} \
73
${concatMapStrings (x: " -"+x) cfg.extraOptions} \
···
39
default = 1;
40
};
41
0
0
0
0
0
0
42
excluded = mkOption {
43
description = "Names of windows where unclutter should not apply";
44
type = types.listOf types.str;
···
61
serviceConfig.ExecStart = ''
62
${cfg.package}/bin/unclutter \
63
-idle ${toString cfg.timeout} \
64
+
-display :${toString config.services.xserver.display} \
65
-jitter ${toString (cfg.threeshold - 1)} \
66
${optionalString cfg.keystroke "-keystroke"} \
67
${concatMapStrings (x: " -"+x) cfg.extraOptions} \