monolith: autostart some apps

This commit is contained in:
Leonardo Eugênio 2023-08-08 12:43:24 -03:00
parent 869ba87dab
commit 2ab0b84209
3 changed files with 15 additions and 3 deletions

View file

@ -2,8 +2,8 @@
wayland.windowManager.sway = {
extraConfig = ''
exec thunderbird
exec sleep 3s && exec webcord
exec sleep 3s && exec telegram-desktop
exec webcord
exec telegram-desktop
'';
};

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, inputs, ... }: {
{ config, pkgs, lib, inputs, osConfig, ... }: {
imports = [
./controller.nix
./waybar
@ -174,6 +174,13 @@
indicator = true;
};
wayland.windowManager.sway.extraConfig = lib.optionalString (osConfig.networking.hostName or "" == "monolith") ''
exec steam
exec obs --startreplaybuffer
exec deluge-gtk
exec nicotine
'';
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards

View file

@ -26,6 +26,11 @@ in
{ class = "Chromium"; }
{ app_id = "chromium"; }
];
"6" = [
{ app_id = "org.nicotine_plus.Nicotine"; }
{ app_id = "deluge"; }
{ app_id = "com.obsproject.Studio"; }
];
"7" = [
{ app_id = "thunderbird"; }
{ app_id = "astroid"; }