blob: 317dd54bfc7bff4afc4ae0f6ac8796c9e6c19b97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
if test -n "$1"; then
if test "$1" != "--new-version"; then
printf "invalid arg %s\n" "$1" >/dev/stderr
exit 1
else
version="$2"
fi
fi
output=$(zenity --info \
--title "Hyprland updated to $version" \
--text "Hyprland has been updated! 😄
Please check the release notes, which can be found on GitHub, as well as the news page on hypr.land.
Every release may come with breaking changes, so if you get any config errors, try checking the latest release notes.
If you are using plugins, you will need to rebuild them.
<i>You can disable this screen in your Hyprland config.</i>" \
--ok-label "🔗 Open news" --extra-button "💝 Support")
test "$?" -eq 0 && xdg-open "https://hypr.land/news"
test "$output" = "💝 Support" && xdg-open "https://hypr.land/support"
|