home: wm: i3bar: use FontAwesome5 for icons

This commit is contained in:
Bruno BELANYI 2021-05-04 19:16:18 +02:00
parent 5930fc0d3b
commit 0c8eea0fb4
2 changed files with 8 additions and 0 deletions

View file

@ -84,6 +84,11 @@ in
text = "#fdf6e3"; text = "#fdf6e3";
}; };
}; };
fonts = {
names = [ "DejaVu Sans Mono" "FontAwesome5Free" ];
size = 8.0;
};
} }
]; ];

View file

@ -7,6 +7,7 @@ in
home.packages = with pkgs; [ home.packages = with pkgs; [
alsaUtils # Used by `sound` block alsaUtils # Used by `sound` block
lm_sensors # Used by `temperature` block lm_sensors # Used by `temperature` block
font-awesome # Icon font
]; ];
programs.i3status-rust = { programs.i3status-rust = {
@ -14,6 +15,8 @@ in
bars = { bars = {
top = { top = {
icons = "awesome5";
blocks = builtins.filter (attr: attr != { }) [ blocks = builtins.filter (attr: attr != { }) [
{ {
block = "music"; block = "music";