small fixes to install.sh, vim lightline

This commit is contained in:
Tristaan
2017-11-17 19:43:07 +01:00
parent 93a6a432df
commit 4f58d5d696
6 changed files with 16 additions and 7 deletions

View File

@@ -95,7 +95,7 @@ noremap <Leader>v :<C-u>vsplit<CR>
"Plugins "Plugins
filetype off filetype off
set rtp+=~/.vim/bundle/Vundle.vim set rtp+=~/.config/nvim/bundle/Vundle.vim
call vundle#begin() call vundle#begin()
Plugin 'VundleVim/Vundle.vim' Plugin 'VundleVim/Vundle.vim'
@@ -133,7 +133,7 @@ Plugin 'mattn/emmet-vim'
"syntax, colorscheme, etc. (visuals) "syntax, colorscheme, etc. (visuals)
Plugin 'itchyny/lightline.vim' Plugin 'itchyny/lightline.vim'
Plugin 'taohex/lightline-buffer' Plugin 'mgee/lightline-bufferline'
Plugin 'ryanoasis/vim-devicons' Plugin 'ryanoasis/vim-devicons'
Plugin 'PotatoesMaster/i3-vim-syntax' Plugin 'PotatoesMaster/i3-vim-syntax'
Plugin 'vim-scripts/octave.vim--' Plugin 'vim-scripts/octave.vim--'
@@ -203,14 +203,14 @@ let g:startify_custom_header = [
"LIGHTLINE "LIGHTLINE
let g:lightline = { let g:lightline = {
\ 'tabline': { \ 'tabline': {
\ 'left': [ [ 'bufferinfo' ], [ 'bufferbefore', 'buffercurrent', 'bufferafter' ], ], \ 'left': [[ 'buffers' ]],
\ 'right': [ [ 'close' ], ], \ 'right': [[ 'close' ]],
\ }, \ },
\ 'component_expand': { \ 'component_expand': {
\ 'buffercurrent': 'lightline#buffer#buffercurrent2', \ 'buffers': 'lightline#bufferline#buffers',
\ }, \ },
\ 'component_type': { \ 'component_type': {
\ 'buffercurrent': 'tabsel', \ 'buffers': 'tabsel',
\ }, \ },
\ 'mode_map': { 'c': 'NORMAL' }, \ 'mode_map': { 'c': 'NORMAL' },
\ 'active': { \ 'active': {

View File

@@ -1,4 +1,5 @@
# T's desktop v3 # T's desktop v3
#exec --no-stratup-id xrandr --output eDP1 --primary --auto
exec --no-startup-id xrandr --output HDMI-0 --auto --mode 1920x1080 --primary --dpi 96/HDMI-0 exec --no-startup-id xrandr --output HDMI-0 --auto --mode 1920x1080 --primary --dpi 96/HDMI-0
exec --no-startup-id mplayer -fs ~/.i3/boot.mp4 exec --no-startup-id mplayer -fs ~/.i3/boot.mp4
exec --no-startup-id xautolock -time 10 -locker ~/.i3/scripts/locker.sh exec --no-startup-id xautolock -time 10 -locker ~/.i3/scripts/locker.sh
@@ -18,7 +19,7 @@ exec --no-startup-id xmodmap ~/.config/i3/custom.map
# US brackets on slovene special characters # US brackets on slovene special characters
#exec xmodmap ~/.i3/custom.map #exec xmodmap ~/.i3/custom.map
font pango: FontAwesome, xos4 Terminess Powerline 10 font pango: FontAwesome, xos4 Terminess Powerline 12
#--APPEARANCE--# #--APPEARANCE--#

View File

@@ -16,8 +16,10 @@ symlink_dotfiles() {
for file in .config/*; do for file in .config/*; do
ln -s "${SCRIPT_DIR}/${file}" "${HOME}/${file}" ln -s "${SCRIPT_DIR}/${file}" "${HOME}/${file}"
done done
ln -s "${SCRIPT_DIR}/zsh-themes" "${HOME}/.oh-my-zsh/custom/themes"
} }
git submodule update
for var in "$@" for var in "$@"
do do
if [ $var == "-u" ] ; then if [ $var == "-u" ] ; then

2
zsh-themes/T-i3.zsh-theme Executable file
View File

@@ -0,0 +1,2 @@
PROMPT='%F{blue}%n%f@%m %F{green}%~%f %# '
RPROMPT='%t'

2
zsh-themes/T-netbook.zsh-theme Executable file
View File

@@ -0,0 +1,2 @@
PROMPT='%F{green}%n%f@%m %F{green}%~%f %# '
RPROMPT='%t'

2
zsh-themes/TServer.zsh-theme Executable file
View File

@@ -0,0 +1,2 @@
PROMPT='%F{red}%n%f@%m %F{green}%~%f %# '
RPROMPT='%t'