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}";
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}"'';