From 2e704b22f83a1887803693a6226fb523000be94e Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Wed, 20 Nov 2024 06:23:57 -0800 Subject: [PATCH] dwm: load xresources on boot --- modules/home/dwm.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/home/dwm.nix b/modules/home/dwm.nix index 068bc65..d5fffee 100644 --- a/modules/home/dwm.nix +++ b/modules/home/dwm.nix @@ -28,6 +28,10 @@ in --jitter ${toString (cfg.threshold - 1)} \ ${lib.concatStrings cfg.extraOptions} ''; + + home.file.".xinitrc".text = '' + [ -f ~/.Xresources ] && ${lib.getExe pkgs.xorg.xrdb} -merge ~/.Xresources + ''; }; }