diff --git a/i3/run.sh b/i3/run.sh index 7e0818e..36c0614 100755 --- a/i3/run.sh +++ b/i3/run.sh @@ -53,5 +53,9 @@ if [ "$1" = "boot" ];then /usr/bin/xset +fp built-ins /usr/bin/xset s off /usr/bin/xset -dpms - /usr/local/bin/i3||/usr/bin/i3 + if [ -f /usr/local/bin/i3 ]; then + /usr/bin/ck-launch-session /usr/local/bin/i3 + elif [ -f /usr/bin/i3 ]; then + /usr/bin/ck-launch-session /usr/bin/i3 + fi fi diff --git a/vim/vimrc b/vim/vimrc index f379b6c..e349a66 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -402,4 +402,4 @@ endfunction set guifont=Fixed\ Medium\ Semi-Condensed\ 10 inoremap =g:UltiSnips_Complete() map b JavagetsetInsertBothGetterSetter -map a O:Autoformat:v/\S/d +map a O:Autoformat:v/\S/d:nohlsearch