🚀 add tray service to start polybar
This commit is contained in:
parent
79faf3470e
commit
b2abaa7c40
1 changed files with 9 additions and 1 deletions
|
@ -51,7 +51,6 @@ in
|
||||||
focus_follows_pointer = true;
|
focus_follows_pointer = true;
|
||||||
};
|
};
|
||||||
startupPrograms = [
|
startupPrograms = [
|
||||||
"${pkgs.systemd}/bin/systemctl --user start polybar.service"
|
|
||||||
"randomWallpaper"
|
"randomWallpaper"
|
||||||
"${pkgs.synology-drive-client}/bin/synology-drive"
|
"${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; [
|
home.packages = with pkgs; [
|
||||||
bc # HACK to get bsp-layout to work
|
bc # HACK to get bsp-layout to work
|
||||||
|
|
Loading…
Reference in a new issue