add boot app for macos
This commit is contained in:
parent
b54c31e98c
commit
1204d4946a
2 changed files with 38 additions and 1 deletions
|
|
@ -183,4 +183,41 @@
|
||||||
lazysql
|
lazysql
|
||||||
sqlite
|
sqlite
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Startup applications via launchd agents
|
||||||
|
launchd.agents.snipaste = {
|
||||||
|
enable = true;
|
||||||
|
config = {
|
||||||
|
ProgramArguments = [ "/Applications/Snipaste.app/Contents/MacOS/Snipaste" ];
|
||||||
|
RunAtLoad = true;
|
||||||
|
KeepAlive = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
launchd.agents.rectangle = {
|
||||||
|
enable = true;
|
||||||
|
config = {
|
||||||
|
ProgramArguments = [ "/Applications/Rectangle.app/Contents/MacOS/Rectangle" ];
|
||||||
|
RunAtLoad = true;
|
||||||
|
KeepAlive = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
launchd.agents.maccy = {
|
||||||
|
enable = true;
|
||||||
|
config = {
|
||||||
|
ProgramArguments = [ "/Users/yanlin/Applications/Home Manager Apps/Maccy.app/Contents/MacOS/Maccy" ];
|
||||||
|
RunAtLoad = true;
|
||||||
|
KeepAlive = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
launchd.agents.hidden-bar = {
|
||||||
|
enable = true;
|
||||||
|
config = {
|
||||||
|
ProgramArguments = [ "/Users/yanlin/Applications/Home Manager Apps/Hidden Bar.app/Contents/MacOS/Hidden Bar" ];
|
||||||
|
RunAtLoad = true;
|
||||||
|
KeepAlive = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -48,9 +48,9 @@
|
||||||
expose-animation-duration = 0.5; # Mission Control animation speed
|
expose-animation-duration = 0.5; # Mission Control animation speed
|
||||||
dashboard-in-overlay = false; # Show Dashboard as overlay
|
dashboard-in-overlay = false; # Show Dashboard as overlay
|
||||||
persistent-apps = [
|
persistent-apps = [
|
||||||
|
"/Applications/Ghostty.app"
|
||||||
"/Applications/Firefox.app"
|
"/Applications/Firefox.app"
|
||||||
"/Applications/Obsidian.app"
|
"/Applications/Obsidian.app"
|
||||||
"/Applications/Ghostty.app"
|
|
||||||
"/Applications/KeePassXC.app"
|
"/Applications/KeePassXC.app"
|
||||||
];
|
];
|
||||||
persistent-others = [
|
persistent-others = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue