urxvtd.nix: remove xresources loading
This commit is contained in:
parent
6642d55b4d
commit
684c3d18bd
@ -1,8 +1,6 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (import ../../lib { inherit pkgs; }) shell-escape;
|
|
||||||
inherit (pkgs) writeScript;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
with builtins;
|
with builtins;
|
||||||
@ -26,13 +24,6 @@ with lib;
|
|||||||
default = pkgs.rxvt_unicode;
|
default = pkgs.rxvt_unicode;
|
||||||
description = "urxvt package to use";
|
description = "urxvt package to use";
|
||||||
};
|
};
|
||||||
xresources = mkOption {
|
|
||||||
type = types.string;
|
|
||||||
default = "";
|
|
||||||
description = ''
|
|
||||||
X server resources for urxvt.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -53,10 +44,6 @@ with lib;
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
User = user;
|
User = user;
|
||||||
ExecStartPre = writeScript "urxvtd-prestart" ''
|
|
||||||
#!/bin/sh
|
|
||||||
echo ${shell-escape cfg.xresources} | xrdb -merge
|
|
||||||
'';
|
|
||||||
ExecStart = "${urxvt}/bin/urxvtd";
|
ExecStart = "${urxvt}/bin/urxvtd";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user