2021-07-09 02:04:58 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
chown root:input "$KISS_ROOT/usr/bin/sway"
|
2021-07-09 16:22:03 -06:00
|
|
|
chmod g+s "$KISS_ROOT/usr/bin/sway"
|
2021-07-09 02:04:58 -06:00
|
|
|
|
|
|
|
cat <<EOF
|
|
|
|
|
|
|
|
NOTE: You must be in the 'video' group.
|
|
|
|
|
|
|
|
NOTE: You must set XDG_RUNTIME_DIR in your shellrc
|
|
|
|
or .profile for things to work. This directory
|
|
|
|
must exist and must be writable by your user.
|
|
|
|
|
|
|
|
export XDG_RUNTIME_DIR=/run/user/\$(id -u)
|
|
|
|
|
2021-07-13 07:12:06 -06:00
|
|
|
NOTE: You must be the first to call DRMSetMaster.
|
|
|
|
|
|
|
|
If you cannot fulfil this requirement, you must
|
|
|
|
use the 'sway' package and run the 'seatd' daemon.
|
|
|
|
|
|
|
|
Another option is to setuid root the sway binary.
|
|
|
|
|
2021-07-09 02:04:58 -06:00
|
|
|
NOTE: This is a fork of sway for KISS Linux. Send all
|
|
|
|
bugs/issues to kisslinux/repo and NOT upstream.
|
|
|
|
|
|
|
|
EOF
|