From 11eb849f4612965022cdb149146abb68f5ddda13 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 26 Jul 2025 07:16:36 -0700 Subject: add themes in toml format for alacritty It's easier to just drop the themes in toml format in the alacritty directory and link them instead of trying to constantly convert them into the nix configuration. Switch the theme to catppuccin-latte (dark) theme for now. Add window decoration back. --- users/programs/alacritty.nix | 90 -------------------------------------------- 1 file changed, 90 deletions(-) delete mode 100644 users/programs/alacritty.nix (limited to 'users/programs/alacritty.nix') diff --git a/users/programs/alacritty.nix b/users/programs/alacritty.nix deleted file mode 100644 index 89356cd..0000000 --- a/users/programs/alacritty.nix +++ /dev/null @@ -1,90 +0,0 @@ -{ ... }: -let - defaultFont = "Source Code Pro"; -in -{ - programs.alacritty = { - enable = true; - settings = { - selection.save_to_clipboard = true; - window = { - dimensions = { - columns = 120; - lines = 40; - }; - # Window padding (changes require restart) - # - # Blank space added around the window in pixels. This padding is scaled - # by DPI and the specified value is always added at both opposing sides. - padding = { - x = 2; - y = 2; - }; - # Spread additional padding evenly around the terminal content. - dynamic_padding = false; - decorations = "Buttonless"; - startup_mode = "Windowed"; - dynamic_title = true; - }; - scrolling = { - history = 10000; - multiplier = 3; - }; - font = { - normal.family = defaultFont; - bold = { - family = defaultFont; - style = "Bold"; - }; - italic = { - family = defaultFont; - style = "Italic"; - }; - size = 14; - offset = { - x = 0; - y = 0; - }; - glyph_offset = { - x = 0; - y = 0; - }; - }; - bell = { - animation = "EaseOutExpo"; - duration = 0; - color = "0xffffff"; - }; - colors = { - primary = { - background = "#FAFAFA"; - foreground = "#111111"; - }; - cursor = { - text = "#FAFAFA"; - cursor = "#111111"; - }; - normal = { - black = "#000000"; - red = "#AA3731"; - green = "#448C27"; - yellow = "#CB9000"; - blue = "#325CC0"; - magenta = "#7A3E9D"; - cyan = "#0083B2"; - white = "#BBBBBB"; - }; - bright = { - black = "#777777"; - red = "#F05050"; - green = "#60CB00"; - yellow = "#FFBC5D"; - blue = "#007ACC"; - magenta = "#E64CE6"; - cyan = "#00AACB"; - white = "#FFFFFF"; - }; - }; - }; - }; -} -- cgit v1.2.3