chore: Migrate from TDM to TBSM

This commit is contained in:
Ahmad Ansori Palembani 2024-03-30 05:38:37 +07:00
parent 336d8e4dc1
commit bfb3ded59c
2 changed files with 3 additions and 2 deletions

View file

@ -2,5 +2,6 @@
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile" [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile"
if [[ "$OSTYPE" == "linux-gnu" ]]; then if [[ "$OSTYPE" == "linux-gnu" ]]; then
exec tdm --xstart # exec tdm --xstart
[[ -n "$XDG_VTNR" && $XDG_VTNR -le 2 ]] && exec tbsm
fi fi

View file

@ -5,7 +5,7 @@
#fi #fi
if [[ "$OSTYPE" == "linux-gnu"* ]]; then if [[ "$OSTYPE" == "linux-gnu"* ]]; then
bash /usr/bin/tdm [[ -n "$XDG_VTNR" && $XDG_VTNR -le 2 ]] && bash /usr/bin/tbsm
[[ -f ~/.zshrc ]] && . ~/.zshrc [[ -f ~/.zshrc ]] && . ~/.zshrc
[ ! -s ~/.config/mpd/pid ] && mpd [ ! -s ~/.config/mpd/pid ] && mpd