diff options
Diffstat (limited to '.zprofile')
-rw-r--r-- | .zprofile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.zprofile b/.zprofile new file mode 100644 index 0000000..267cbf5 --- /dev/null +++ b/.zprofile @@ -0,0 +1,15 @@ +if test -z "${XDG_RUNTIME_DIR}"; then + export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir + if ! test -d "${XDG_RUNTIME_DIR}"; then + mkdir "${XDG_RUNTIME_DIR}" + chmod 0700 "${XDG_RUNTIME_DIR}" + fi +fi + +# Sway fixes for firefox and screensharing +export MOZ_ENABLE_WAYLAND="1" +export XDG_CURRENT_DESKTOP=sway +export QT_QPA_PLATFORM="wayland-egl" + +# Connect to VPN +doas $HOME/vpn.sh |