1
0
Fork 0

some adjustments now that neovim is available; also use underline for cursor in termite

This commit is contained in:
Von Random 2015-11-06 10:21:17 +03:00
parent e950da7742
commit 5f43fe4181
3 changed files with 8 additions and 20 deletions

16
rc.lua
View file

@ -75,21 +75,7 @@ theme.taglist_font = 'Terminus 11'
theme.taglist_squares_sel = nil theme.taglist_squares_sel = nil
theme.taglist_squares_unsel = nil theme.taglist_squares_unsel = nil
theme.bg_normal = "#282828"
theme.bg_focus = "#607D8B"
theme.bg_urgent = "#D15A00"
theme.bg_minimize = "#373737"
theme.bg_systray = theme.bg_normal
theme.fg_normal = "#aaaaaa"
theme.fg_focus = "#ffffff"
theme.fg_urgent = "#ffffff"
theme.fg_minimize = "#ffffff"
theme.border_width = 2 theme.border_width = 2
theme.border_normal = theme.bg_normal
theme.border_focus = theme.bg_focus
theme.border_marked = "#608B63"
-- amount of pixels to snap windows from -- amount of pixels to snap windows from
snap = 7 snap = 7
@ -101,7 +87,7 @@ if exists(wallpaper) then
end end
-- This is used later as the default terminal and editor to run. -- This is used later as the default terminal and editor to run.
terminal = 'urxvt' terminal = 'termite'
editor = os.getenv('EDITOR') or 'vim' editor = os.getenv('EDITOR') or 'vim'
editor_cmd = terminal .. ' -e ' .. editor editor_cmd = terminal .. ' -e ' .. editor

View file

@ -40,7 +40,6 @@ export LS_COLORS='no=00:fi=00:di=34:ow=34;40:ln=35:pi=30;44:so=35;44:do=35;44:bd
# }}} # }}}
# {{{ common aliases # {{{ common aliases
alias vi='command vim'
alias less='command less -R' alias less='command less -R'
alias cower='command cower -c' alias cower='command cower -c'
alias pacman='command pacman --color=auto' alias pacman='command pacman --color=auto'
@ -51,7 +50,10 @@ alias hist='fc -l 1'
alias beep='printf "\007"' alias beep='printf "\007"'
alias fixterm='printf "c"' alias fixterm='printf "c"'
if (is_exec nvim && [[ -r ${HOME}/.vimrc ]]); then if (is_exec nvim && [[ -r ${HOME}/.vimrc ]]); then
alias nvim='command nvim -u ~/.vimrc' alias vim='command nvim -u ~/.vimrc'
alias vi='command nvim -u ~/.vimrc'
else
alias vi='command vim'
fi fi
# iconv # iconv

View file

@ -12,12 +12,12 @@ scrollback_lines = 1000
search_wrap = true search_wrap = true
icon_name = terminal icon_name = terminal
cursor_blink = off cursor_blink = off
cursor_shape = block cursor_shape = underline
browser = firefox browser = firefox
size_hints = false size_hints = false
[colors] [colors]
#cursor = #002b36 cursor = #002b36
foreground = #657b83 foreground = #657b83
foreground_bold = #002b36 foreground_bold = #002b36
background = #fdf6e3 background = #fdf6e3