writeXrandrScriptBin: fix xrandr path
This commit is contained in:
parent
02fa077d37
commit
4f22744983
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ lib, writeShellScriptBin }:
|
{ lib, writeShellScriptBin, xrandr }:
|
||||||
let
|
let
|
||||||
inherit (builtins) getAttr hasAttr isAttrs concatStringsSep;
|
inherit (builtins) getAttr hasAttr isAttrs concatStringsSep;
|
||||||
inherit (lib) assertMsg lists escapeShellArgs;
|
inherit (lib) assertMsg lists escapeShellArgs getExe;
|
||||||
inherit (lib.attrsets) mapAttrsToList;
|
inherit (lib.attrsets) mapAttrsToList;
|
||||||
inherit (lib.cli) toGNUCommandLine;
|
inherit (lib.cli) toGNUCommandLine;
|
||||||
in
|
in
|
||||||
|
@ -22,6 +22,6 @@ let
|
||||||
args = mapAttrsToList getArgList config;
|
args = mapAttrsToList getArgList config;
|
||||||
in
|
in
|
||||||
writeShellScriptBin name ''
|
writeShellScriptBin name ''
|
||||||
xrandr \
|
${getExe xrandr} \
|
||||||
${concatStringsSep " \\\n " args}
|
${concatStringsSep " \\\n " args}
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue