From c8f5547e544653a57e3f5196e71a99b5b22b7421 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 18 Mar 2023 12:35:50 -0700 Subject: home/fonts: be more consistent in my choices - source code pro for monospace - dejavu sans for sans serif - dejavu serif for serif --- home/firefox/default.nix | 7 ++++++- home/terminal/alacritty/default.nix | 2 +- home/wm/sway/default.nix | 2 +- home/wm/waybar/style.css | 11 +++++------ 4 files changed, 13 insertions(+), 9 deletions(-) (limited to 'home') diff --git a/home/firefox/default.nix b/home/firefox/default.nix index 682f2ff..b07b82c 100644 --- a/home/firefox/default.nix +++ b/home/firefox/default.nix @@ -1,5 +1,6 @@ { config, lib, pkgs, ... }: -let cfg = config.my.home.firefox; +let + cfg = config.my.home.firefox; in { options.my.home.firefox = with lib; { @@ -48,6 +49,10 @@ in "privacy.donottrackheader.enabled" = true; "privacy.trackingprotection.enabled" = true; "privacy.trackingprotection.socialtracking.enabled" = true; + + "font.name.monospace.x-western" = "Source Code Pro"; + "font.name.sans-serif.x-western" = "DejaVu Sans"; + "font.name.serif.x-western" = "DejaVu Serif"; }; userChrome = '' diff --git a/home/terminal/alacritty/default.nix b/home/terminal/alacritty/default.nix index 1e74914..28e03fb 100644 --- a/home/terminal/alacritty/default.nix +++ b/home/terminal/alacritty/default.nix @@ -40,7 +40,7 @@ in }; }; font = { - size = 13; + size = 15; normal.family = "Source Code Pro"; }; cursor = { diff --git a/home/wm/sway/default.nix b/home/wm/sway/default.nix index f666e19..0ea5d8a 100644 --- a/home/wm/sway/default.nix +++ b/home/wm/sway/default.nix @@ -41,7 +41,7 @@ in menu = ''${pkgs.wofi}/bin/wofi -S drun -p "app:" -L 10''; bars = [ ]; fonts = { - names = [ "Bitstream Vera Serif" ]; + names = [ "Source Code Pro" ]; size = 10.0; }; keybindings = lib.mkOptionDefault { diff --git a/home/wm/waybar/style.css b/home/wm/waybar/style.css index 16f6a14..1362cd5 100644 --- a/home/wm/waybar/style.css +++ b/home/wm/waybar/style.css @@ -9,17 +9,16 @@ } window#waybar { background-color: #282A36; - color: #ccc; + color: #eee; } #workspaces button { - padding: 0 5px; + padding: 0 3px; background-color: transparent; - color: #ccc; - border-bottom: 2px solid transparent; + color: #eee; } #workspaces button.focused { - background-color: #282A36; - border-bottom: 2px solid #BBBBBB; + background-color: #285577; + border: 1px solid #4c7899; } #clock, #battery, -- cgit 1.4.1