From 3ed8018fdb3428daf86d2d0c4828d7494152a8c0 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Tue, 12 Dec 2023 09:51:42 +0100 Subject: [PATCH] bash: Added bash_profile conf file --- shell/bash/.bash_profile | 10 ++++++++++ sync | 1 + 2 files changed, 11 insertions(+) create mode 100644 shell/bash/.bash_profile diff --git a/shell/bash/.bash_profile b/shell/bash/.bash_profile new file mode 100644 index 0000000..0e235c5 --- /dev/null +++ b/shell/bash/.bash_profile @@ -0,0 +1,10 @@ +# +# ~/.bash_profile +# + +[[ -f ~/.bashrc ]] && . ~/.bashrc + +# Start DE if on tty1 +if [ "$(tty)" = /dev/tty1 ]; then + exec Hyprland +fi diff --git a/sync b/sync index 41555d6..8672ce8 100755 --- a/sync +++ b/sync @@ -14,6 +14,7 @@ synced_files = [ ("editor/helix/", "~/.config/helix/"), ("de/i3/", "~/.config/i3/"), ("de/hypr/", "~/.config/hypr/"), + ("shell/bash/.bash_profile", "~/.bash_profile"), ("shell/bash/.bashrc", "~/.bashrc"), ("shell/bash/.bash_aliases", "~/.bash_aliases"), ("shell/bash/.bash_env", "~/.bash_env"),