Steam deck perhaps
This commit is contained in:
81
users/configs/system/kitty/catppuccin.conf
Normal file
81
users/configs/system/kitty/catppuccin.conf
Normal file
@@ -0,0 +1,81 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
## name: Catppuccin Kitty Macchiato
|
||||
## author: Catppuccin Org
|
||||
## license: MIT
|
||||
## upstream: https://github.com/catppuccin/kitty/blob/main/macchiato.conf
|
||||
## blurb: Soothing pastel theme for the high-spirited!
|
||||
|
||||
|
||||
|
||||
# The basic colors
|
||||
foreground #CAD3F5
|
||||
background #24273A
|
||||
selection_foreground #24273A
|
||||
selection_background #F4DBD6
|
||||
|
||||
# Cursor colors
|
||||
cursor #F4DBD6
|
||||
cursor_text_color #24273A
|
||||
|
||||
# URL underline color when hovering with mouse
|
||||
url_color #F4DBD6
|
||||
|
||||
# Kitty window border colors
|
||||
active_border_color #B7BDF8
|
||||
inactive_border_color #6E738D
|
||||
bell_border_color #EED49F
|
||||
|
||||
# OS Window titlebar colors
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #181926
|
||||
active_tab_background #C6A0F6
|
||||
inactive_tab_foreground #CAD3F5
|
||||
inactive_tab_background #1E2030
|
||||
tab_bar_background #181926
|
||||
tab_bar_margin_color #181926
|
||||
|
||||
# Colors for marks (marked text in the terminal)
|
||||
mark1_foreground #24273A
|
||||
mark1_background #B7BDF8
|
||||
mark2_foreground #24273A
|
||||
mark2_background #C6A0F6
|
||||
mark3_foreground #24273A
|
||||
mark3_background #7DC4E4
|
||||
|
||||
# The 16 terminal colors
|
||||
|
||||
# black
|
||||
color0 #494D64
|
||||
color8 #5B6078
|
||||
|
||||
# red
|
||||
color1 #ED8796
|
||||
color9 #ED8796
|
||||
|
||||
# green
|
||||
color2 #A6DA95
|
||||
color10 #A6DA95
|
||||
|
||||
# yellow
|
||||
color3 #EED49F
|
||||
color11 #EED49F
|
||||
|
||||
# blue
|
||||
color4 #8AADF4
|
||||
color12 #8AADF4
|
||||
|
||||
# magenta
|
||||
color5 #F5BDE6
|
||||
color13 #F5BDE6
|
||||
|
||||
# cyan
|
||||
color6 #8BD5CA
|
||||
color14 #8BD5CA
|
||||
|
||||
# white
|
||||
color7 #B8C0E0
|
||||
color15 #A5ADCB
|
||||
107
users/configs/system/kitty/default.nix
Normal file
107
users/configs/system/kitty/default.nix
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
hostname,
|
||||
...
|
||||
}: let
|
||||
wrap_gl = program: let
|
||||
name = lib.strings.getName program.name;
|
||||
in
|
||||
pkgs.symlinkJoin {
|
||||
name = name;
|
||||
paths = [
|
||||
(pkgs.writeShellScriptBin name ''
|
||||
${pkgs.nixgl.nixGLIntel}/bin/nixGLIntel ${program}/bin/${name}
|
||||
'')
|
||||
program
|
||||
];
|
||||
};
|
||||
|
||||
package =
|
||||
if hostname == "deck"
|
||||
then (wrap_gl pkgs.kitty)
|
||||
else pkgs.kitty;
|
||||
in {
|
||||
home.file.".config/kitty/catppuccin.conf" = {
|
||||
source = ./catppuccin.conf;
|
||||
};
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
font = {
|
||||
name = "Iosevka Nerd Font";
|
||||
};
|
||||
package = package;
|
||||
settings = {
|
||||
"include" = "catppuccin.conf";
|
||||
"scrollback_lines" = 50000;
|
||||
|
||||
"shell_integration" = "enabled no-cursor";
|
||||
|
||||
"cursor_shape" = "underline";
|
||||
"cursor_blink_interval" = 0;
|
||||
|
||||
"disable_ligatures" = "always";
|
||||
|
||||
"enable_audio_bell" = "no";
|
||||
|
||||
"tab_bar_margin_width" = "10";
|
||||
"tab_bar_margin_height" = "0 1";
|
||||
|
||||
"tab_bar_edge" = "top";
|
||||
"tab_bar_style" = "powerline";
|
||||
"tab_powerline_style" = "slanted";
|
||||
# "foreground" = "#f8f8f2";
|
||||
# "background" = "#282a36";
|
||||
# "selection_foreground" = "#ffffff";
|
||||
# "selection_background" = "#44475a";
|
||||
#
|
||||
# "url_color" = "#8be9fd";
|
||||
#
|
||||
# # black
|
||||
# "color0" = "#21222c";
|
||||
# "color8" = "#6272a4";
|
||||
#
|
||||
# # red
|
||||
# "color1" = "#ff5555";
|
||||
# "color9" = "#ff6e6e";
|
||||
#
|
||||
# # green
|
||||
# "color2" = "#50fa7b";
|
||||
# "color10" = "#69ff94";
|
||||
#
|
||||
# # yellow
|
||||
# "color3" = "#f1fa8c";
|
||||
# "color11" = "#ffffa5";
|
||||
#
|
||||
# # blue
|
||||
# "color4" = "#bd93f9";
|
||||
# "color12" = "#d6acff";
|
||||
#
|
||||
# # magenta
|
||||
# "color5" = "#ff79c6";
|
||||
# "color13" = "#ff92df";
|
||||
#
|
||||
# # cyan
|
||||
# "color6" = "#8be9fd";
|
||||
# "color14" = "#a4ffff";
|
||||
#
|
||||
# # white
|
||||
# "color7" = "#f8f8f2";
|
||||
# "color15" = "#ffffff";
|
||||
#
|
||||
# # Cursor colors
|
||||
# "cursor" = "#f8f8f2";
|
||||
# "cursor_text_color" = "background";
|
||||
#
|
||||
# # Tab bar colors
|
||||
# "active_tab_foreground" = "#282a36";
|
||||
# "active_tab_background" = "#f8f8f2";
|
||||
# "inactive_tab_foreground" = "#282a36";
|
||||
# "inactive_tab_background" = "#6272a4";
|
||||
#
|
||||
# # Marks
|
||||
# "mark1_foreground" = "#282a36";
|
||||
# "mark1_background" = "#ff5555";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user