summaryrefslogtreecommitdiff
path: root/shell/zprofile
diff options
context:
space:
mode:
Diffstat (limited to 'shell/zprofile')
-rw-r--r--shell/zprofile10
1 files changed, 7 insertions, 3 deletions
diff --git a/shell/zprofile b/shell/zprofile
index 50b31fe..4b7b9f9 100644
--- a/shell/zprofile
+++ b/shell/zprofile
@@ -1,14 +1,18 @@
-# Rust binaries
+# Path variables
export PATH=$PATH:$HOME/.cargo/bin/
-
-# Local binaries / scripts
export PATH=$PATH:$HOME/.local/bin
+export PATH=$PATH:$HOME/.local/riscv/bin
+# XDG Variables
export XDG_CONFIG_HOME="$HOME/.config"
# zshrc directory
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
+# Make Electron apps behave well
+export ELECTRON_OZONE_PLATFORM_HINT=wayland
+
[[ -f ~/.zshrc ]] && . ~/.zshrc
+# Open hyprland only on tty 1
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Hyprland >/dev/null 2>&1 && exec Hyprland