diff options
| author | Zach DeCook <zachdecook@librem.one> | 2026-01-03 14:09:46 -0500 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2026-01-03 14:09:46 -0500 |
| commit | 51d3c2b12d6e9cef95c8e7a9031f0ce8073ae87c (patch) | |
| tree | cdf10e6be23e011a9e4d372b0ce77b1d07980164 | |
| parent | f42a282c5ba3df1b5eb074d17e8486e5a881d0c5 (diff) | |
| download | hyprland-zenityutils-51d3c2b12d6e9cef95c8e7a9031f0ce8073ae87c.tar.gz | |
clone hyprland-update-screen
| -rwxr-xr-x | hyprland-update-screen | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/hyprland-update-screen b/hyprland-update-screen new file mode 100755 index 0000000..317dd54 --- /dev/null +++ b/hyprland-update-screen @@ -0,0 +1,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" + |
