From 0c8eea0fb457c663cc27aaf0db30d9d4c0171f9a Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 4 May 2021 19:16:18 +0200 Subject: [PATCH] home: wm: i3bar: use FontAwesome5 for icons --- home/wm/i3.nix | 5 +++++ home/wm/i3bar.nix | 3 +++ 2 files changed, 8 insertions(+) diff --git a/home/wm/i3.nix b/home/wm/i3.nix index 9446e99..9fe9316 100644 --- a/home/wm/i3.nix +++ b/home/wm/i3.nix @@ -84,6 +84,11 @@ in text = "#fdf6e3"; }; }; + + fonts = { + names = [ "DejaVu Sans Mono" "FontAwesome5Free" ]; + size = 8.0; + }; } ]; diff --git a/home/wm/i3bar.nix b/home/wm/i3bar.nix index b763b86..5cc1356 100644 --- a/home/wm/i3bar.nix +++ b/home/wm/i3bar.nix @@ -7,6 +7,7 @@ in home.packages = with pkgs; [ alsaUtils # Used by `sound` block lm_sensors # Used by `temperature` block + font-awesome # Icon font ]; programs.i3status-rust = { @@ -14,6 +15,8 @@ in bars = { top = { + icons = "awesome5"; + blocks = builtins.filter (attr: attr != { }) [ { block = "music";