repo/sway/postdeploy
2021-08-27 16:39:18 +02:00

12 lines
456 B
Text
Executable file

chown root:input "$KISS_ROOT/usr/bin/sway"
chmod g+s "$KISS_ROOT/usr/bin/sway"
cat <<EOF
NOTE: You must be in the 'video', 'audio', and 'tty'
groups. There is no 'input' group requirement
as this sway binary is setgid input.
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)
EOF