🚀 add tray service to start polybar
parent
79faf3470e
commit
b2abaa7c40
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue