Switch to Alacritty
This commit is contained in:
parent
b4854f59df
commit
e7298e005b
4 changed files with 60 additions and 44 deletions
|
|
@ -3,6 +3,9 @@
|
||||||
|
|
||||||
environment.pathsToLink = [ "/share/zsh" ];
|
environment.pathsToLink = [ "/share/zsh" ];
|
||||||
home-manager.users.froidmpa = { pkgs, config, ... }: {
|
home-manager.users.froidmpa = { pkgs, config, ... }: {
|
||||||
|
|
||||||
|
imports = [ ./froidmpa/alacritty.nix ];
|
||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
packageOverrides = pkgs: {
|
packageOverrides = pkgs: {
|
||||||
|
|
@ -72,9 +75,8 @@
|
||||||
rofi = {
|
rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "gruvbox-dark";
|
theme = "gruvbox-dark";
|
||||||
terminal = "urxvt";
|
terminal = "alacritty";
|
||||||
};
|
};
|
||||||
urxvt = import ./froidmpa/urxvt.nix { inherit pkgs; };
|
|
||||||
neovim = import ./froidmpa/neovim.nix { inherit pkgs; };
|
neovim = import ./froidmpa/neovim.nix { inherit pkgs; };
|
||||||
bat.enable = true;
|
bat.enable = true;
|
||||||
jq.enable = true;
|
jq.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ import XMonad.Util.WorkspaceCompare
|
||||||
import XMonad.Util.Run
|
import XMonad.Util.Run
|
||||||
import XMonad.Util.EZConfig
|
import XMonad.Util.EZConfig
|
||||||
|
|
||||||
myTerminal = "urxvt"
|
myTerminal = "alacritty"
|
||||||
mySelectScreenshot = "scrot -s"
|
mySelectScreenshot = "scrot -s"
|
||||||
myScreenshot = "scrot"
|
myScreenshot = "scrot"
|
||||||
|
|
||||||
|
|
|
||||||
55
users/froidmpa/alacritty.nix
Normal file
55
users/froidmpa/alacritty.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
programs.alacritty = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
colors = {
|
||||||
|
# (Gruvbox dark)
|
||||||
|
primary = {
|
||||||
|
background = "0x1d2021";
|
||||||
|
foreground = "0xebdbb2";
|
||||||
|
};
|
||||||
|
normal = {
|
||||||
|
black = "0x282828";
|
||||||
|
red = "0xcc241d";
|
||||||
|
green = "0x98971a";
|
||||||
|
yellow = "0xd79921";
|
||||||
|
blue = "0x458588";
|
||||||
|
magenta = "0xb16286";
|
||||||
|
cyan = "0x689d6a";
|
||||||
|
white = "0xa89984";
|
||||||
|
};
|
||||||
|
bright = {
|
||||||
|
black = "0x928374";
|
||||||
|
red = "0xfb4934";
|
||||||
|
green = "0xb8bb26";
|
||||||
|
yellow = "0xfabd2f";
|
||||||
|
blue = "0x83a598";
|
||||||
|
magenta = "0xd3869b";
|
||||||
|
cyan = "0x8ec07c";
|
||||||
|
white = "0xebdbb2";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
window = {
|
||||||
|
padding = {
|
||||||
|
x = 5;
|
||||||
|
y = 5;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
scrolling.history = 65535;
|
||||||
|
font.size = 8;
|
||||||
|
key_bindings = [
|
||||||
|
{
|
||||||
|
key = "Up";
|
||||||
|
mods = "Control";
|
||||||
|
action = "IncreaseFontSize";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "Down";
|
||||||
|
mods = "Control";
|
||||||
|
action = "DecreaseFontSize";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,41 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.rxvt_unicode-with-plugins;
|
|
||||||
fonts = [ "xft:monospace:size=12:antialias=true" ];
|
|
||||||
scroll = {
|
|
||||||
bar.enable = false;
|
|
||||||
lines = 65535;
|
|
||||||
};
|
|
||||||
keybindings = {
|
|
||||||
"Shift-Control-C" = "eval:selection_to_clipboard";
|
|
||||||
"Shift-Control-V" = "eval:paste_clipboard";
|
|
||||||
};
|
|
||||||
extraConfig = {
|
|
||||||
"perl-ext-common" = "default,clipboard,matcher,resize-font";
|
|
||||||
"background" = "rgba:28ff/28ff/28ff/cf00";
|
|
||||||
"foreground" = "#ebdbb2";
|
|
||||||
"color0" = "#282828";
|
|
||||||
"color8" = "#928374";
|
|
||||||
"color1" = "#cc241d";
|
|
||||||
"color9" = "#fb4934";
|
|
||||||
"color2" = "#98971a";
|
|
||||||
"color10" = "#b8bb26";
|
|
||||||
"color3" = "#d79921";
|
|
||||||
"color11" = "#fabd2f";
|
|
||||||
"color4" = "#458588";
|
|
||||||
"color12" = "#83a598";
|
|
||||||
"color5" = "#b16286";
|
|
||||||
"color13" = "#d3869b";
|
|
||||||
"color6" = "#689d6a";
|
|
||||||
"color14" = "#8ec07c";
|
|
||||||
"color7" = "#a89984";
|
|
||||||
"color15" = "#ebdbb2";
|
|
||||||
"termName" = "rxvt-256color";
|
|
||||||
"letterSpace" = "-1";
|
|
||||||
"internalBorder" = "10";
|
|
||||||
"depth" = "32";
|
|
||||||
"resize-font.smaller" = "C-Down";
|
|
||||||
"resize-font.bigger" = "C-Up";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue