2025-01-09 09:34:41 +01:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
user,
|
|
|
|
dotfilepath,
|
|
|
|
...
|
|
|
|
}:
|
2024-04-28 11:35:35 +02:00
|
|
|
let
|
2025-01-09 09:34:41 +01:00
|
|
|
script = "${dotfilepath}/scripts";
|
2024-04-28 11:35:35 +02:00
|
|
|
in
|
|
|
|
{
|
|
|
|
|
2024-05-28 02:36:04 +02:00
|
|
|
imports = [
|
|
|
|
./polybar/bottom.nix
|
2024-12-05 07:02:26 +01:00
|
|
|
./polybar/top.nix
|
2024-05-28 02:36:04 +02:00
|
|
|
];
|
|
|
|
|
2025-01-05 01:20:58 +01:00
|
|
|
home-manager.users.${user}.services.polybar = {
|
2024-04-28 11:35:35 +02:00
|
|
|
enable = true;
|
2024-06-11 20:09:58 +02:00
|
|
|
script = "${script}/polybar.sh";
|
|
|
|
|
2024-04-28 11:35:35 +02:00
|
|
|
config = {
|
|
|
|
"global/wm" = {
|
|
|
|
override-redirect = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|