mirror of
https://github.com/kmein/niveum
synced 2026-03-19 11:31:09 +01:00
fix: update alacritty
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
niveum.applications.terminal = "alacritty";
|
niveum.applications.terminal = "alacritty";
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.alacritty
|
pkgs.unstable.alacritty
|
||||||
pkgs.alacritty.terminfo
|
pkgs.unstable.alacritty.terminfo
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.me.xdg.configFile."alacritty/alacritty.yml".text =
|
home-manager.users.me.xdg.configFile."alacritty/alacritty.yml".text =
|
||||||
@@ -15,14 +15,13 @@
|
|||||||
colors = {
|
colors = {
|
||||||
primary = {
|
primary = {
|
||||||
inherit (config.niveum.colours) background foreground;
|
inherit (config.niveum.colours) background foreground;
|
||||||
dim_foreground = config.niveum.colours.background;
|
|
||||||
};
|
};
|
||||||
normal = lib.mapAttrs (_: colour: colour.dark) colours;
|
normal = lib.mapAttrs (_: colour: colour.dark) colours;
|
||||||
bright = lib.mapAttrs (_: colour: colour.bright) colours;
|
bright = lib.mapAttrs (_: colour: colour.bright) colours;
|
||||||
};
|
};
|
||||||
font = {
|
font = {
|
||||||
normal.family = config.niveum.fonts.terminal.name;
|
normal.family = "Monospace";
|
||||||
size = config.niveum.fonts.terminal.size - 2;
|
size = config.niveum.fonts.size - 2;
|
||||||
};
|
};
|
||||||
key_bindings = [
|
key_bindings = [
|
||||||
{ key = "Add"; mods = "Control"; action = "IncreaseFontSize"; }
|
{ key = "Add"; mods = "Control"; action = "IncreaseFontSize"; }
|
||||||
|
|||||||
@@ -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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -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);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user