dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit d9d21ee47d962d51bad155aa8a6fc6b3c6bd2df4
parent ea746d5edb9e5b3c5b132eeb6af3c01a50df3301
Author: pyratebeard <root@pyratebeard.net>
Date:   Fri, 25 Nov 2022 16:37:10 +0000

better

Diffstat:
Mzsh/.zsh/welcome.zsh | 18++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/zsh/.zsh/welcome.zsh b/zsh/.zsh/welcome.zsh @@ -13,16 +13,14 @@ audio_vol() { fi } -# script run on first terminal script() { - if [[ ${PTS} -eq "2" ]] ; then - audio_vol - hashwall -f '#131313' -b '#1e1b1c' -s 12 - xrandr --output HDMI-2 --primary --output DVI-D-1 --rotate left - tmux new -s main -n 'vim' - [[ ${TMUX_PANE} == "%0" ]] && $HOME/bin/ahoy - fi + audio_vol + [[ $(ps -ef | grep xbindkeys | grep -v grep | wc -l) -eq 0 ]] && xbindkeys + tmux new -s main } -set -o vi -script +tmux list-sessions >/dev/null 2>&1 || script +# run on first tmux pane +if [[ $TMUX_PANE == "%0" ]] ; then + $HOME/bin/ahoy +fi