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