commit 86d829ad6c5a645141f46f0ae901e9a17b1a9a8b
parent 13fa8731f616aa29f613501eddc0fd110a8ad6d5
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Thu, 10 Apr 2014 08:06:54 +0200
added rainbow parantheses and standby
Diffstat:
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/.vimrc b/.vimrc
@@ -56,6 +56,9 @@ Bundle 'ervandew/supertab'
" usage: :Ack [options] {pattern} [{directory}]
"Bundle 'mileszs/ack.vim'
+" Rainbow parantheses
+Bundle 'kien/rainbow_parentheses.vim'
+
" Calendar
"Bundle 'itchyny/calendar.vim'
"let g:calendar_google_calendar = 1
@@ -137,6 +140,12 @@ endif
let g:Powerline_symbols = 'unicode'
"let g:Powerline_symbols = 'fancy'
+" Rainbow parantheses always on
+au VimEnter * RainbowParenthesesToggle
+au Syntax * RainbowParenthesesLoadRound
+au Syntax * RainbowParenthesesLoadSquare
+au Syntax * RainbowParenthesesLoadBraces
+
" Dictionary word completion using Ctrl-x Ctrl-k
" File from wordlist- (debian) or word- (arch) package
set dictionary+=/usr/share/dict/words
diff --git a/.xinitrc b/.xinitrc
@@ -76,7 +76,7 @@ synclient TapButton1=1 TapButton2=2 TapButton3=3
# Automatically suspend system after 20 mins of inactivity
#xautolock -time 20 -locker "sudo pm-suspend" &
# Automatically lock the screen after 10 mins of inactivity
-xautolock -time 10 -locker "i3lock -c 1d1f21" &
+xautolock -time 10 -locker "i3lock -c 1d1f21 && sleep 30; sudo pm-suspend" &
# Read .Xmodmap for modified keys
setxkbmap -option ctrl:nocaps
@@ -99,7 +99,7 @@ if [[ "$HOSTNAME" != 'phony' ]]; then
fi
# Start screensaver daemon
-/usr/bin/xscreensaver -no-splash &
+#/usr/bin/xscreensaver -no-splash &
# Typing breaks (optionally add +lock)
xwrits breaktime=5:00 typetime=55:00 +clock +breakclock +mouse &