monolith: autostart some apps
This commit is contained in:
parent
869ba87dab
commit
2ab0b84209
|
@ -2,8 +2,8 @@
|
||||||
wayland.windowManager.sway = {
|
wayland.windowManager.sway = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
exec thunderbird
|
exec thunderbird
|
||||||
exec sleep 3s && exec webcord
|
exec webcord
|
||||||
exec sleep 3s && exec telegram-desktop
|
exec telegram-desktop
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, lib, inputs, ... }: {
|
{ config, pkgs, lib, inputs, osConfig, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./controller.nix
|
./controller.nix
|
||||||
./waybar
|
./waybar
|
||||||
|
@ -174,6 +174,13 @@
|
||||||
indicator = true;
|
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
|
# This value determines the Home Manager release that your
|
||||||
# configuration is compatible with. This helps avoid breakage
|
# configuration is compatible with. This helps avoid breakage
|
||||||
# when a new Home Manager release introduces backwards
|
# when a new Home Manager release introduces backwards
|
||||||
|
|
|
@ -26,6 +26,11 @@ in
|
||||||
{ class = "Chromium"; }
|
{ class = "Chromium"; }
|
||||||
{ app_id = "chromium"; }
|
{ app_id = "chromium"; }
|
||||||
];
|
];
|
||||||
|
"6" = [
|
||||||
|
{ app_id = "org.nicotine_plus.Nicotine"; }
|
||||||
|
{ app_id = "deluge"; }
|
||||||
|
{ app_id = "com.obsproject.Studio"; }
|
||||||
|
];
|
||||||
"7" = [
|
"7" = [
|
||||||
{ app_id = "thunderbird"; }
|
{ app_id = "thunderbird"; }
|
||||||
{ app_id = "astroid"; }
|
{ app_id = "astroid"; }
|
||||||
|
|
Loading…
Reference in a new issue