diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-09-01 15:46:40 -0500 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-09-01 15:46:40 -0500 |
| commit | 464e39e3d96b513c0ae9d9b07bcc5ae47b48e622 (patch) | |
| tree | b95a6cce1bf4a540d5c777c7f01fc9864d82a26f /modules/desktop/system/programs | |
| parent | eb4c6fa1ba1e3a3bfe2291727bc89e0928139b8e (diff) | |
start using the terminal more on jupiter => make some changes
Diffstat (limited to 'modules/desktop/system/programs')
| -rw-r--r-- | modules/desktop/system/programs/alacritty.nix | 76 | ||||
| -rw-r--r-- | modules/desktop/system/programs/blackbox.nix | 2 |
2 files changed, 78 insertions, 0 deletions
diff --git a/modules/desktop/system/programs/alacritty.nix b/modules/desktop/system/programs/alacritty.nix new file mode 100644 index 0000000..f73a901 --- /dev/null +++ b/modules/desktop/system/programs/alacritty.nix @@ -0,0 +1,76 @@ +{ + pkgs, + config, + lib, + ... +}: let + cfg = config.collinux.desktop.programs.alacritty; +in + lib.mkIf cfg.enable { + hjem.users."${config.collinux.user.name}" = { + files.".config/alacritty/alacritty.toml" = { + value = { + general = { + import = ["keys.toml" "colors.toml"]; + live_config_reload = true; + }; + font = { + normal.family = "Iosevka Nerd Font"; + size = 12; + }; + }; + generator = (pkgs.formats.toml {}).generate "alacritty.toml"; + }; + + files.".config/alacritty/colors.toml".text = '' + [colors] + draw_bold_text_with_bright_colors = false + + # Default colors + [colors.primary] + background = '#242424' + foreground = '#C5C6C5' + + # Colors the cursor will use if `custom_cursor_colors` is true + [colors.cursor] + text = '#2D3234' + cursor = '#C5C6C5' + + # Normal colors + [colors.normal] + black = '#2D3234' + red = '#FFA500' + green = '#6FEE91' + yellow = '#91EE6F' + blue = '#916FB4' + magenta = '#EE6F91' + cyan = '#6F91B4' + white = '#C5C6C5' + + # Bright colors + [colors.bright] + black = '#566164' + red = '#FFFF60' + green = '#33393B' + yellow = '#4B5356' + blue = '#919494' + magenta = '#D3D4D5' + cyan = '#EE6F6F' + white = '#EEEEEC' + ''; + + files.".config/alacritty/keys.toml".text = '' + [[keyboard.bindings]] + chars = "\u001b[27;5;9~" + key = "Tab" + mods = "Control" + + [[keyboard.bindings]] + chars = "\u001b[27;5;13~" + key = "Enter" + mods = "Control" + ''; + + packages = [pkgs.alacritty]; + }; + } diff --git a/modules/desktop/system/programs/blackbox.nix b/modules/desktop/system/programs/blackbox.nix index 37567b5..9cff44a 100644 --- a/modules/desktop/system/programs/blackbox.nix +++ b/modules/desktop/system/programs/blackbox.nix @@ -20,6 +20,8 @@ in show-scrollbars = false; terminal-padding = lib.gvariant.mkTuple (builtins.map lib.gvariant.mkInt16 [10 10 10 10]); + font = "Iosevka Nerd Font 12"; + floating-controls = false; show-headerbar = true; }; |
