dotfiles-nixos/home-manager/i3.nix

31 lines
532 B
Nix
Raw Normal View History

2023-06-06 15:19:23 +00:00
{ config, lib, pkgs, ... }:
2023-06-08 13:11:21 +00:00
{
xsession.windowManager.i3 = {
2023-06-06 15:19:23 +00:00
enable = true;
2023-06-08 13:11:21 +00:00
config = {
bars = [
{
position = "top";
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ~/.config/i3status-rust/config-top.toml";
}
];
};
};
2023-06-06 15:19:23 +00:00
2023-06-08 13:11:21 +00:00
programs.i3status-rust = {
enable = true;
bars = {
top = {
blocks = [
{
block = "time";
interval = 60;
format = "%a %d/%m %k:%M %p";
}
];
2023-06-06 16:41:09 +00:00
};
2023-06-06 15:19:23 +00:00
};
};
}