diff --git a/.xinitrc b/.xinitrc index bc1a738..70ba10d 100755 --- a/.xinitrc +++ b/.xinitrc @@ -11,4 +11,5 @@ xsetroot -solid \#202020 xmodmap $HOME/.Xmodmap feh --bg-fill $HOME/Images/desktop.jpg || true setxkbmap -option ctrl:nocaps,grp:switch,grp_led:scroll us,se +st tmux attach -t0 & exec dwm diff --git a/.zshrc b/.zshrc index eb9d36e..f056fc4 100644 --- a/.zshrc +++ b/.zshrc @@ -68,7 +68,7 @@ function _dln_prompt_left { } function _dln_prompt_right { - _tmux_win=`tmux display-message -p "#I"` + _tmux_win=`tmux display-message -p "#I" 2>/dev/null` echo -e " %{\e[38;5;16;48;5;30m%} ${_tmux_win} %{\e[0m%}" }