blob: 4e6d44e81ec094c38e0810a34d15c0393afc3dff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
if [[ $(id -u) -eq 0 ]]; then
$(which xhost) + &>/dev/zero
sudo -nu slim-root DISPLAY=:0 \
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket \
/usr/share/slimjet/flashpeak-slimjet \
--flag-switches-begin --enable-fast-unload \
--disable-offline-auto-reload-visible-only \
--enable-offline-auto-reload --enable-tcp-fastopen \
--num-raster-threads=4 --disable-smooth-scrolling \
--enable-features=PasswordExport --flag-switches-end $@ &
else
/usr/share/flashpeak-slimjet $@ &
fi
wait $!
exit $?
|