mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
b0e010952a
deserted script, new maintainer & update Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
10 lines
249 B
Diff
10 lines
249 B
Diff
--- a/bin/gufw
|
|
+++ b/bin/gufw
|
|
@@ -1,3 +1,6 @@
|
|
#!/bin/bash
|
|
+if [ $(loginctl show-session $(loginctl|grep $(whoami) |awk '{print $1}') -p Type) = "Type=wayland" ]; then
|
|
+ xhost +si:localuser:root
|
|
+fi
|
|
c_user=$(whoami)
|
|
pkexec gufw-pkexec $c_user
|
|
|