Autostart
This commit is contained in:
parent
e1fab203cf
commit
b98c55ca69
1 changed files with 21 additions and 0 deletions
|
@ -1,6 +1,27 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
imports = [../home.nix];
|
imports = [../home.nix];
|
||||||
|
|
||||||
|
# Autostart.
|
||||||
|
xdg.autostart = {
|
||||||
|
enable = true;
|
||||||
|
readOnly = true;
|
||||||
|
entries = let
|
||||||
|
smile = pkgs.writeText "smile.desktop" ''
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=it.mijorus.smile
|
||||||
|
X-XDP-Autostart=it.mijorus.smile
|
||||||
|
Exec=smile --start-hidden
|
||||||
|
'';
|
||||||
|
in [
|
||||||
|
smile
|
||||||
|
"${pkgs.fluffychat}/share/applications/Fluffychat.desktop"
|
||||||
|
"${pkgs.feishin}/share/applications/feishin.desktop"
|
||||||
|
"${pkgs.protonmail-desktop}/share/applications/proton-mail.desktop"
|
||||||
|
"${pkgs.signal-desktop}/share/applications/signal.desktop"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# Ghostty settings.
|
# Ghostty settings.
|
||||||
programs.ghostty = {
|
programs.ghostty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue