🚀 add tray service to start polybar

nixos
Moritz Böhme 2022-09-07 19:19:26 +02:00
parent 79faf3470e
commit b2abaa7c40
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 9 additions and 1 deletions

View File

@ -51,7 +51,6 @@ in
focus_follows_pointer = true;
};
startupPrograms = [
"${pkgs.systemd}/bin/systemctl --user start polybar.service"
"randomWallpaper"
"${pkgs.synology-drive-client}/bin/synology-drive"
];
@ -72,6 +71,15 @@ in
'';
};
};
systemd.user.targets.tray = {
Unit = {
Description = "Bspwm Tray Target";
After = [ "graphical-session.target" ];
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
};
home.packages = with pkgs; [
bc # HACK to get bsp-layout to work