dotfiles-nixos/home-manager/i3.nix
2023-06-08 15:11:21 +02:00

31 lines
532 B
Nix

{ config, lib, pkgs, ... }:
{
xsession.windowManager.i3 = {
enable = true;
config = {
bars = [
{
position = "top";
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ~/.config/i3status-rust/config-top.toml";
}
];
};
};
programs.i3status-rust = {
enable = true;
bars = {
top = {
blocks = [
{
block = "time";
interval = 60;
format = "%a %d/%m %k:%M %p";
}
];
};
};
};
}