home: i3: adapt to new font module

See nix-community/home-manager#9ffb206
This commit is contained in:
Antoine Martin 2021-05-04 16:00:21 +02:00
parent 2da1d17dd5
commit ee887ef04a

View file

@ -41,7 +41,10 @@ in
{ {
statusCommand = "i3status-rs ${barConfigPath}"; statusCommand = "i3status-rs ${barConfigPath}";
position = "top"; position = "top";
fonts = [ "DejaVuSansMono" "FontAwesome5Free 9" ]; fonts = {
names = [ "DejaVuSansMono" "FontAwesome5Free" ];
size = 9.0;
};
colors = i3Theme.bar; colors = i3Theme.bar;
@ -69,9 +72,10 @@ in
workspaceAutoBackAndForth = true; workspaceAutoBackAndForth = true;
fonts = [ fonts = {
"DejaVu Sans Mono 8" names = [ "DejaVu Sans Mono" ];
]; size = 8.0;
};
keybindings = lib.mkOptionDefault { keybindings = lib.mkOptionDefault {
"${modifier}+Shift+e" = ''mode "${logoutMode}"''; "${modifier}+Shift+e" = ''mode "${logoutMode}"'';