Add pkttyagent as fallback
This commit is contained in:
parent
e1f1fce3f6
commit
9f07695bd8
@ -3,6 +3,7 @@ script_location="$(readlink -f "$0")"
|
||||
cd "$(dirname $script_location)"
|
||||
|
||||
if [ "$(id -u)" -ne "0" ]; then
|
||||
pkttyagent --process $$ &
|
||||
pkexec --keep-cwd sh -c "\
|
||||
WAYLAND_DISPLAY=\"$WAYLAND_DISPLAY\"\
|
||||
DISPLAY=\"$DISPLAY\"\
|
||||
|
Loading…
Reference in New Issue
Block a user