tv alacritty: TMPDIR -> XDG_RUNTIME_DIR

This commit is contained in:
tv 2023-01-17 00:37:46 +01:00
parent 051dd045d3
commit 70472d8c45

View File

@ -83,7 +83,7 @@ let
in pkgs.writeText "alacritty-tv-${name}.profile" /* sh */ ''
# Use home so Alacritty can find the configuration without arguments.
# HOME will be reset once in Alacritty.
HOME=$TMPDIR/Alacritty-${name}
HOME=$XDG_RUNTIME_DIR/Alacritty-${name}
export HOME
# Tell Alacritty via XDG_RUNTIME_DIR where to create sockets.