From 4aa7dda4f68cc66a1bee1215b4a535d049ad33a4 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 16 Jan 2024 13:52:00 +0000 Subject: [PATCH] Switch font to Iosevka --- flake.nix | 19 ++++++++++--------- home/hyprland/rofi/default.nix | 2 +- home/hyprland/swaync/style.css | 4 ++-- home/hyprland/waybar/style.css | 3 ++- home/nyxt/config.lisp | 2 +- 5 files changed, 16 insertions(+), 14 deletions(-) diff --git a/flake.nix b/flake.nix index 1f0b8925..e81dd0da 100644 --- a/flake.nix +++ b/flake.nix @@ -92,6 +92,7 @@ nix = { enable = true; settings = { + trusted-users = [ "root" user ]; experimental-features = [ "nix-command" "flakes" ]; auto-optimise-store = true; }; @@ -148,16 +149,18 @@ terminal = 0.8; }; fonts = rec { - sizes.terminal = 12; - serif = sansSerif; - sansSerif = { - name = "Fira Sans"; - package = pkgs.fira; + sizes = { + applications = 14; + desktop = 12; + popups = 12; + terminal = 14; }; + serif = monospace; + sansSerif = monospace; monospace = { - name = "FiraCode Nerd Font"; + name = "Iosevka Nerd Font"; package = - (pkgs.nerdfonts.override { fonts = [ "FiraCode" ]; }); + (pkgs.nerdfonts.override { fonts = [ "Iosevka" ]; }); }; emoji = { name = "Noto Color Emoji"; @@ -169,8 +172,6 @@ fonts = { packages = with pkgs; [ (nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; }) - iosevka - # iosevka-custom emacs-all-the-icons-fonts weather-icons noto-fonts diff --git a/home/hyprland/rofi/default.nix b/home/hyprland/rofi/default.nix index 1d040b98..1151b15a 100644 --- a/home/hyprland/rofi/default.nix +++ b/home/hyprland/rofi/default.nix @@ -24,7 +24,7 @@ grey = "#6c7086"; width = 600; - font = "JetBrainsMono Nerd Font 14"; + font = "Iosevka Nerd Font 14"; }; "element-text, element-icon , mode-switcher" = { diff --git a/home/hyprland/swaync/style.css b/home/hyprland/swaync/style.css index ca05e120..2210cd09 100644 --- a/home/hyprland/swaync/style.css +++ b/home/hyprland/swaync/style.css @@ -1,7 +1,7 @@ * { all: unset; - font-size: 14px; - font-family: "Fira Sans"; + font-size: 16px; + font-family: "Iosevka Nerd Font"; transition: 200ms; } diff --git a/home/hyprland/waybar/style.css b/home/hyprland/waybar/style.css index 8538de2f..68281e51 100644 --- a/home/hyprland/waybar/style.css +++ b/home/hyprland/waybar/style.css @@ -41,8 +41,9 @@ */ * { - font-family: "FiraCode Nerd Font"; + all: unset; font-size: 16px; + font-family: "Iosevka Nerd Font"; } window { diff --git a/home/nyxt/config.lisp b/home/nyxt/config.lisp index f27fb713..49d6b6a5 100644 --- a/home/nyxt/config.lisp +++ b/home/nyxt/config.lisp @@ -38,7 +38,7 @@ (theme (make-instance 'theme:theme :dark-p t - :font-family "Fira Sans" + :font-family "Iosevka Nerd Font" :text-color "#ffffff" :contrast-text-color "#000000" :background-color "#0d0e1c"