hyprland: launch through start wrapper
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
printf '%s\n' \
|
||||
'#!${pkgs.runtimeShell}' \
|
||||
'config_path="''${XDG_CONFIG_HOME:-$HOME/.config}/hypr/hyprland.lua"' \
|
||||
'exec "${package}/bin/Hyprland" --config "$config_path" "$@"' \
|
||||
'exec "${package}/bin/start-hyprland" --path "${package}/bin/Hyprland" -- --config "$config_path" "$@"' \
|
||||
> "$out/bin/start-hyprland-lua"
|
||||
chmod +x "$out/bin/start-hyprland-lua"
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ let
|
||||
After = [ "default.target" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${hyprlandPackage}/bin/Hyprland --socket ${cfg.socket} --config ${remoteHyprlandConfig}";
|
||||
ExecStart = "${hyprlandPackage}/bin/start-hyprland --path ${hyprlandPackage}/bin/Hyprland -- --socket ${cfg.socket} --config ${remoteHyprlandConfig}";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 5;
|
||||
Environment = [
|
||||
|
||||
Reference in New Issue
Block a user