diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-09-24 02:23:50 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-09-24 02:23:50 +0200 |
| commit | 97a6b663a1945603e9b55228e8540957d03f2a64 (patch) | |
| tree | e71b5502c0d8fcc93497c0894626b7fdc9a925fe /common/.profile | |
| parent | 88370cd83f13c30d68119cbe3b229a1ab559cf55 (diff) | |
| download | dotfiles-97a6b663a1945603e9b55228e8540957d03f2a64.tar.gz dotfiles-97a6b663a1945603e9b55228e8540957d03f2a64.zip | |
Moved files to common/
Diffstat (limited to 'common/.profile')
| -rw-r--r-- | common/.profile | 18 |
1 files changed, 18 insertions, 0 deletions
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 |
