🚀 add tray service to start polybar

This commit is contained in:
Moritz Böhme 2022-09-07 19:19:26 +02:00
parent 79faf3470e
commit b2abaa7c40
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

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