From 87ff6fb35fc3fda2163238c703ca4e78ab72d1b8 Mon Sep 17 00:00:00 2001 From: Nulo Date: Thu, 16 Feb 2023 14:35:33 -0300 Subject: [PATCH] =?UTF-8?q?sway:=20correr=20en=20una=20funci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/fish/conf.d/sway.fish | 4 ++++ 1 file changed, 4 insertions(+) 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)"