Use usr/share instead of git version of hyprland.lua

This commit is contained in:
myve 2026-08-06 09:07:16 +00:00
commit 88fd939181

View file

@ -7,7 +7,7 @@ set -E
trap '[ "${?}" -ne 77 ] || exit 77' ERR trap '[ "${?}" -ne 77 ] || exit 77' ERR
function die function die
{ {
if [ ${@} ] if [ "${@}" ]
then then
echo echo
echo -e "\e[1;31mError encountered for the following reason:\e[0m echo -e "\e[1;31mError encountered for the following reason:\e[0m
@ -550,7 +550,8 @@ case ${desktop_choice} in
swayidle swayidle
# Config # Config
curl --silent --fail https://raw.githubusercontent.com/hyprwm/Hyprland/refs/heads/main/example/hyprland.lua |\ # curl --silent --fail https://raw.githubusercontent.com/hyprwm/Hyprland/refs/heads/main/example/hyprland.lua |\
cat /usr/share/hypr/hyprland.lua |\
sed -e '/Autostart/i exec-once = /usr/lib/polkit-kde-authentication-agent-1' \ sed -e '/Autostart/i exec-once = /usr/lib/polkit-kde-authentication-agent-1' \
-e '/Autostart/i exec-once = waybar -c ~/.config/waybar/waybar.conf' \ -e '/Autostart/i exec-once = waybar -c ~/.config/waybar/waybar.conf' \
-e '/Autostart/i exec-once = ~/.config/hypr/scripts/sleep.sh' \ -e '/Autostart/i exec-once = ~/.config/hypr/scripts/sleep.sh' \