Added spawn macro and t alias

t spawns a new st window and detatches it
This commit is contained in:
Thomas Muller 2021-12-03 16:20:29 -05:00
parent 343aae17cf
commit 46f9c65b93

View file

@ -25,6 +25,7 @@ alias make="make -j$(nproc)"
alias rm="rm -I" alias rm="rm -I"
alias sl="sl | lolcat" alias sl="sl | lolcat"
alias vim="nvim" alias vim="nvim"
alias t="spawn st"
# ----[Macros]---- # ----[Macros]----
alias clean_packages="sudo pacman -Rsn $(pacman -Qdtq)" alias clean_packages="sudo pacman -Rsn $(pacman -Qdtq)"
@ -33,6 +34,7 @@ alias fixdirectories='find . -type d -exec chmod 755 {} \;'
alias fixfiles='find . -type f -exec chmod 644 {} \;' alias fixfiles='find . -type f -exec chmod 644 {} \;'
alias reload_wallpaper="xwallpaper --stretch .config/wallpaper.png" alias reload_wallpaper="xwallpaper --stretch .config/wallpaper.png"
alias stealyt='youtube-dl "`xclip -o | sed s/\&.*$//`"' alias stealyt='youtube-dl "`xclip -o | sed s/\&.*$//`"'
spawn() { nohup $1 </dev/null >/dev/null 2>&1 & }
# ----[Docker Machine and PS1]---- # ----[Docker Machine and PS1]----
source /usr/share/bash-completion/completions/docker-machine-prompt source /usr/share/bash-completion/completions/docker-machine-prompt