diff options
Diffstat (limited to 'x11/nwg-menu/files')
-rw-r--r-- | x11/nwg-menu/files/patch-go.mod | 14 | ||||
-rw-r--r-- | x11/nwg-menu/files/patch-main.go | 4 |
2 files changed, 2 insertions, 16 deletions
diff --git a/x11/nwg-menu/files/patch-go.mod b/x11/nwg-menu/files/patch-go.mod deleted file mode 100644 index 2d7b50e370dc..000000000000 --- a/x11/nwg-menu/files/patch-go.mod +++ /dev/null @@ -1,14 +0,0 @@ -Drop after lang/go122 appears (switch to USES=go:1.22,modules) - -github.com/nwg-piotr/nwg-menu: cannot compile Go 1.22 code - ---- go.mod.orig 2025-01-11 00:07:37 UTC -+++ go.mod -@@ -1,6 +1,6 @@ module github.com/nwg-piotr/nwg-menu - module github.com/nwg-piotr/nwg-menu - --go 1.23 -+go 1.21 - - require ( - github.com/allan-simon/go-singleinstance v0.0.0-20210120080615-d0997106ab37 diff --git a/x11/nwg-menu/files/patch-main.go b/x11/nwg-menu/files/patch-main.go index bcc726370384..e36a6d5ae3ba 100644 --- a/x11/nwg-menu/files/patch-main.go +++ b/x11/nwg-menu/files/patch-main.go @@ -1,6 +1,6 @@ - Adapt to BSD-style shutdown ---- main.go.orig 2025-01-11 00:07:37 UTC +--- main.go.orig 1979-11-29 15:00:00 UTC +++ main.go @@ -122,8 +122,8 @@ var cmdLogout = flag.String("cmd-logout", "swaymsg exi var wm = flag.String("wm", "", "use swaymsg exec (with 'sway' argument) or hyprctl dispatch exec (with 'hyprland') or riverctl spawn (with 'river') to launch programs") @@ -12,4 +12,4 @@ +var cmdShutdown = flag.String("cmd-shutdown", "shutdown -p now", "shutdown command") var debug = flag.Bool("debug", false, "turn on Debug messages") var hover = flag.Bool("t", false, "hovering caTegories opens submenus") - + var clickOutside = flag.Bool("k", false, "clicKing outside closes the window") |