diff options
| author | spl3g <spleefer6@yandex.ru> | 2024-07-08 11:40:48 +0500 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-05-01 14:58:56 +0300 |
| commit | 56870b69b4006d980c1d7bc99a8ff4352a082a51 (patch) | |
| tree | 19d8c2b9a10e93355b6c32abf4f94482b8d54f37 | |
| parent | 6ad689baccd37b7866375cf8709a41b81960019b (diff) | |
set gtk key theme to emacs
| -rw-r--r-- | home-manager/homeModules/stylix.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/home-manager/homeModules/stylix.nix b/home-manager/homeModules/stylix.nix index a7b250d..5d23032 100644 --- a/home-manager/homeModules/stylix.nix +++ b/home-manager/homeModules/stylix.nix @@ -1,5 +1,4 @@ { pkgs, config, lib, inputs, ... }: -with config.lib.stylix.colors.withHashtag; { imports = [ @@ -14,7 +13,8 @@ with config.lib.stylix.colors.withHashtag; wallpaper = lib.mkOption { type = with lib.types; oneOf [str path package]; }; }; config = lib.mkIf config.stylixConfig.enable { - wallpaper = pkgs.runCommand "cat.png" {} '' + wallpaper = with config.lib.stylix.colors.withHashtag; + pkgs.runCommand "cat.png" {} '' pastel=${pkgs.pastel}/bin/pastel SHADOWS=$($pastel darken 0.1 '${base05}' | $pastel format hex) TAIL=$($pastel lighten 0.1 '${base02}' | $pastel format hex) @@ -73,5 +73,8 @@ with config.lib.stylix.colors.withHashtag; }; }; }; + gtk.gtk3.extraConfig = { + gtk-key-theme-name = "Emacs"; + }; }; } |
