summaryrefslogtreecommitdiff
path: root/.zprofile
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2023-11-03 18:26:19 -0500
committerChristian Cleberg <hello@cleberg.net>2023-11-03 18:26:19 -0500
commit663b4c29a51b9fd28f21154ef90ebe39593fea16 (patch)
treeb4404f78341d2e90533d61756b22799f7b576c50 /.zprofile
downloaddotfiles-663b4c29a51b9fd28f21154ef90ebe39593fea16.tar.gz
dotfiles-663b4c29a51b9fd28f21154ef90ebe39593fea16.tar.bz2
dotfiles-663b4c29a51b9fd28f21154ef90ebe39593fea16.zip
initial commit
Diffstat (limited to '.zprofile')
-rw-r--r--.zprofile15
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