Change to kitty

This commit is contained in:
Cyryl Płotnicki 2020-10-15 23:09:30 +01:00
parent c70ca085f0
commit 2689fafc4a
3 changed files with 40 additions and 4 deletions

View file

@ -18,7 +18,7 @@
./programs/tmux.nix ./programs/tmux.nix
./programs/zsh.nix ./programs/zsh.nix
./programs/vim.nix ./programs/vim.nix
./programs/alacritty.nix ./programs/kitty.nix
./programs/newsboat.nix ./programs/newsboat.nix
./programs.nix ./programs.nix
./links.nix ./links.nix

View file

@ -0,0 +1,39 @@
{ config, pkgs, ... }:
{
home.sessionVariables = {
TERMINAL="kitty";
};
programs.kitty = {
enable = true;
settings = {
font_size = "16.0";
font_family = "FiraCode Nerd Font";
bold_font = "auto";
italic_font = "auto";
bold_italic_font = "auto";
background = "#001e26";
foreground = "#708183";
cursor = "#708183";
selection_background = "#002731";
color0 = "#002731";
color8 = "#465a61";
color1 = "#d01b24";
color9 = "#bd3612";
color2 = "#728905";
color10 = "#465a61";
color3 = "#a57705";
color11 = "#52676f";
color4 = "#2075c7";
color12 = "#708183";
color5 = "#c61b6e";
color13 = "#5856b9";
color6 = "#259185";
color14 = "#81908f";
color7 = "#e9e2cb";
color15 = "#fcf4dc";
selection_foreground = "#001e26";
};
};
}

View file

@ -14,9 +14,6 @@ xidlehook \
--timer 60 \ --timer 60 \
'xrandr --output "$PRIMARY_DISPLAY" --brightness .1' \ 'xrandr --output "$PRIMARY_DISPLAY" --brightness .1' \
'xrandr --output "$PRIMARY_DISPLAY" --brightness 1' \ 'xrandr --output "$PRIMARY_DISPLAY" --brightness 1' \
--timer 10 \
'xrandr --output "$PRIMARY_DISPLAY" --brightness 1; physlock -d' \
'' \
--timer 600 \ --timer 600 \
'xrandr --output "$PRIMARY_DISPLAY" --brightness 1; systemctl suspend' \ 'xrandr --output "$PRIMARY_DISPLAY" --brightness 1; systemctl suspend' \
'' ''