From 29d69699f815927588b05dcc905a3e290ca41db5 Mon Sep 17 00:00:00 2001 From: TuDatTr Date: Sun, 24 Dec 2017 20:34:38 +0100 Subject: [PATCH] Custoized Termite, Powerlevel9k and their color scheme --- .config/termite/config | 10 +++++----- .zshrc | 34 ++++++++++++++++++++++++++-------- 2 files changed, 31 insertions(+), 13 deletions(-) diff --git a/.config/termite/config b/.config/termite/config index b10bef2..4668c7e 100644 --- a/.config/termite/config +++ b/.config/termite/config @@ -7,7 +7,7 @@ font = Monospace 9 #fullscreen = true #geometry = 640x480 #icon_name = terminal -#mouse_autohide = false +mouse_autohide = true #scroll_on_output = false #scroll_on_keystroke = true # Length of the scrollback buffer, 0 disabled the scrollback buffer @@ -15,7 +15,7 @@ font = Monospace 9 scrollback_lines = 10000 #search_wrap = true #urgent_on_bell = true -#hyperlinks = false +hyperlinks = true # $BROWSER is used by default if set, with xdg-open as a fallback #browser = xdg-open @@ -55,11 +55,11 @@ background = rgba(63, 63, 63, 0.75) highlight = #2f2f2f # Colors from color0 to color254 can be set -color0 = #3f3f3f +color0 = #303462 color1 = #705050 color2 = #60b48a color3 = #dfaf8f -color4 = #506070 +color4 = #5294E2 color5 = #dc8cc3 color6 = #8cd0d3 color7 = #dcdccc @@ -70,7 +70,7 @@ color11 = #f0dfaf color12 = #94bff3 color13 = #ec93d3 color14 = #93e0e3 -color15 = #ffffff +color15 = #123456 [hints] #font = Monospace 12 diff --git a/.zshrc b/.zshrc index 12bff13..cb3ae08 100644 --- a/.zshrc +++ b/.zshrc @@ -1,5 +1,5 @@ # Path to your oh-my-zsh installation. - export ZSH=/home/tuan/.oh-my-zsh +export ZSH=/home/tuan/.oh-my-zsh # Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded. @@ -12,7 +12,7 @@ DISABLE_AUTO_TITLE="true" # Uncomment the following line if you want to change the command execution time # stamp shown in the history command output. # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" - HIST_STAMPS="yyyy.mm.dd" +HIST_STAMPS="yyyy.mm.dd" # Would you like to use another custom folder than $ZSH/custom? # ZSH_CUSTOM=/path/to/new-custom-folder @@ -25,19 +25,37 @@ plugins=( git ) -source $ZSH/oh-my-zsh.sh - # User configuration -POWERLEVEL9K_MODE='awesome-patched' +#POWERLEVEL + +POWERLEVEL9K_MODE='awesome-fontconfig' + +POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon dir vcs) +POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status time) + +POWERLEVEL9K_STATUS_OK_BACKGROUND="blue" +POWERLEVEL9K_STATUS_OK_FOREGROUND="orange" +POWERLEVEL9K_STATUS_ERROR_BACKGROUND="blue" +POWERLEVEL9K_STATUS_ERROR_FOREGROUND="red" + +#POWERLEVEL9K_BATTERY_BACKGROUND="color6" +#POWERLEVEL9K_BATTERY_DISCONNECTED="color6" +#POWERLEVEL9K_BATTERY_STAGES="▁▂▃▄▅▆▇█" + +POWERLEVEL9K_TIME_BACKGROUND="black" +POWERLEVEL9K_TIME_FOREGROUND="color7" +POWERLEVEL9K_TIME_FORMAT="%D{%H:%M:%S} " + +# PATHS export TERM="xterm-256color" # in case you are using urxvt, to bypass an error during sshing PATH=$PATH:~/.local/bin - - - # User alias alias df="df -h" alias mkvirtenv="python -m virtualenv --system-site-packages" alias emacs="emacs -nw" alias rm="rm -i" + + +source $ZSH/oh-my-zsh.sh