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