dotfiles/hosts/thinkpad/configs/polybar.nix

29 lines
359 B
Nix

{
pkgs,
user,
dotfilepath,
...
}:
let
script = "${dotfilepath}/scripts";
in
{
imports = [
./polybar/bottom.nix
./polybar/top.nix
];
home-manager.users.${user}.services.polybar = {
enable = true;
script = "${script}/polybar.sh";
config = {
"global/wm" = {
override-redirect = false;
};
};
};
}