fish: arreglar runsv

This commit is contained in:
Cat /dev/Nulo 2023-01-20 10:15:08 -03:00
parent ad8848f714
commit 7a8d2cf806

View file

@ -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" \