sway: correr en una función

This commit is contained in:
Cat /dev/Nulo 2023-02-16 14:35:33 -03:00
parent 93d16feb55
commit 87ff6fb35f

View file

@ -1,4 +1,8 @@
if ! "$REMOTE" && test "$(tty)" = /dev/tty1
run_sway
end
function run_sway
doas mkdir -p /run/user
doas chmod 755 /run/user
set -gx XDG_RUNTIME_DIR "/run/user/$(id -u)"