forked from Lainports/freebsd-ports
Changes: https://github.com/nwg-piotr/nwg-menu/releases/tag/v0.1.7 Reported by: GitHub (watch releases)
15 lines
976 B
Go
15 lines
976 B
Go
- Adapt to BSD-style shutdown
|
|
|
|
--- main.go.orig 2025-01-11 00:07:37 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")
|
|
var cmdLock = flag.String("cmd-lock", "swaylock -f -c 000000", "screen lock command")
|
|
var cmdLogout = flag.String("cmd-logout", "swaymsg exit", "logout command")
|
|
-var cmdRestart = flag.String("cmd-restart", "systemctl reboot", "reboot command")
|
|
-var cmdShutdown = flag.String("cmd-shutdown", "systemctl -i poweroff", "shutdown command")
|
|
+var cmdRestart = flag.String("cmd-restart", "shutdown -r now", "reboot command")
|
|
+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")
|
|
|