]> git.rmz.io Git - dotfiles.git/commitdiff
all the smartlam stuff smartlab-imac2
authorSamir Benmendil <me@rmz.io>
Fri, 19 Jun 2015 17:04:32 +0000 (18:04 +0100)
committerSamir Benmendil <me@rmz.io>
Fri, 19 Jun 2015 17:04:32 +0000 (18:04 +0100)
Xresources
awesome/widgets/calendar.lua
offlineimap/config
vim/vimrc
xprofile
zshrc

index 6391c5d8e05a49ab1c0037df57f98ff3bd7ba6f7..cff04d51d2af01c41b70d22e83015b160feec7c6 100644 (file)
@@ -9,6 +9,10 @@ URxvt.font:              xft:Inconsolata for Powerline:size=11
 URxvt.skipBuiltinGlyphs: true
 Xft.antialias: true
 
+! {{{1 Cursor
+! Xcursor.theme:
+Xcursor.size: 12
+
 ! {{{1 Scrolling
 URxvt*.scrollBar: false
 URxvt.saveLines:  10000
index cdf58ae9a6c4faf78001578db2f8c12f7492df2f..9663872e920bc4a242ace65073d7e6c9be305ba2 100644 (file)
@@ -22,7 +22,7 @@ calendar.bg        = beautiful.bg_normal or "#FFFFFF"
 calendar.position  = "top_right"
 calendar.offset = 0
 
-local calwidget = awful.widget.textclock(" %a %b %d, %k:%M ", 10)
+local calwidget = awful.widget.textclock(" %a %b %d, %H:%M ", 10)
 
 calwidget:connect_signal("mouse::enter", function () calendar:show(0) end)
 calwidget:connect_signal("mouse::leave", function () calendar:hide() end)
index 5b020235b61f97c125eb7e62ff344adbc8632ff0..08bf7810d816661324434dae727cc7b96e36c5e5 100644 (file)
@@ -47,7 +47,7 @@ nametrans = translocal
 type = Gmail
 remoteuser = samir.benmendil@gmail.com
 nametrans = transremote
-# folderfilter = lambda foldername: foldername in ['[Google Mail]/All Mail', '[Google Mail]/Drafts', '[Google Mail]/Bin']
+folderfilter = lambda foldername: foldername not in '[Google Mail]/All Mail'
 sslcacertfile = /etc/ssl/certs/ca-certificates.crt
 trashfolder = '[Google Mail]/Bin'
 spamfolder = '[Google Mail]/Spam'
index 65242d4e81512ad2b39f820ca81c6f766ba58660..7a99c9dbee8126e68c57b239ef13dd0b52bc5f30 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -449,8 +449,6 @@ nmap <silent> [og <Plug>IndentGuidesEnable
 nmap <silent> ]og <Plug>IndentGuidesDisable
 
 " NERDTree {{{2
-" open/close NERDTree with \e
-nmap <Leader>e :NERDTreeToggle<CR>
 nmap <F6> :NERDTreeToggle<CR>
 " <space> to open files/dirs
 let NERDTreeMapActivateNode='l'
@@ -536,6 +534,7 @@ if executable('ag')
     let g:unite_source_grep_recursive_opt = ''
 end
 nnoremap <silent> [unite]a :<C-u>Unite grep -input=\12\17<CR>
+nnoremap <silent> [unite]g :<C-u>Unite grep<cr>
 
 " unite-file_rec {{{3
 if executable('ag')
index 8d7bd24b3e63aa6adb39fb3d3772b95cbf976359..addc632a237943e5b9585baf73d4de7c42460474 100644 (file)
--- a/xprofile
+++ b/xprofile
@@ -1,11 +1,10 @@
 start-pulseaudio-x11
 compton -b --config ~/.config/compton.conf
 xautolock -detectsleep \
-          -notify  600 -notifier "xset dpms force off" \
-          -time     20 -locker   "i3lock -nc 000000" \
-          -killtime 70 -killer   "systemctl suspend" &
+          -notify  300 -notifier "xset dpms force off" \
+          -time     10 -locker   "dm-tool lock" &
 xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/$(hostname).xkb $DISPLAY
-unclutter -idle 1 -root &
+unclutter -idle 1 &
 [[ -f "$XDG_CONFIG_HOME/xbindkeys/$(hostname)" ]] && xbindkeys --file $XDG_CONFIG_HOME/xbindkeys/$(hostname)
 xcape -e "Control_L=Escape;Control_R=Escape"
 urxvtd -q -f -o
diff --git a/zshrc b/zshrc
index e6126f22c2ff7b6c66179bb24a42e624d673ab17..8d24427fc830df7f6efbbadfd6ea7474c548fe22 100644 (file)
--- a/zshrc
+++ b/zshrc
@@ -59,3 +59,5 @@ hash -d UniMaas=~/dropbox/Documents/UniMaas
 
 # set some env variables
 export _gamedir=/mnt/Skaro/Games/Linux/HumbleBundle
+
+rosinit