aboutsummaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile16
1 files changed, 16 insertions, 0 deletions
diff --git a/.profile b/.profile
new file mode 100644
index 0000000..623fbb0
--- /dev/null
+++ b/.profile
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+#if [ "$(tty)" = "/dev/tty1" -a -z "$(printenv HYPRLAND_INSTANCE_SIGNATURE)" ]; then
+if [ "$DISPLAY" = "" ] && [ "$XDG_VTNR" -eq 1 ]; then
+ exec ~/.scripts/session_manager.sh
+fi
+
+load_zsh_env() {
+ if [ "$ZSH_VERSION" != "" ]; then
+ if [ -f ~/.config/zsh/.zshenv ]; then
+ . ~/.config/zsh/.zshenv
+ fi
+ fi
+}
+
+load_zsh_env