Add URxvt and xresources with colour theme

This commit is contained in:
Evie Litherland-Smith 2023-04-06 18:11:22 +01:00
parent 2b77829b5e
commit 0f68cea060
2 changed files with 29 additions and 0 deletions

View file

@ -1,6 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
imports = [ imports = [
./xresources.nix
./bspwm.nix ./bspwm.nix
./sxhkd.nix ./sxhkd.nix
./picom.nix ./picom.nix

28
nixos/home-manager/env/xresources.nix vendored Normal file
View file

@ -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"
];
};
}