diff --git a/.config/fish/conf.d/sway.fish b/.config/fish/conf.d/sway.fish index 3e8132b..1b192fc 100644 --- a/.config/fish/conf.d/sway.fish +++ b/.config/fish/conf.d/sway.fish @@ -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)"