Update themes, make ghostty the default

This commit is contained in:
Henry Sipp
2025-07-02 15:24:32 -05:00
parent c6b7a700f6
commit c818f6cada
21 changed files with 98 additions and 95 deletions
+9 -1
View File
@@ -14,7 +14,15 @@ lib: {
description = "Main user's email address";
};
theme = lib.mkOption {
type = lib.types.enum ["tokyo-night" "kanagawa" "everforest" "catppuccin" "nord" "gruvbox"];
type = lib.types.enum [
"tokyo-night"
"kanagawa"
"everforest"
"catppuccin"
"nord"
"gruvbox"
"gruvbox-light"
];
default = "tokyo-night";
description = "Theme to use for Omarchy configuration";
};

Before

Width:  |  Height:  |  Size: 5.7 MiB

After

Width:  |  Height:  |  Size: 5.7 MiB

Before

Width:  |  Height:  |  Size: 882 KiB

After

Width:  |  Height:  |  Size: 882 KiB

Before

Width:  |  Height:  |  Size: 925 KiB

After

Width:  |  Height:  |  Size: 925 KiB

Before

Width:  |  Height:  |  Size: 20 MiB

After

Width:  |  Height:  |  Size: 20 MiB

Before

Width:  |  Height:  |  Size: 800 KiB

After

Width:  |  Height:  |  Size: 800 KiB

-66
View File
@@ -1,66 +0,0 @@
{
config,
pkgs,
...
}: let
cfg = config.omarchy;
in {
programs.alacritty = {
enable = true;
settings = {
# Window settings
window = {
padding = {
x = 14;
y = 14;
};
decorations = "none";
opacity = 0.95;
};
font = {
normal = {
family = cfg.primary_font;
style = "Regular";
};
bold = {
family = cfg.primary_font;
style = "Bold";
};
italic = {
family = cfg.primary_font;
style = "Italic";
};
bold_italic = {
family = cfg.primary_font;
style = "Bold Italic";
};
size = 11.0;
};
# Colors
colors = {
primary.background = "#${config.colorScheme.palette.base00}";
primary.foreground = "#${config.colorScheme.palette.base05}";
normal.black = "#${config.colorScheme.palette.base00}";
normal.red = "#${config.colorScheme.palette.base08}";
normal.green = "#${config.colorScheme.palette.base0B}";
normal.yellow = "#${config.colorScheme.palette.base0A}";
normal.blue = "#${config.colorScheme.palette.base0D}";
normal.magenta = "#${config.colorScheme.palette.base0E}";
normal.cyan = "#${config.colorScheme.palette.base0C}";
normal.white = "#${config.colorScheme.palette.base05}";
bright.black = "#${config.colorScheme.palette.base03}";
bright.red = "#${config.colorScheme.palette.base09}";
bright.green = "#${config.colorScheme.palette.base01}";
bright.yellow = "#${config.colorScheme.palette.base02}";
bright.blue = "#${config.colorScheme.palette.base04}";
bright.magenta = "#${config.colorScheme.palette.base06}";
bright.cyan = "#${config.colorScheme.palette.base0F}";
bright.white = "#${config.colorScheme.palette.base07}";
};
};
};
}
+1 -1
View File
@@ -13,7 +13,7 @@ in {
(import ./hyprlock.nix inputs)
(import ./hyprpaper.nix)
(import ./hypridle.nix)
(import ./alacritty.nix)
(import ./ghostty.nix)
(import ./btop.nix)
(import ./direnv.nix)
(import ./git.nix)
+57
View File
@@ -0,0 +1,57 @@
{
config,
pkgs,
...
}: let
cfg = config.omarchy;
palette = config.colorScheme.palette;
in {
programs.ghostty = {
enable = true;
settings = {
# Window settings
window-padding-x = 14;
window-padding-y = 14;
background-opacity = 0.95;
window-decoration = "none";
font-family = cfg.primary_font;
font-size = 12;
theme = "omarchy";
};
themes = {
omarchy = {
background = "#${palette.base00}";
foreground = "#${palette.base05}";
selection-background = "#${palette.base02}";
selection-foreground = "#${palette.base00}";
palette = [
"0=#${palette.base00}"
"1=#${palette.base08}"
"2=#${palette.base0B}"
"3=#${palette.base0A}"
"4=#${palette.base0D}"
"5=#${palette.base0E}"
"6=#${palette.base0C}"
"7=#${palette.base05}"
"8=#${palette.base03}"
"9=#${palette.base08}"
"10=#${palette.base0B}"
"11=#${palette.base0A}"
"12=#${palette.base0D}"
"13=#${palette.base0E}"
"14=#${palette.base0C}"
"15=#${palette.base07}"
"16=#${palette.base09}"
"17=#${palette.base0F}"
"18=#${palette.base01}"
"19=#${palette.base02}"
"20=#${palette.base04}"
"21=#${palette.base06}"
];
};
};
};
}
+1 -1
View File
@@ -91,7 +91,7 @@ in {
"SUPER, PRINT, exec, hyprpicker -a"
# Clipse
"CTRL SUPER, V, exec, alacritty --class clipse -e clipse"
"CTRL SUPER, V, exec, ghostty --class clipse -e clipse"
];
bindm = [
@@ -15,7 +15,7 @@ in {
];
wayland.windowManager.hyprland.settings = {
# Default applications
"$terminal" = lib.mkDefault "alacritty";
"$terminal" = lib.mkDefault "ghostty";
"$fileManager" = lib.mkDefault "nautilus --new-window";
"$browser" = lib.mkDefault "chromium --new-window --ozone-platform=wayland";
"$music" = lib.mkDefault "spotify";
@@ -18,9 +18,6 @@
"float, class:^(steam)$"
"fullscreen, class:^(com.libretro.RetroArch)$"
# Just dash of transparency
"opacity 0.97 0.9, class:.*"
"opacity 1 0.97, class:^(chromium|google-chrome|google-chrome-unstable)$"
+5 -3
View File
@@ -4,11 +4,10 @@ inputs: {
lib,
...
}: let
palette = config.colorScheme.palette;
convert = inputs.nix-colors.lib.conversions.hexToRGBString;
backgroundRgb = "rgb(${convert ", " palette.base00 })";
backgroundRgb = "rgba(${convert ", " palette.base00}, 0.8)";
surfaceRgb = "rgb(${convert ", " palette.base02})";
foregroundRgb = "rgb(${convert ", " palette.base0B})";
foregroundMutedRgb = "rgb(${convert ", " palette.base04})";
@@ -25,7 +24,10 @@ in {
};
background = {
monitor = "";
color = backgroundRgb;
path = "screenshot";
# color = backgroundRgb;
blur_passes = 3;
brightness = 0.6;
};
input-field = {
+4 -1
View File
@@ -20,6 +20,9 @@
"gruvbox" = [
"gruvbox-1.jpg"
];
"gruvbox-light" = [
"gruvbox-1.jpg"
];
};
selected_wallpaper = builtins.elemAt (wallpapers.${cfg.theme}) 0;
@@ -27,7 +30,7 @@
in {
home.file = {
"Pictures/Wallpapers" = {
source = ../../config/themes/${cfg.theme}/wallpapers;
source = ../../config/themes/wallpapers;
recursive = true;
};
};
+1
View File
@@ -21,6 +21,7 @@ in {
extensions = with pkgs.vscode-extensions;
[
bbenoist.nix
vscodevim.vim
]
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
+2 -2
View File
@@ -68,7 +68,7 @@
cpu = {
interval = 5;
format = "󰍛";
on-click = "alacritty -e btop";
on-click = "ghostty -e btop";
};
clock = {
format = "{:%A %I:%M %p}";
@@ -86,7 +86,7 @@
tooltip-format-disconnected = "Disconnected";
interval = 3;
nospacing = 1;
on-click = "alacritty -e iwctl";
on-click = "ghostty -e iwctl";
};
battery = {
interval = 5;
-2
View File
@@ -38,6 +38,4 @@ in {
noto-fonts-emoji
nerd-fonts.caskaydia-mono
];
}
-1
View File
@@ -8,7 +8,6 @@
pavucontrol
brightnessctl
ffmpeg
alacritty
nautilus
hyprshot
hyprpicker
+4
View File
@@ -26,5 +26,9 @@
base16-theme = "gruvbox-dark-hard";
vscode-theme = "Gruvbox Dark Hard";
};
"gruvbox-light" = {
base16-theme = "gruvbox-light-medium";
vscode-theme = "Gruvbox Light Medium";
};
# Add more themes here
}