sway-tiny: document exec behavior

This commit is contained in:
Dylan Araps 2021-07-16 18:25:47 +03:00
parent f4ed996c7a
commit 65e3a8a3c0
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
2 changed files with 14 additions and 2 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh -e
sh >/dev/tty
patch -p1 < no-evdev.patch
# Remove conflict between static libseat and wlroots.

View File

@ -5,8 +5,8 @@ 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
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
@ -22,6 +22,16 @@ NOTE: You must be the first to call DRMSetMaster.
Another option is to setuid root the sway binary.
NOTE: sway-tiny does not spawn a subshell for exec
commands, it executes them directly. Use the full
path to the program you would like to execute.
# Will not work.
bindsym $mod+t exec foot
# Works.
bindsym $mod+t exec /bin/foot
NOTE: This is a fork of sway for KISS Linux. Send all
bugs/issues to kisslinux/repo and NOT upstream.