blob: 6817de476123c829cfcbff826d3373b8b96455c0 (
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/slimjet/flashpeak-slimjet $@ &
fi
wait $!
exit $?
|