Commits

Fernando G N Rocha committed 7d55e3a

2014-6-9

  • Participants
  • Parent commits d7af288

Comments (0)

Files changed (5)

 !*color7: #9ba0a7
 !*color15: #6e7383
 
+! default
 !--Soralized--
 *background:            #002b36
 *foreground:            #657b83
 Bundle 'airblade/vim-gitgutter'
 Bundle 'terryma/vim-multiple-cursors'
 Bundle 'natw/keyboard_cat.vim'
-Bundle 'tudorprodan/pyfinder.vim'
+" Bundle 'tudorprodan/pyfinder.vim'
 " Bundle 'FredKSchott/CoVim'
-Bundle 'nvie/vim-rst-tables'
+" Bundle 'nvie/vim-rst-tables'
 Bundle 'tomtom/tcomment_vim'
 
 
 
 " Lets fold everything
 set foldmethod=indent
+set clipboard=unnamedplus 
 parcellite &
 syndaemon -k -i 2 -d &
 sudo tee /proc/acpi/bbswitch <<<OFF &
+autocutsel -fork &
+autocutsel -selection PRIMARY -fork &
 exec xmonad 
 #exec startlxde
 #twm &

File .xmonad/xmonad.hs

     { borderWidth        = 1
     , terminal           = "urxvtc -bg rgba:0000/0000/0000/dddd" --"urxvt" --"mrxvt -tr +sb"
     --, terminal           = "urxvtc -fg Black -bg White" 
+    --, terminal           = "urxvtc" 
     , workspaces         = ["1:main", "2:dev", "3:foo()", "4:media", "5:emesene", "6:foo()", "7:foo()", "8:skype", "9:others"]
     , normalBorderColor  = "black" --"#cccccc"
     , focusedBorderColor = "#DDDDDD" -- --"#7CFC0"--"#cd8b00" 
           ((modm, xK_F8), spawn "mocp -k -7"),
           ((modm, xK_F10), spawn "mocp -k 7"),
           -- GrooveShark (keySharky) -- TODO: Fazer scripts pra mostar música via notify
-          ((modm, xK_F2), spawn "wget http://localhost:8800/play --spider --no-cache"),
-          ((modm, xK_F3), spawn "wget http://localhost:8800/next --spider --no-cache"),
-           ((modm, xK_F1), spawn "wget http://localhost:8800/previous --spider --no-cache"),
+          ((modm, xK_F2), spawn "playerctl play-pause"),
+          ((modm, xK_F3), spawn "playerctl next"),
+          ((modm, xK_F1), spawn "playerctl previous"),
           -- Brightness
           ((modm, xK_F4), spawn "sudo xbacklight -dec 22;"),
           ((modm, xK_F5), spawn "sudo xbacklight -inc 22;"),
           -- Scrot
-          ((modm, xK_Insert), spawn "scrot"),
+          ((modm, xK_Insert), spawn "cd /tmp && scrot"),
           -- PulseAudio Control
-          ((modm, xK_F12), spawn "mute_toggle"),
-          ((modm, xK_Up), spawn "vol_up"),
-          ((modm, xK_Down), spawn "vol_down"),
+          ((modm, xK_F12), spawn "pulseaudio-ctl mute"),
+          ((modm, xK_Up), spawn "pulseaudio-ctl up"),
+          ((modm, xK_Down), spawn "pulseaudio-ctl down"),
           ((modm, xK_p), spawn "dmenu_run"),
+          -- Chrome
+          ((modm, xK_F7), spawn "chromium"),
           -- Learning dvorak
           ((modm, xK_F11), spawn "sudo setxkbmap dvp; notify-send programmer dvorak"),
           ((modm, xK_F12), spawn "sudo setxkbmap br; notify-send qwerty"),
 autoload -Uz vcs_info
 
+
 # DVCS in PS1
 zstyle ':vcs_info:*' formats       '%b'
 # Do not show dotfiles repository in home 
 #alias moc='mocp -R oss -T ~/.themes/moc-orpheus'
 alias moc='mocp -T ~/.themes/moc-orpheus'
 alias vixmonad='vim ~/.xmonad/xmonad.hs'
-alias bi='vi'
-alias ci='vi'
+alias vi='vim'
+alias bi='vim'
+alias ci='vim'
 alias uol='while sleep 1; do ping www.uol.com.br; done;'
 alias gvt='ping -c 2 -i .2 186.215.0.1 | grep -i from'
-alias vir='ping -c 2 -i .2 187.2.200.1'
+alias vir='ping -c 2 -i .2 187.2.200.101 | grep -i from'
 alias vivo='ping -c 2 -i .2 187.117.135.70'
-alias u='sudo pacman -Syu && pacaur -u'
+alias u='sudo pacman -Syu --noconfirm && pacaur -u'
 alias pylab='ipython2 --pylab'
 
 alias sen='watch sensors'
 alias ssh='TERM=rxvt ssh'
 alias cclive='cclive -f best'
 alias wk='workon'
+alias wallpaper="feh --bg-fill $(python -c 'import random,glob; print (random.choice(glob.glob("/home/fernando/outros/imagens/wallpapers_random/*")))')"
 
 export EDITOR="vim"
 
 
 source /etc/profile
 #vv && workon south && cd tutorial_south && tmux
-source ~/.autoenv/activate.sh
 
 #Include private data
 source ~/.zshrc_private
     pwd > ~/.last_dir
 }
 
-# restore last saved path
-if [ -f ~/.last_dir ]
-    then cd `cat ~/.last_dir`
-fi
+# # restore last saved path
+# if [ -f ~/.last_dir ]
+#     then cd `cat ~/.last_dir`
+# fi
+
+source $HOME/.autoenv/activate.sh
+wallpaper