From 51d3c2b12d6e9cef95c8e7a9031f0ce8073ae87c Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Sat, 3 Jan 2026 14:09:46 -0500 Subject: clone hyprland-update-screen --- hyprland-update-screen | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 hyprland-update-screen (limited to 'hyprland-update-screen') 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. + +You can disable this screen in your Hyprland config." \ + --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" + -- cgit 1.4.1