SHA256
1
0
forked from pool/helix
helix/helix.sh

10 lines
192 B
Bash

#!/bin/sh
if [ "$USER" = "root" ]
then
HELIX_RUNTIME=/usr/lib64/helix/runtime exec /usr/lib64/helix/hx "$@"
else
mkdir -p "$HOME/.config/helix/runtime"
exec /usr/lib64/helix/hx "$@"
fi