fish: arreglar runsv
This commit is contained in:
parent
ad8848f714
commit
7a8d2cf806
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,10 @@ if ! "$REMOTE" && test "$(tty)" = /dev/tty1
|
||||||
mkdir -p "$HOME/.local/share/sway"
|
mkdir -p "$HOME/.local/share/sway"
|
||||||
set log "$HOME/.local/share/sway/$(date +%Y-%m-%d@%H:%M:%S).log"
|
set log "$HOME/.local/share/sway/$(date +%Y-%m-%d@%H:%M:%S).log"
|
||||||
|
|
||||||
pgrep -U "$(id -u)" runsv >/dev/null || nohup runsvdir ~/.local/share/service ............. >/dev/null &
|
pgrep -U "$(id -u)" runsv >/dev/null || begin
|
||||||
|
nohup runsvdir ~/.local/share/service ............. >/dev/null &
|
||||||
|
disown
|
||||||
|
end
|
||||||
|
|
||||||
exec env \
|
exec env \
|
||||||
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
|
XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \
|
||||||
|
|
Loading…
Reference in a new issue