sway: correr en una función
This commit is contained in:
parent
93d16feb55
commit
87ff6fb35f
1 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,8 @@
|
||||||
if ! "$REMOTE" && test "$(tty)" = /dev/tty1
|
if ! "$REMOTE" && test "$(tty)" = /dev/tty1
|
||||||
|
run_sway
|
||||||
|
end
|
||||||
|
|
||||||
|
function run_sway
|
||||||
doas mkdir -p /run/user
|
doas mkdir -p /run/user
|
||||||
doas chmod 755 /run/user
|
doas chmod 755 /run/user
|
||||||
set -gx XDG_RUNTIME_DIR "/run/user/$(id -u)"
|
set -gx XDG_RUNTIME_DIR "/run/user/$(id -u)"
|
||||||
|
|
Loading…
Reference in a new issue