repo/wayland/sway-no-seat/post-install

26 lines
694 B
Plaintext
Raw Normal View History

2021-07-08 09:06:02 +00:00
#!/bin/sh -e
2021-07-08 09:43:09 +00:00
chown root:input "$KISS_ROOT/usr/bin/sway"
2021-07-09 22:21:28 +00:00
chmod g+s "$KISS_ROOT/usr/bin/sway"
2021-07-08 14:56:09 +00:00
cat <<EOF
2021-07-13 16:38:18 +00:00
NOTE: You must be in the 'video', 'audio', and 'tty'
groups. There is no 'input' group requirement
as this sway binary is setgid input.
2021-07-08 14:56:09 +00:00
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)
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-08 14:56:09 +00:00
EOF