diff --git a/user/progs/i3/default.nix b/user/progs/i3/default.nix index ca7f239..77a2dfd 100644 --- a/user/progs/i3/default.nix +++ b/user/progs/i3/default.nix @@ -14,7 +14,7 @@ in { fonts = { size = 11.0; }; - statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs"; + statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs /home/daniel/.config/i3status-rust/config-main.toml"; position = "top"; } ]; diff --git a/user/progs/i3status-rust/default.nix b/user/progs/i3status-rust/default.nix index b61f5da..e62e97a 100644 --- a/user/progs/i3status-rust/default.nix +++ b/user/progs/i3status-rust/default.nix @@ -3,5 +3,42 @@ { programs.i3status-rust = { enable = true; + bars = { + main = { + theme = "nord-dark"; + icons = "awesome"; + blocks = [ + { + block = "time"; + } + { + block = "battery"; + allow_missing = true; + hide_missing = true; + } + { + block = "networkmanager"; + on_click = "alacritty -e nmtui"; + primary_only = true; + ap_format = "{ssid}"; + device_format = "{icon}{ap}"; + } + { + block = "keyboard_layout"; + } + { + block = "notify"; + } + { + block = "music"; + player = "spotify"; + buttons = [ "prev" "play" "next" ]; + } + { + block = "sound"; + } + ]; + }; + }; }; }