From 97a6b663a1945603e9b55228e8540957d03f2a64 Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 24 Sep 2025 02:23:50 +0200 Subject: Moved files to common/ --- common/.profile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 common/.profile (limited to 'common/.profile') diff --git a/common/.profile b/common/.profile new file mode 100644 index 0000000..b710f29 --- /dev/null +++ b/common/.profile @@ -0,0 +1,18 @@ +#!/bin/bash + +export EDITOR="$(command -v nvim || command -v vim || echo nano)" + +#if [ "$(tty)" = "/dev/tty1" -a -z "$(printenv HYPRLAND_INSTANCE_SIGNATURE)" ]; then +if [ "$DISPLAY" = "" ] && [ "$XDG_VTNR" -eq 1 ]; then + exec ~/.scripts/env/linux/autorun/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 -- cgit v1.2.3