configure fonts via stylix

This commit is contained in:
Markus Heurung 2024-06-19 15:26:43 +02:00
parent 4d107d3e4a
commit 8926441e62

View file

@ -194,10 +194,10 @@
kitty = { kitty = {
enable = true; enable = true;
shellIntegration.enableFishIntegration = true; shellIntegration.enableFishIntegration = true;
font = { # font = {
name = lib.mkForce "Iosevka Nerd Font"; # name = lib.mkForce "Iosevka Nerd Font";
size = lib.mkForce 14; # size = lib.mkForce 14;
}; # };
keybindings = { keybindings = {
"ctrl+shift+g" = "show_last_command_output"; "ctrl+shift+g" = "show_last_command_output";
"ctrl+alt+enter" = "launch --cwd=current"; "ctrl+alt+enter" = "launch --cwd=current";
@ -490,10 +490,23 @@
}; };
stylix = { stylix = {
enable = true;
image = /home/muhh/Sync/Backgrounds/wald.jpg; image = /home/muhh/Sync/Backgrounds/wald.jpg;
polarity = "dark"; polarity = "dark";
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml"; # base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
#base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-city-terminal-dark.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-city-terminal-dark.yaml";
fonts = {
monospace = {
package = (pkgs.nerdfonts.override { fonts = [ "Iosevka" ]; });
name = "Iosevka Nerd Font";
};
sizes = {
applications = 12;
desktop = 10;
popups = 10;
terminal = 14;
};
};
}; };
wayland.windowManager = { wayland.windowManager = {