summaryrefslogtreecommitdiff
path: root/modules/home-manager/personal/gui/x/i3/startup.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2023-03-02 16:13:38 +0100
committerQuentin Aristote <quentin@aristote.fr>2023-03-02 16:13:38 +0100
commitbab95801ff0e37f9db2df0c4751257dbbc4913be (patch)
treeff2a4c7a3eac4200e26d6d5a86529b1ffe590039 /modules/home-manager/personal/gui/x/i3/startup.nix
parent2159ec0cb01a2ea1d02cfaa083f75911843b429d (diff)
home: profiles: social: add identities
Diffstat (limited to 'modules/home-manager/personal/gui/x/i3/startup.nix')
-rw-r--r--modules/home-manager/personal/gui/x/i3/startup.nix17
1 files changed, 10 insertions, 7 deletions
diff --git a/modules/home-manager/personal/gui/x/i3/startup.nix b/modules/home-manager/personal/gui/x/i3/startup.nix
index b40247b..f3b54a2 100644
--- a/modules/home-manager/personal/gui/x/i3/startup.nix
+++ b/modules/home-manager/personal/gui/x/i3/startup.nix
@@ -11,12 +11,15 @@
(autostart { command = "keepassxc"; })
]
++ autostartIf config.programs.thunderbird.enable { command = "thunderbird"; }
- ++ autostartIf config.personal.profiles.social { command = "signal-desktop"; }
- # ++ autostartIf config.services.redshift.enable {
- # command = "systemctl --user start redshift";
- # }
- # ++ autostartIf config.services.xidlehook.enable {
- # command = "systemctl --user start xidlehook.service";
- # }
+ ++ autostartIf (config.personal.profiles.social.enable
+ && config.personal.profiles.social.identities.personal) {
+ command = "signal-desktop";
+ }
+ # ++ autostartIf config.services.redshift.enable {
+ # command = "systemctl --user start redshift";
+ # }
+ # ++ autostartIf config.services.xidlehook.enable {
+ # command = "systemctl --user start xidlehook.service";
+ # }
;
}