From 5f0381265744250e39f3f2e41da5b7b51c1ac817 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Tue, 23 Jan 2018 14:06:10 +0100 Subject: [PATCH] Start terminal on login --- .xinitrc | 1 + .zshrc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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%}" }