about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-03-18 12:35:50 -0700
committerFranck Cuny <franck@fcuny.net>2023-03-18 12:35:50 -0700
commitc8f5547e544653a57e3f5196e71a99b5b22b7421 (patch)
tree530dc3b38955130b4c305de2ab28029e1f6d5e5d /home
parenthosts: it's time to switch to schedutil (diff)
downloadworld-c8f5547e544653a57e3f5196e71a99b5b22b7421.tar.gz
home/fonts: be more consistent in my choices
- source code pro for monospace
- dejavu sans for sans serif
- dejavu serif for serif
Diffstat (limited to 'home')
-rw-r--r--home/firefox/default.nix7
-rw-r--r--home/terminal/alacritty/default.nix2
-rw-r--r--home/wm/sway/default.nix2
-rw-r--r--home/wm/waybar/style.css11
4 files changed, 13 insertions, 9 deletions
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,