1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

x11/wapanel: unbreak logout applet default config

sh: systemctl: not found
This commit is contained in:
Jan Beich 2021-08-10 08:57:30 +00:00
parent 87d2395554
commit 16057aa970
2 changed files with 20 additions and 0 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= wapanel
DISTVERSION= 1.0.2
PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= jbeich@FreeBSD.org

View File

@ -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]]