From 88fd939181a7c601269d6ecbfd4c03c251ad4609 Mon Sep 17 00:00:00 2001 From: myve Date: Thu, 6 Aug 2026 09:07:16 +0000 Subject: [PATCH] Use usr/share instead of git version of hyprland.lua --- functions/desktop | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions/desktop b/functions/desktop index b5bac05..4d0cc41 100755 --- a/functions/desktop +++ b/functions/desktop @@ -7,7 +7,7 @@ set -E trap '[ "${?}" -ne 77 ] || exit 77' ERR function die { - if [ ${@} ] + if [ "${@}" ] then echo echo -e "\e[1;31mError encountered for the following reason:\e[0m @@ -550,7 +550,8 @@ case ${desktop_choice} in swayidle # 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' \ -e '/Autostart/i exec-once = waybar -c ~/.config/waybar/waybar.conf' \ -e '/Autostart/i exec-once = ~/.config/hypr/scripts/sleep.sh' \