diff --git a/flake.lock b/flake.lock index a6a4aa0..f1d99dd 100644 --- a/flake.lock +++ b/flake.lock @@ -134,11 +134,11 @@ "zig": "zig" }, "locked": { - "lastModified": 1737085478, - "narHash": "sha256-EzdUQf1ljtGIWMmscVzoW3rUxxN3UKyNXOXbzUvz3BQ=", + "lastModified": 1737430029, + "narHash": "sha256-z55IQogW9z4HhVeT55LlCUFKbYD5O5aLMnU5cX1WTto=", "owner": "ghostty-org", "repo": "ghostty", - "rev": "72d085525b22d66468c5969a4d507a0fa68d4a04", + "rev": "5cb2fa6f7594202b12a2603bf32094aa75b1bf0e", "type": "github" }, "original": { @@ -266,11 +266,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1737357364, - "narHash": "sha256-JhW46GBB1Nz2Dm1dn6ZX/fKYy8JDQUOUDLqabbQB06M=", + "lastModified": 1737444129, + "narHash": "sha256-RDwsCYHgjFf6iTi5JSfpOAnuQenDh8VFKU01XluVWM8=", "owner": "nix-community", "repo": "neovim-nightly-overlay", - "rev": "010ed547044c6926f746898d8876137515dd934e", + "rev": "ac8238031094d5242da26947bfc7174369c12e33", "type": "github" }, "original": { @@ -282,11 +282,11 @@ "neovim-src": { "flake": false, "locked": { - "lastModified": 1737321080, - "narHash": "sha256-0L6YAx41Yn0dzEJ/rWk1Th1EF8MSLEdNDMyEi0SMVCg=", + "lastModified": 1737414984, + "narHash": "sha256-A1ITJgtOOwhSC5wB/jfBV9ZuAftroeYRYFqA+aFKgac=", "owner": "neovim", "repo": "neovim", - "rev": "5f527f24f0ea89e9071e065530cbed449507df5c", + "rev": "855a2a75e6f7d08376c221a46e0179e5c76176ec", "type": "github" }, "original": { @@ -381,11 +381,11 @@ }, "nixpkgs-unstable_2": { "locked": { - "lastModified": 1737264083, - "narHash": "sha256-6QqSrHPN+ZD+7HuadVLuFNUaM8XnmZF3EO7QViM1b80=", + "lastModified": 1737370608, + "narHash": "sha256-hFA6SmioeqvGW/XvZa9bxniAeulksCOcj3kokdNT/YE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "aa6ae0afa6adeb5c202a168e51eda1d3da571117", + "rev": "300081d0cc72df578b02d914df941b8ec62240e6", "type": "github" }, "original": { @@ -397,11 +397,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1737110817, - "narHash": "sha256-DSenga8XjPaUV5KUFW/i3rNkN7jm9XmguW+qQ1ZJTR4=", + "lastModified": 1737370608, + "narHash": "sha256-hFA6SmioeqvGW/XvZa9bxniAeulksCOcj3kokdNT/YE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "041c867bad68dfe34b78b2813028a2e2ea70a23c", + "rev": "300081d0cc72df578b02d914df941b8ec62240e6", "type": "github" }, "original": { diff --git a/home/common/ghostty.nix b/home/common/ghostty.nix index a25f6e8..ba36fa3 100644 --- a/home/common/ghostty.nix +++ b/home/common/ghostty.nix @@ -47,60 +47,60 @@ "super+enter=toggle_fullscreen" ]; }; + themes = { + PatagiaDark = { + background = if config.patagia.oled.enable then "#000000" else "#14151a"; + foreground = "#b7bec7"; + cursor-color = "#e7e7b7"; + selection-background = "#84979f"; + selection-foreground = "#000000"; + palette = [ + "#000000" + "#ff0035" + "#85ff00" + "#ffc900" + "#00a7ff" + "#cb01ff" + "#00e0ff" + "#b7bec7" + "#444444" + "#ff8c88" + "#baff94" + "#ffe090" + "#88ccff" + "#e38dff" + "#97eeff" + "#ffffff" + ]; + }; + PatagiaLight = { + background = "#fefeff"; + foreground = "#222222"; + cursor-color = "#aa0000"; + selection-background = "#ffe6a4"; + selection-foreground = "#483600"; + palette = [ + "#000000" + "#9e001d" + "#306300" + "#deae00" + "#00669e" + "#7d009e" + "#008a9e" + "#f7f7f7" + "#b0b0b0" + "#ff0035" + "#509e00" + "#ffc900" + "#00a7ff" + "#cb01ff" + "#00e0ff" + "#ffffff" + ]; + }; + }; }; - xdg.configFile."ghostty/themes/PatagiaDark".text = - let - background = if config.patagia.oled.enable then "#000000" else "#14151a"; - in - '' - background = "${background}" - foreground = #b7bec7 - cursor-color = #e7e7b7 - selection-background = #84979f - selection-foreground = #000000 - palette = 0=#000000 - palette = 1=#ff0035 - palette = 2=#85ff00 - palette = 3=#ffc900 - palette = 4=#00a7ff - palette = 5=#cb01ff - palette = 6=#00e0ff - palette = 7=#b7bec7 - palette = 8=#444444 - palette = 9=#ff8c88 - palette = 10=#baff94 - palette = 11=#ffe090 - palette = 12=#88ccff - palette = 13=#e38dff - palette = 14=#97eeff - palette = 15=#ffffff - ''; - - xdg.configFile."ghostty/themes/PatagiaLight".text = '' - background = #fefeff - foreground = #222222 - cursor-color = #aa0000 - selection-background = #ffe6a4 - selection-foreground = #483600 - palette = 0=#000000 - palette = 1=#9e001d - palette = 2=#306300 - palette = 3=#deae00 - palette = 4=#00669e - palette = 5=#7d009e - palette = 6=#008a9e - palette = 7=#f7f7f7 - palette = 8=#b0b0b0 - palette = 9=#ff0035 - palette = 10=#509e00 - palette = 11=#ffc900 - palette = 12=#00a7ff - palette = 13=#cb01ff - palette = 14=#00e0ff - palette = 15=#ffffff - ''; - xdg.desktopEntries = { ghostty-secondary = { categories = [