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:
parent
87d2395554
commit
16057aa970
@ -1,5 +1,6 @@
|
||||
PORTNAME= wapanel
|
||||
DISTVERSION= 1.0.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
|
19
x11/wapanel/files/patch-wapanel.toml
Normal file
19
x11/wapanel/files/patch-wapanel.toml
Normal 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]]
|
Loading…
Reference in New Issue
Block a user