From ee887ef04a4b4235078027aaf2d6f49da97c361f Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 4 May 2021 16:00:21 +0200 Subject: [PATCH] home: i3: adapt to new font module See nix-community/home-manager#9ffb206 --- home/x/i3.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/home/x/i3.nix b/home/x/i3.nix index 2dece35..400803c 100644 --- a/home/x/i3.nix +++ b/home/x/i3.nix @@ -41,7 +41,10 @@ in { statusCommand = "i3status-rs ${barConfigPath}"; position = "top"; - fonts = [ "DejaVuSansMono" "FontAwesome5Free 9" ]; + fonts = { + names = [ "DejaVuSansMono" "FontAwesome5Free" ]; + size = 9.0; + }; colors = i3Theme.bar; @@ -69,9 +72,10 @@ in workspaceAutoBackAndForth = true; - fonts = [ - "DejaVu Sans Mono 8" - ]; + fonts = { + names = [ "DejaVu Sans Mono" ]; + size = 8.0; + }; keybindings = lib.mkOptionDefault { "${modifier}+Shift+e" = ''mode "${logoutMode}"'';