diff --git a/configs/alacritty.nix b/configs/alacritty.nix index aa10097..dae7b2a 100644 --- a/configs/alacritty.nix +++ b/configs/alacritty.nix @@ -3,8 +3,8 @@ niveum.applications.terminal = "alacritty"; environment.systemPackages = [ - pkgs.alacritty - pkgs.alacritty.terminfo + pkgs.unstable.alacritty + pkgs.unstable.alacritty.terminfo ]; home-manager.users.me.xdg.configFile."alacritty/alacritty.yml".text = @@ -15,14 +15,13 @@ colors = { primary = { inherit (config.niveum.colours) background foreground; - dim_foreground = config.niveum.colours.background; }; normal = lib.mapAttrs (_: colour: colour.dark) colours; bright = lib.mapAttrs (_: colour: colour.bright) colours; }; font = { - normal.family = config.niveum.fonts.terminal.name; - size = config.niveum.fonts.terminal.size - 2; + normal.family = "Monospace"; + size = config.niveum.fonts.size - 2; }; key_bindings = [ { key = "Add"; mods = "Control"; action = "IncreaseFontSize"; } diff --git a/configs/urxvt.nix b/configs/urxvt.nix deleted file mode 100644 index 50c0403..0000000 --- a/configs/urxvt.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ pkgs, config, ... }: -{ - services.urxvtd.enable = true; - - niveum.applications.terminal = "urxvtc"; - - home-manager.users.me.programs.urxvt = { - enable = true; - package = pkgs.rxvt_unicode-with-plugins; - keybindings = { - "Shift-Control-C" = "eval:selection_to_clipboard"; - "Shift-Control-V" = "eval:paste_clipboard"; - }; - scroll.bar.enable = false; - extraConfig = { - perl-ext = "default,url-select"; - "url-select.launcher" = "/usr/bin/env chromium"; - "url-select.underline" = true; - "colorUL" = config.niveum.colours.blue.bright; - "perl-lib" = "${pkgs.urxvt_perls}/lib/urxvt/perl"; - urlLauncher = "/usr/bin/env chromium"; - fading = 20; - iso14755 = false; - urgentOnBell = true; - reverseVideo = false; - }; - }; -} diff --git a/configs/xresources.nix b/configs/xresources.nix deleted file mode 100644 index ea4b155..0000000 --- a/configs/xresources.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ config, lib, ... }: -let - inherit (lib.attrsets) nameValuePair listToAttrs; - inherit (lib.lists) imap0; -in -{ - home-manager.users.me.xresources.properties = with config.niveum; { - "*background" = colours.background; - "*foreground" = colours.foreground; - "*fadeColor" = colours.background; - "*cursorColor" = colours.cursor; - "*.font" = "xft:${fonts.terminal.name}:size=${toString fonts.terminal.size}"; - "*.boldFont" = "xft:${fonts.terminal.name}:style=Bold:size=${toString fonts.terminal.size}"; - "*.italicFont" = "xft:${fonts.terminal.name}:style=Italic:size=${toString fonts.terminal.size}"; - } // listToAttrs (imap0 (i: c: nameValuePair "*color${toString i}" c) colourPalette); -}