mirror of
https://codeberg.org/kiss-community/repo
synced 2024-07-04 23:12:28 +00:00
sway-tiny: document exec behavior
This commit is contained in:
parent
f4ed996c7a
commit
65e3a8a3c0
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
sh >/dev/tty
|
||||||
|
|
||||||
patch -p1 < no-evdev.patch
|
patch -p1 < no-evdev.patch
|
||||||
|
|
||||||
# Remove conflict between static libseat and wlroots.
|
# Remove conflict between static libseat and wlroots.
|
||||||
|
|
|
@ -5,8 +5,8 @@ chmod g+s "$KISS_ROOT/usr/bin/sway"
|
||||||
|
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
|
||||||
NOTE: You must be in the 'video', 'audio', and 'tty'
|
NOTE: You must be in the 'video', 'audio', and 'tty'
|
||||||
groups. There is no 'input' group requirement
|
groups. There is no 'input' group requirement
|
||||||
as this sway binary is setgid input.
|
as this sway binary is setgid input.
|
||||||
|
|
||||||
NOTE: You must set XDG_RUNTIME_DIR in your shellrc
|
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.
|
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
|
NOTE: This is a fork of sway for KISS Linux. Send all
|
||||||
bugs/issues to kisslinux/repo and NOT upstream.
|
bugs/issues to kisslinux/repo and NOT upstream.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user