Few minor changes

This commit is contained in:
Théophile Bastian 2017-03-06 23:55:00 +01:00
parent 0750b005bc
commit fc66140a5b
4 changed files with 16 additions and 3 deletions

View file

@ -43,6 +43,7 @@ export GTK_IM_MODULE=xim
export EDITOR=/usr/bin/vim
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
export ANDROID_HOME=/opt/android-sdk
export PATH="$PATH:/home/tobast/bin"
export MANPATH="$MANPATH:$HOME/local/man"
@ -52,4 +53,4 @@ export TERMINAL="/usr/bin/terminator"
export LC_REALUSER='tbastian'
# Opam
which opam > /dev/null 2>&1 && [ -f ~/.opam ] && eval `opam config env`
which opam > /dev/null 2>&1 && [ -d ~/.opam ] && eval `opam config env`

View file

@ -1,6 +1,7 @@
#!/bin/bash
dftScreen="LVDS1"
WALLPAPER_CMD="$(dirname $(readlink -f $0))/wallpaper"
screens=$(xrandr | grep " connected" | cut -f 1 -d ' ' | grep -v "LVDS")
screen=$(echo $screens | head -n 1)
@ -19,6 +20,9 @@ case "$1" in
;;
*)
>&2 echo -e "Missing argument. Usage:\n$0 [reset|left|right]"
exit 1
;;
esac
$WALLPAPER_CMD

View file

@ -1,4 +1,5 @@
[global_config]
dbus = False
enabled_plugins = LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
title_inactive_bg_color = "#000000"
title_inactive_fg_color = "#909090"
@ -23,8 +24,9 @@
background_darkness = 0.79
background_image = None
background_type = transparent
font = Monospace 9
foreground_color = "#fffeab"
cursor_color = "#fffeab"
font = DejaVu Sans Mono 8
foreground_color = "#faffb4"
scrollbar_position = hidden
show_titlebar = False
use_system_font = False

View file

@ -29,11 +29,13 @@ call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'LucHermitte/lh-vim-lib'
Plugin 'LucHermitte/local_vimrc'
Plugin 'tpope/vim-fugitive'
"Plugin 'Smart-Tabs'
Plugin 'hynek/vim-python-pep8-indent'
Plugin 'tpope/vim-git'
Plugin 'fs111/pydoc.vim'
Plugin 'vim-syntastic/syntastic'
Plugin 'itchyny/vim-haskell-indent'
call vundle#end() " required
filetype plugin indent on " required
@ -92,4 +94,8 @@ map [[ :lprev<CR>
map ]] :lnext<CR>
map [] :ll<CR>
nnoremap <Leader>w :call TrimWhitespace()<CR>
nnoremap K <Esc>i<CR><Esc>
xnoremap <Leader>x <esc>:'<,'>:w !xclip -selection clipboard<CR><esc>
set tw=79