Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2021 08:58:44 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 16057aa970e3 - main - x11/wapanel: unbreak logout applet default config
Message-ID:  <202108100858.17A8wisW017480@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=16057aa970e3c07be271ab678e2577b60635f3ef

commit 16057aa970e3c07be271ab678e2577b60635f3ef
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-08-10 08:57:30 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-08-10 08:58:38 +0000

    x11/wapanel: unbreak logout applet default config
    
    sh: systemctl: not found
---
 x11/wapanel/Makefile                 |  1 +
 x11/wapanel/files/patch-wapanel.toml | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108100858.17A8wisW017480>