From 0f68cea060fca889d70a9792345a063e58d08128 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 6 Apr 2023 18:11:22 +0100 Subject: [PATCH] Add URxvt and xresources with colour theme --- nixos/home-manager/env/xfce.nix | 1 + nixos/home-manager/env/xresources.nix | 28 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 nixos/home-manager/env/xresources.nix diff --git a/nixos/home-manager/env/xfce.nix b/nixos/home-manager/env/xfce.nix index 1a50c415..c4a5fd23 100644 --- a/nixos/home-manager/env/xfce.nix +++ b/nixos/home-manager/env/xfce.nix @@ -1,6 +1,7 @@ { pkgs, ... }: { imports = [ + ./xresources.nix ./bspwm.nix ./sxhkd.nix ./picom.nix diff --git a/nixos/home-manager/env/xresources.nix b/nixos/home-manager/env/xresources.nix new file mode 100644 index 00000000..7891d85f --- /dev/null +++ b/nixos/home-manager/env/xresources.nix @@ -0,0 +1,28 @@ +{ pkgs, ... }: +{ + xresources.extraConfig = builtins.readFile + ( + pkgs.fetchFromGitHub + { + owner = "catppuccin"; + repo = "xresources"; + rev = "d82c02323e05158ad35f302771e3695affafab78"; + sha256 = "irRQPjvcTH6AUC07Sm2l77CkrZQNHNJXxBDBSIhl1Fg="; + } + "/macchiato.Xresources" + ) + "\n" + builtins.readFile ( + pkgs.fetchFromGitHub + { + owner = "catppuccin"; + repo = "urxvt"; + rev = "ccd8eb763edd0a382b5e9bbfbd9697c4d4129edf"; + sha256 = "YFlSGJzWWB57eSXiUY4l/mSBbOY0an+qej6//YLSiuE="; + } + "/macchiato.Xresources" + ); + programs.urxvt = { + enable = true; + fonts = [ + "xft:FiraCode Nerd Font Mono:pixelsize=16" + "xft:Iosevka Nerd Font Mono:pixelsize=16" + ]; + }; +}