cf8 avatar cf8 committed 4350c76

changes

Comments (0)

Files changed (9)

 URxvt*borderless:true
 URxvt*urgentOnBell:true
 URxvt*cursorBlink:false
-URxvt*buffered:true
+URxvt*buffered:false
 URxvt*letterSpace:0
 URxvt*perl-ext:default,url-select
 URxvt*keysym.M-u:perl:url-select:select_next
 XTerm*on5Clicks:none
 XTerm*bellIsUrgent:true
 
-! Colortheme
+! cF8-colors
 *background: #262626
-*foreground: #eeeeee
+*foreground: #dddddd
 *cursorColor: #eeeeee
 !black
 *color0: #262626
 <?xml version="1.0"?>
 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 <fontconfig>
+
     <match target="font">
         <edit name="antialias" mode="assign"><bool>true</bool></edit>
         <edit name="autohint" mode="assign"><bool>true</bool></edit>
         <edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
     </match>
 
+    <match target="font" >
+        <edit mode="assign" name="dpi" >
+            <double>100</double>
+        </edit>
+    </match>
+
     <match target="font">
         <test name="weight" compare="more">
             <const>medium</const>
         </edit>
     </match>
 
+
+    <!-- <include ignore_missing="yes">~/.sharpfonts.conf</include> -->
+
 </fontconfig>
 
-gtk-icon-theme-name = "Faenza-Darkest"
+gtk-icon-theme-name = "Faience-Azur"
 
 gtk-xft-antialias=1
 gtk-xft-dpi=96
 visualizer_sync_interval = "1"
 #visualizer_type = "wave" (spectrum/wave)
 visualizer_type = "spectrum"
+
+execute_on_song_change = ""
+
 
 set -g default-terminal "screen-256color"
 
-set-window-option -g mode-mouse on 
-set-option -g mouse-select-pane on
+# set-window-option -g mode-mouse on 
+# set-option -g mouse-select-pane on
 
 unbind [
 bind y copy-mode
 " sessions (thanks to nl_0)
 set sessionoptions-=options
 set sessionoptions+=localoptions
+
 nmap <leader>ms :mks ~/.vim/sessions/
 nmap <leader>ws :exe "mks! " . v:this_session<cr>
 nmap <leader>ls :so ~/.vim/sessions/
 
-
 fun! RangerChooser()
     exec "silent !ranger --choosefile=/tmp/chosenfile " . expand("%:p:h")
     if filereadable('/tmp/chosenfile')
 map <F2> :call RangerChooser()<CR>
 
 "au BufWritePost *.coffee silent CoffeeMake! -b | cwindow | redraw!
+
+
+" highlight OverLength ctermbg=88 ctermfg=white guibg=#592929
+" au BufRead,BufNewFile *.js match OverLength /\%81v.\+/
+
 
 # background
 xsetroot -cursor_name left_ptr -solid "#81918e" &
+sh ~/.fehbg &
 
 # no mouse acceleration
 xset m 0 0 &
 # no more capslock key!
 xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape' &
 
+eval $(gpg-agent --daemon) &
+
+#run lastfm mpd scrobbler
+pidof mpdscribble >& /dev/null
+if [ $? -ne 0 ]; then
+ mpdscribble &
+fi
+
+# compositor, fuck you compositor
+# compton &
+
+# # set screens
+# xrandr --output VGA1 --mode 1280x1024 --right-of HDMI1 &
+# xrandr --output HDMI1 --mode 1920x1080 &
+
 # run wm
 exec xmonad
+
 
 -- utils
 import XMonad.Util.Run
-import XMonad.Util.Scratchpad
 
 -- actions
 import XMonad.Actions.CycleWS
         , mouseBindings = myMouseBindings
         , logHook = updatePointer (Relative 0.5 0.5)
     }
-
 -------------------------------------------------------------------------------
 -- Window Management --
 
-manageHook' = mainManageHook <+> manageFullScreen <+> manageDocks <+> manageScratchPad
+manageHook' = mainManageHook <+> manageFullScreen <+> manageDocks
     where
         -- the main managehook
         mainManageHook = composeAll $ concat
         myFiles   = ["Pcmanfm","Nautilus","Lanikai", "Thunderbird"]
         myWorks   = ["Gvim"]
 
--- scratchpad
-manageScratchPad :: ManageHook
-manageScratchPad = scratchpadManageHook (W.RationalRect l t w h)
-    where
-    h = 0.60
-    w = 1
-    t = 0
-    l = 0
-
 -- colors and font
 
 myFont = "-*-terminus-medium-*-*-*-12-*-*-*-*-*-*-u"
 oFgColor = "#AAAAAA"
 
 -- Urgent --
-uBgColor = "#262626"
-uFgColor = "#33CC33"
+uBgColor = "#33CC33"
+uFgColor = "#FFFFFF"
 
 -- Borders --
 nBorderColor = "#aaaaaa"
 
 customPP = defaultPP 
     { ppCurrent = xmobarColor aFgColor aBgColor
-        , ppHidden = xmobarColor oFgColor oBgColor . xmobarStrip . noScratchPad
-            , ppHiddenNoWindows = xmobarColor nFgColor nBgColor . noScratchPad
+        , ppHidden = xmobarColor oFgColor oBgColor . xmobarStrip
+            , ppHiddenNoWindows = xmobarColor nFgColor nBgColor
             , ppUrgent = xmobarColor uFgColor uBgColor
             , ppLayout = xmobarColor nBgColor nBgColor
             , ppTitle = xmobarColor nBgColor nBgColor
-            , ppSep = xmobarColor nFgColor nBgColor "  "
-            , ppWsSep = "  "
+            , ppSep = xmobarColor nFgColor nBgColor " "
+            , ppWsSep = ""
     }
-    where 
-        noScratchPad ws = if ws == "NSP" then "" else ws
 
 -- urgent notification
 {- urgentConfig = UrgencyConfig { suppressWhen = Focused } -}
 
 -- workspaces
 workspaces'             :: [String]
-workspaces'             = ["www", "im", "file", "work", "term", "misc"]
+workspaces'             = [" www ", " im ", " file ", " work ", " term ", " misc "]
 
 -- layouts
 layoutHook' = smartBorders
     $ onWorkspace (workspaces' !! 5) fFirst
     $ standartLayouts
     where
-        rt    = spacing 4 $ ResizableTall 1 (2/100) (5.5/10) [] 
+        rt    = ResizableTall 1 (2/100) (5.5/10) [] 
         tile  = named "t" $ rt
         mtile = named "b" $ Mirror rt
         full  = named "m" $ noBorders Full
     , ((0                    , xK_Scroll_Lock ), spawn "sflock") 
     , ((0                    , xK_Print ), spawn "~/bin/screenshot.sh") 
 
-    -- scratchpad 
-    , ((modMask, xK_i), scratchpadSpawnActionCustom "urxvt -name scratchpad -e ~/bin/scratchpad")
-
     -- volume and mpd
     , ((0, xF86XK_AudioLowerVolume),        spawn "~/bin/vol down")
     , ((0, xF86XK_AudioRaiseVolume),        spawn "~/bin/vol up")
 
 precmd () { vcs_info }
 RPROMPT='${vcs_info_msg_0_}[ ${PR_YELLOW}%m${PR_RESET} ] [ %* ]'
-PROMPT='[${PR_BRIGHT_GREEN}%~${PR_RESET}] ${PR_BRIGHT_GREEN}»${PR_RESET} '
+PROMPT='[${PR_YELLOW}%~${PR_RESET}] ${PR_YELLOW}»${PR_RESET} '
 
 # url escaping
 autoload -U url-quote-magic
 		done;
 	done
 }
+
+svndiff()
+{
+  svn diff "${@}" | colordiff
+}
+
+yt()
+{
+    mplayer `youtube-dl -g ${@}`
+}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.