Compare commits

...

2 commits

Author SHA1 Message Date
GaspardCulis
e5e82abfa8
bash -> (bashrc + profile): Fixed tmux exec overriding Hyprland 2024-06-01 03:15:02 +02:00
GaspardCulis
8a4185b387
shell -> bash -> exec: Execute tmux on start 2024-06-01 03:13:28 +02:00
3 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,9 @@
#!/usr/bin/bash #!/usr/bin/bash
# Start in tmux by default
[[ $TERM != "screen" ]] && [ -z "$TMUX" ] && exec tmux
if command -v jaaj &> /dev/null && command -v dotacat &> /dev/null; then if command -v jaaj &> /dev/null && command -v dotacat &> /dev/null; then
jaaj jaaj
fi fi

View file

@ -1,10 +1,8 @@
# export PATH="$HOME/.local/bin:$PATH"
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
# Start DE if on tty1 # Start DE if on tty1
if [ "$(tty)" = /dev/tty1 ]; then if [ "$(tty)" = /dev/tty1 ]; then
exec Hyprland exec Hyprland
fi fi
[[ -f ~/.bashrc ]] && . ~/.bashrc

View file

@ -21,8 +21,6 @@ fi
bind '"\e[A":history-search-backward' bind '"\e[A":history-search-backward'
bind '"\e[B":history-search-forward' bind '"\e[B":history-search-forward'
export PATH="$HOME/.local/bin:$PATH"
export EDITOR="hx" export EDITOR="hx"
export HISTFILESIZE= export HISTFILESIZE=