Add options for startup applications
Change-Id: I01f79129d3abed2b5cd90e76b08c024f9ced29bd
Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/664
Tested-by: PineaFan <pineafan@clicks.codes>
Reviewed-by: Samuel Shuert <coded@clicks.codes>
diff --git a/modules/home/hyprland/default.nix b/modules/home/hyprland/default.nix
index 7e3ec9d..6f70088 100644
--- a/modules/home/hyprland/default.nix
+++ b/modules/home/hyprland/default.nix
@@ -64,6 +64,11 @@
default = [ ];
};
};
+ startupApplications = lib.mkOption {
+ type = lib.types.listOf lib.types.str;
+ description = "List of commands to run on hyprland start";
+ default = [ ];
+ };
nvidia.enable = lib.mkEnableOption "Enable NVIDIA support";
@@ -144,7 +149,7 @@
"${pkgs.hyprpaper}/bin/hyprpaper"
"hyprctl setcursor ${config.chimera.theme.cursor.name} ${builtins.toString config.chimera.theme.cursor.size}"
"${pkgs.waybar}/bin/waybar"
- ];
+ ] ++ config.chimera.startupApplications;
monitor = config.chimera.hyprland.monitors ++ [ ",preferred,auto,1" ];