diff --git a/dotfiles/alacritty.yml b/dotfiles/alacritty.yml new file mode 100644 index 0000000..98f5b2f --- /dev/null +++ b/dotfiles/alacritty.yml @@ -0,0 +1,37 @@ +font: + normal: + family: Cascadia Code + size: 12 + +background_opacity: 0.9 +draw_bold_text_with_bright_colors: true + +colors: + primary: + background: "0x2D2A2E" + foreground: "0xFCFCFA" + + normal: + black: "0x2d2a2e" + red: "0xcc6666" + green: "0xa9dc76" + yellow: "0xffd866" + blue: "0x78dce8" + magenta: "0xff6181" + cyan: "0x55dbbe" + white: "0xd6d6d6" + bright: + black: "0x757878" + red: "0xcc6666" + green: "0xa9dc76" + yellow: "0xffd866" + blue: "0x78dce8" + magenta: "0xff6181" + cyan: "0x55dbbe" + white: "0xd6d6d6" + +window: + dynamic_title: true + +env: + TERM: xterm-256color diff --git a/roles/base.nix b/roles/base.nix index cc944d0..e454748 100644 --- a/roles/base.nix +++ b/roles/base.nix @@ -56,6 +56,7 @@ . "$(fzf-share)/completion.bash" . <(z --init bash) ''; + shellAliases = { cat = "bat -pp"; less = "bat -p"; diff --git a/roles/desktop.nix b/roles/desktop.nix index 74e35dd..95c7514 100644 --- a/roles/desktop.nix +++ b/roles/desktop.nix @@ -22,6 +22,7 @@ etc = { "sway/config".source = ../dotfiles/sway/config; "sway/status.toml".source = ../dotfiles/sway/status.toml; + "xdg/alacritty/alacritty.yml".source = ../dotfiles/alacritty.yml; }; };