aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-08-10 08:57:30 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-08-10 08:58:38 +0000
commit16057aa970e3c07be271ab678e2577b60635f3ef (patch)
treec108d81793c4fb0afad2062ca74b7ed7020f875e
parent87d2395554dec5d4f8422971a444bc8118ccdb87 (diff)
downloadports-16057aa970e3c07be271ab678e2577b60635f3ef.tar.gz
ports-16057aa970e3c07be271ab678e2577b60635f3ef.zip
x11/wapanel: unbreak logout applet default config
sh: systemctl: not found
-rw-r--r--x11/wapanel/Makefile1
-rw-r--r--x11/wapanel/files/patch-wapanel.toml19
2 files changed, 20 insertions, 0 deletions
diff --git a/x11/wapanel/Makefile b/x11/wapanel/Makefile
index 1882b4052705..6ff234fcbf65 100644
--- a/x11/wapanel/Makefile
+++ b/x11/wapanel/Makefile
@@ -1,5 +1,6 @@
PORTNAME= wapanel
DISTVERSION= 1.0.2
+PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= jbeich@FreeBSD.org
diff --git a/x11/wapanel/files/patch-wapanel.toml b/x11/wapanel/files/patch-wapanel.toml
new file mode 100644
index 000000000000..5df05abb0dc8
--- /dev/null
+++ b/x11/wapanel/files/patch-wapanel.toml
@@ -0,0 +1,19 @@
+--- wapanel.toml.orig 2021-04-23 06:00:30 UTC
++++ wapanel.toml
+@@ -16,11 +16,11 @@
+ file_manager = "thunar $HOME"
+
+ [panel.applet.logout]
+- shutdown = "systemctl poweroff"
+- restart = "systemctl reboot"
+- logout = "loginctl terminate-user $USER"
+- suspend = "systemctl suspend"
+- hibernate = "systemctl hibernate"
++ shutdown = "shutdown -p now"
++ restart = "shutdown -r now"
++ logout = "kill -9 -1"
++ suspend = "zzz"
++ hibernate = "acpiconf -s 4"
+ lock = "swaylock"
+
+ [[panel.applet]]