From a30f14a099c5affa5d58b0eaf21001b1cd19383b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 22 Jul 2015 15:21:10 -0300 Subject: Updates powerline support --- geometry.dot.link | 2 +- profile.dot.link | 5 +++++ tmux.conf.dot.link | 11 +++++++---- xsession.dot.link | 7 +++++-- zshrc.dot.link | 3 +++ 5 files changed, 21 insertions(+), 7 deletions(-) diff --git a/geometry.dot.link b/geometry.dot.link index 7657e8d..0c1ec3a 100644 --- a/geometry.dot.link +++ b/geometry.dot.link @@ -3,7 +3,7 @@ # TERM="rxvt" -FONT="-*-terminus-*-*-*-*-18-*-*-*-*-*-*-*" +FONT="-*-terminus-*-*-*-*-14-*-*-*-*-*-*-*" # Load custom configuration if [ -e "$HOME/.custom/geometry" ]; then diff --git a/profile.dot.link b/profile.dot.link index f31c87d..ed128ec 100644 --- a/profile.dot.link +++ b/profile.dot.link @@ -113,6 +113,11 @@ if [ -e "$HOME/.custom/profile" ]; then . $HOME/.custom/profile fi +# Python +if [ -e "$HOME/apps/python" ]; then + export PYTHONPATH="$HOME/apps/python" +fi + # Bash specifics if [ -n "$BASH_VERSION" ]; then # Command prompt if no system-wide custom prompt is available diff --git a/tmux.conf.dot.link b/tmux.conf.dot.link index 8261d92..638cf26 100644 --- a/tmux.conf.dot.link +++ b/tmux.conf.dot.link @@ -15,7 +15,10 @@ set -g default-terminal "screen-256color" # See https://coderwall.com/p/ca5cuw # http://zanshin.net/2013/09/05/my-tmux-configuration/ #set-option -g status-position top -set -g status-fg white -set -g status-bg blue -set -g status-left '' -set -g status-right-length 60 +#set -g status-fg white +#set -g status-bg blue +#set -g status-left '' +#set -g status-right-length 60 + +# Powerline +source '/usr/share/powerline/bindings/tmux/powerline.conf' diff --git a/xsession.dot.link b/xsession.dot.link index 6ea47f6..08a21d9 100755 --- a/xsession.dot.link +++ b/xsession.dot.link @@ -29,8 +29,11 @@ if [ -e "$HOME/.custom/xsession" ]; then fi # Set background -if [ ! -z "$BACKGROUND" ]; then - Esetroot -scale $HOME/.config/themes/backgrounds/$BACKGROUND +if [ "$BACKGROUND" == "all" ]; then + feh --bg-scale --randomize $HOME/.config/themes/backgrounds/* +elif [ ! -z "$BACKGROUND" ]; then + #Esetroot -scale $HOME/.config/themes/backgrounds/$BACKGROUND + feh --bg-scale $HOME/.config/themes/backgrounds/$BACKGROUND else xsetroot -solid black fi diff --git a/zshrc.dot.link b/zshrc.dot.link index e16d962..9397086 100644 --- a/zshrc.dot.link +++ b/zshrc.dot.link @@ -37,3 +37,6 @@ zstyle ':completion:*' use-compctl false zstyle ':completion:*' verbose true zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd' + +# Porweline +#. /usr/share/powerline/bindings/zsh/powerline.zsh -- cgit v1.2.3