Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

switch to screen and chromium

  • Loading branch information...
commit 353dae15aebd90765013bc2d6ecb2b6b1d11aab2 1 parent 2c7ef1c
@novas0x2a authored
View
7 .Xdefaults
@@ -18,13 +18,14 @@ XTerm.termName: xterm-256color
!XTerm*cjkWidth: True
XTerm*faceName: DejaVu Sans Mono
XTerm*faceSize: 6
-XTerm.scrollKey: True
-XTerm.scrollTtyOutput: False
+XTerm*scrollKey: True
+XTerm*scrollTtyOutput: False
XTerm*background: Black
XTerm*foreground: White
XTerm*charClass: 33:48,35:48,37-38:48,43-47:48,58:48,61:48,63-64:48,95:48,126:48
-XTerm*allowTcapOps: False
+XTerm*allowTcapOps: True
XTerm*eightBitInput: False
+XTerm*fastScroll: True
Xft.antialias: 1
Xft.hinting: 1
View
39 .gitconfig
@@ -18,15 +18,46 @@
[sendemail]
suppressfrom = true
[merge]
- tool = vimdiff
+ tool = vimdiff
[svn]
rmdir = true
[rerere]
enabled = true
[alias]
- lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
- check = !"f() { if test "$(cd $(git rev-parse --git-dir) && pwd)" = "$HOME/.git"; then echo "Cowardly refusing to nuke your homedir"; else echo git clean $*; fi; }; f"
+ # Console gitview replacement
+ lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
+
+ # Given a commit id, does an svn dcommit on that commit and parents
+ svn-push-cherry = !"f() { set -x; safe=__safe-$RANDOM; git svn rebase && git checkout -b $safe $1 && git svn dcommit && git checkout - && git svn rebase && git branch -d $safe; set +x; }; f"
+
+ # Some short versions
s = status
ap = add -p
ri = rebase --interactive
- svn-push-cherry = !"f() { set -x; safe=__safe-$RANDOM; git svn rebase && git checkout -b $safe $1 && git svn dcommit && git checkout - && git svn rebase && git branch -d $safe; set +x; }; f"
+
+ # Show absolute top of repo
+ top = !"(cd \"`git rev-parse --git-dir`\" && cd .. && pwd)"
+
+ # These svn ones don't work yet
+ ## Get path to my externals file
+ #svn-ext-file = !"echo `git top`/.git/svn/my-externals.txt"
+
+ ## Update one svn repo
+ #svn-ext-updateone = !"f() { dir=\"`git top`/$1\"; test -d $dir && svn update $dir || svn checkout $2 $dir; }; f"
+
+ ## Run a script on every external
+ #svndo2 = !"f() { while read ext; do eval \"$1 $ext\" || return 1; done < `git svn-ext-file`; }; f"
+ #svndo = !"f() { while read ext; do path=`echo $ext | awk '{print $1}'`; set -x; $* ${path#/}; if [ $? -eq 0 ]; then set +x; else set +x; return 1; fi; done < `git svn-ext-file`; }; f"
+
+ ## Update externals file
+ #svn-ext-new = !"f() { fn=`git svn-ext-file`; git svn show-externals | grep '^/' > $fn.2; test -f $fn && diff -u $fn $fn.2 || mv $fn.2 $fn; }; f"
+
+ # Update all externals
+ # svn-ext-update = !"f() { set -x; fn=`git svn-ext-file`; git svn show-externals | grep '^/' > $fn.2; if ! diff -q $fn $fn.2; then mv $fn.2 $fn; if ! git svndo git-svn-ext-updateone; then rm $fn; return 1; fi; fi; }; f"
+
+ # Doesn't work :(
+ # ignore = !"f() { for i in \"$@\"; do echo $(basename $i) >> $(dirname $i)/.gitignore; done; }; f"
+
+
+[log]
+ date = local
View
6 .gitignore
@@ -30,12 +30,12 @@
!/.ssh/config
!/.ssh/*.pub
!/.ssh/authorized_keys
-!/.ssh/known_hosts
!/.vim/
/.vim/tags/*
!/.vim/tags/Makefile
.vim/tmp/*
+.vim/spell/*.spl
!/.xmonad/
/.xmonad/*
@@ -46,8 +46,8 @@
!/.gnupg/gpg.conf
!/bin/
-/bin/*
-!/bin/hooks
+
+!/.screenrc
.svn
CVS
View
3  .gitmodules
@@ -4,3 +4,6 @@
[submodule ".vim/vendor/git-vim"]
path = .vim/vendor/git-vim
url = git://github.com/novas0x2a/git-vim.git
+[submodule "bin/vendor/willgit"]
+ path = bin/vendor/willgit
+ url = git://gitorious.org/willgit/mainline.git
View
16 .screenrc
@@ -0,0 +1,16 @@
+nethack on
+defscrollback 10000
+startup_message off
+hardstatus string "%h - %t"
+hardstatus off
+caption always "%{=r}%-Lw%{=}%n%f %t%{=r}%+Lw %=%c %D, %M/%d/%Y"
+
+# Let screen set xterm's title
+termcapinfo xterm* 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
+
+# Make xterm scroll work
+termcapinfo xterm* ti@:te@
+
+#caption always "%h"
+maptimeout 0
+altscreen on
View
30 .ssh/known_hosts
@@ -1,30 +0,0 @@
-asterix.arc.nasa.gov,128.102.106.24 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAtWrGZUJzBokZYbOFU/1W7So0C4dE5/n1z5Jsy2jHnBnb9ZMHjrjilIjkJPl3MJ+mjiMC3MIRO1VwlyytZueB/5lExFDt0dk5d6ARwrLoPd4677akpa2v6VfmBIdJAVSxo2E3EQH1xdL28I1FQ6d5KgCyqQraGh6iD9J5A5/k90k=
-cfe1.nas.nasa.gov ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAorGd/Fnsk25ry2fHUTECUKM3H2s+qeKC7dEUCo0IoaEjzmTCtX9lFZXoO0rOPafkl6INjNYxdKlV2Noxuw3Nxl6TCzwhhAkhH+mvYvXMX4VcYyRssayHceZ4sHaILJk0P4hQRYA3kLI9lvrlKE+k6OPPV6+RbFae2D32hrQzzdU=
-copernicus.arc.nasa.gov,143.232.64.86 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA2v7jQbOwBrL7ewsfsXbog47oaOa4/LWbFrk+XsrzRmk8Yb1BzULKkF/z4nY5ydw2ZQZ2HMl1dn1hZ50u/cVpji57FXRS1cD8rfLtrANZ0+NcIRX+2lkhoXKq0GnA/4Xoch79YhH1Wh9Vbz9cIYMJCo1sxIEwqP2ihJRRV6UMLU8=
-github.com,65.74.177.129 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDb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p2uhRgMlvLUB4RZJWu7emMy6Wz2pJgv0oVtXicv5YunRKCsj7FwSCv/2ar/TIIPBOCrW41nRDeDcnvywrQQ/dHRnrkSu/6+3zNLdbq4XbY79ba5yV/TWPPV205RvOC1uDL69Oq2g7mXZ5oYLdvfAinDhPzu/IyEynJdy5wduAxLKECbdxVi4LywXvUg913FevnAgaEmvzCZNihIxSFXpJiL0T2C5tlDeJf8fd7xrg3ufUwOl+LCbw2JPGjT2PeH3tWHgBcj5WPMO57+DvlylHtCgRZc1DQx01J3c+YfunniEWpjoBzKnNCsNeqV5bRmgUd7rmzr4wB8fm/IUf1iKeQ==
-m.arc.nasa.gov ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAolH4iTnDxrTiibn5IhAAMcAZ+ahUaZm8NpY7w+XjoGJlwICVZD/cZFwg2txHawprM/iJqie9l8KmClgDzVtBIbCQyMu412KQeTSZukOOEuZGoOv2jKt989vPtYqR/rEfX3dH+gtoMp3v5qCEYU8scNk1Ygrw2RP4rcMDQ3/j/hecdkRf5EhZxMBkdZgbRb/8N/plLrwmF7SSfqa4GfOL75dfYTLFggelFGIGTl6y+dZRsSm/tyU24PCBW0PdQtfPXsM/oPjkzJtj7i+ndBAleoXSoZdio754lVS2DVz5BIXAA2i2jwcwm3nQ135IhkfQlbES5hW6KqJVnGcHduJ2pQ==
View
BIN  .terminfo/r/rxvt-unicode
Binary file not shown
View
BIN  .terminfo/r/rxvt-unicode256
Binary file not shown
View
BIN  .terminfo/x/xterm-256color
Binary file not shown
View
11 .vim/spell/en.utf-8.add
@@ -0,0 +1,11 @@
+mutex
+config
+API
+immersive
+IRG
+ASR
+nosa
+LAPACK
+VW
+namespace
+RunOnce
View
16 .vimrc
@@ -15,7 +15,6 @@ set nowrap " The wrapping behavior is annoying
set showmatch " Point out matched parens
set matchtime=2 " Show match for 0.2 sec
set scrolloff=10 " Context lines around cursor
-set title " Set X11 terminal title
set linebreak " Break lines in a polite fashion
set autoindent " Use previous line's indentation
"set cindent " And augment it with c-style indentation
@@ -64,6 +63,18 @@ set statusline+=\ \[%{GetGitBranch()}] " git branch
set statusline+=%= " right align
set statusline+=%-14.(%l,%c%V%)\ %<%P " offset
+" Set title string and push it to xterm/screen window title
+" vim <truncate><fullpath>
+set titlestring=vim\ %<%F%m%r%h
+set titlelen=70
+if &term == "screen"
+ set t_ts=k
+ set t_fs=\
+endif
+if &term == "screen" || &term == "xterm"
+set title
+endif
+
if &term ==? "xterm"
set t_Sb=^[4%dm
set t_Sf=^[3%dm
@@ -154,6 +165,8 @@ set fileencodings+=default
let &termencoding = &encoding
set encoding=utf-8
+" Fix problem with vim's Man and ansi codes
+let $GROFF_NO_SGR=1
so $VIMRUNTIME/ftplugin/man.vim
filetype plugin indent on
@@ -237,6 +250,7 @@ augroup Filetype
au FileType dot set makeprg=dot\ -Tpdf\ -o%.pdf\ %
au FileType mkd set ai formatoptions=tcroqn2 comments=n:>
au FileType vala set efm=%f:%l.%c-%[%^:]%#:\ %t%[%^:]%#:\ %m
+ au FileType man set nolist ts=8
augroup END
" vim -b : edit binary using xxd-format!
View
41 .xmonad/xmonad.hs
@@ -10,13 +10,15 @@ import Data.List (isPrefixOf, isInfixOf, isSuffixOf,
import Data.Map (Map(..), union, fromList)
import Data.Maybe (fromMaybe)
import Data.Ratio ((%))
+import List (intersperse)
+import Monad (join)
import System.Cmd (system)
import System.Exit (exitWith, ExitCode(..))
import XMonad.Actions.CycleRecentWS (cycleRecentWS)
import XMonad.Actions.FindEmptyWorkspace (viewEmptyWorkspace, tagToEmptyWorkspace)
import XMonad.Actions.FlexibleResize (mouseResizeWindow)
import XMonad.Actions.Warp (warpToWindow)
-import XMonad.Actions.WindowGo (raiseNext, runOrRaise, runOrRaiseNext)
+import XMonad.Actions.WindowGo (raiseNext, runOrRaise, runOrRaiseNext, raiseMaybe, raiseNextMaybe)
import XMonad.Hooks.DynamicLog (dynamicLogWithPP, xmobarPP, ppOutput, ppUrgent, ppTitle, ppExtras, xmobarColor)
import XMonad.Hooks.ManageDocks (manageDocks, avoidStruts, ToggleStruts(..))
import XMonad.Hooks.ManageHelpers (doCenterFloat, isFullscreen, (-?>), doFullFloat)
@@ -30,7 +32,7 @@ import XMonad.Prompt.Ssh (sshPrompt)
import XMonad.Prompt.Window (windowPromptBring, windowPromptGoto)
import XMonad.Prompt.XMonad (xmonadPrompt)
import XMonad.Util.EZConfig (mkKeymap)
-import XMonad.Util.Run (spawnPipe, hPutStrLn)
+import XMonad.Util.Run (spawnPipe, hPutStrLn, safeSpawn, unsafeSpawn)
import XMonad.Util.WorkspaceCompare (getSortByIndex)
import qualified System.IO.UTF8 as UTF8
@@ -56,6 +58,15 @@ pRole = stringProperty "WM_WINDOW_ROLE"
replicateMessage n m = foldr1 (>>) $ replicate n $ sendMessage m
+rrArgs :: FilePath -> [String] -> Query Bool -> X ()
+--rrArgs = (raiseMaybe .) . safeSpawn
+-- work around chromium bug
+rrArgs = ((raiseMaybe . unsafeSpawn . join . List.intersperse " ") .) . (:)
+
+rr = runOrRaise
+
+rrN = raiseNextMaybe . unsafeSpawn
+
myKeys :: IORef Integer -> XConfig Layout -> Map (KeyMask, KeySym) (X ())
myKeys floatNextWindows conf = mkKeymap conf $
-- WM Manipulation Commands
@@ -115,13 +126,16 @@ myKeys floatNextWindows conf = mkKeymap conf $
, ("M-'", spawn $ terminal conf ) -- Terminal
, ("M-`", raiseNext $ pClass =? "Pidgin" ) -- Focus pidgin conv window
, ("M-S-d", spawn "write-all-props" )
- , ("M-s m", runOrRaise "prism-google-mail" $ "Gmail" `isPrefixOfQ` pName)
- --, ("M-s m", runOrRaise "evolution" $ "Evolution" `isSuffixOfQ` pName)
- , ("M-s n", runOrRaise "nautilus" $ pClass =? "Nautilus")
- , ("M-s c", runOrRaise "prism-google-calendar" $ "Google Calendar" `isPrefixOfQ` pName)
- , ("M-s r", runOrRaise "prism-google-reader" $ "Google Reader" `isPrefixOfQ` pName)
- , ("M-s f", runOrRaiseNext "firefox -P default" $ ((pClass =? "Firefox" <&&> pRole =? "browser")
- <||> pClass =? "Epiphany"))
+
+ , ("M-s m", rrArgs "chromium" ["--app=https://mail.google.com"] $ "Gmail" `isPrefixOfQ` pName)
+ , ("M-s c", rrArgs "chromium" ["--app=https://calendar.google.com"] $ "Google Calendar" `isPrefixOfQ` pName)
+ , ("M-s r", rrArgs "chromium" ["--app=https://www.google.com/reader"] $ "Google Reader" `isPrefixOfQ` pName)
+ , ("M-s n", rr "nautilus" $ pClass =? "Nautilus")
+ , ("M-s f", rrN "chromium"
+ $ ((pClass =? "Firefox" <&&> pRole =? "browser")
+ <||> (pClass =? "Epiphany")
+ <||> (pClass =? "Chrome" <&&> "- Chromium" `isSuffixOfQ` pName)))
+ , ("M-s d", spawn "chromium" )
, ("M-s g", spawn "firefox -P default" )
, ("M-s i", spawn "firefox -P testing -no-remote" )
, ("M-s l", spawn "gnome-screensaver-command -l" )
@@ -148,7 +162,7 @@ myKeys floatNextWindows conf = mkKeymap conf $
searchSite = S.promptSearch xpc
mouseFollow = warpToWindow (1%4) (1%4)
xpcAuto = xpc {autoComplete = Just 500000}
- xpcSub = xpc {autoComplete = Just 100000, subString = True}
+ xpcSub = xpc {autoComplete = Just 100000, searchPredicate = isInfixOf}
xpc = defaultXPConfig { font = "xft:DejaVu Sans-8"
, bgColor = "black"
, fgColor = "grey"
@@ -193,15 +207,16 @@ myManageHook floatNextWindows = composeAll $ concat
,[ isFullscreen --> doFullFloat ]
,[ ((pClass =? klass) <&&> (pName =? name)) --> doCenterFloat | (klass, name) <- floatByClassName]
,[ pClass =? klass --> doCenterFloat | klass <- floatByClass]
+ ,[ pClass =? klass --> doIgnore | klass <- ignoreByClass ]
,[ pName =? name --> doCenterFloat | name <- floatByName]
,[ pClass =? name --> doF (W.shift workspace) | (name, workspace) <- shifts ]
- -- ,[ ((pClass =? "Googleearth-bin") <&&> (pName =? "")) --> doFloat ]
,[ (> 0) `liftM` io (readIORef floatNextWindows)
--> do io (modifyIORef floatNextWindows pred) >> doCenterFloat ]
]
where
+ ignoreByClass = ["stalonetray", "trayer"]
floatByName = ["Passphrase", "osgviewerGLUT", "please-float-me", "npviewer.bin", "Checking Mail...", "Spell Checker", "xmessage", "Electricsheep Preferences"]
- floatByClass = ["coriander", "MPlayer", "Xtensoftphone", "Gtklp"]
+ floatByClass = ["coriander", "MPlayer", "Xtensoftphone", "Gtklp", "Cssh"]
floatByClassName = [("Firefox", "Save a Bookmark")
,("Twitux", "Send Message")
,("Evolution", "Send & Receive Mail")
@@ -230,7 +245,7 @@ main = do
floatNextWindows <- newIORef 0
xmonad $ defaultConfig {
-- simple stuff
- terminal = "xterm",
+ terminal = "run-xterm.sh",
focusFollowsMouse = True,
borderWidth = 1,
modMask = mod4Mask,
View
2  .zsh/env.d/10-options.zsh
@@ -2,7 +2,7 @@ setopt notify autolist
setopt longlistjobs pushd_silent
setopt histignoredups
setopt extendedglob rcquotes mailwarning csh_null_glob
-setopt always_to_end list_packed
+setopt always_to_end list_packed inc_append_history
#setopt warn_create_global
unsetopt bgnice equals
View
86 .zsh/rc.d/01-interactive.zsh
@@ -1,15 +1,79 @@
-case $TERM in xterm*|rxvt*)
- precmd () {
- print -Pn "\e]0;%n@%m: %~\a"
- }
- preexec () {
- #if [[ $1 != 'fg' ]]; then
- print -Pn "\e]0;$1\a"
- #fi
- }
- ;;
-esac
+
+
+
+#case $TERM in xterm*|rxvt*)
+# precmd () {
+# print -Pn "\e]0;%n@%m: %~\a"
+# }
+# preexec () {
+# #if [[ $1 != 'fg' ]]; then
+# print -Pn "\e]0;$1\a"
+# #fi
+# }
+# ;;
+#esac
+
+# title/precmd/postcmd
+function precmd() {
+ title "zsh $(print -Pn %~)"
+}
+
+function preexec() {
+ # The full command line comes in as "$1"
+ local cmd="$1"
+ local -a args
+
+ # add '--' in case $1 is only one word to work around a bug in ${(z)foo}
+ # in zsh 4.3.9.
+ tmpcmd="$1 --"
+ args=${(z)tmpcmd}
+
+ # remove the '--' we added as a bug workaround..
+ # per zsh manpages, removing an element means assigning ()
+ args[${#args}]=()
+ if [ "${args[1]}" = "fg" ] ; then
+ local jobnum="${args[2]}"
+ if [ -z "$jobnum" ] ; then
+ # If no jobnum specified, find the current job.
+ for i in ${(k)jobtexts}; do
+ [ -z "${jobstates[$i]%%*:+:*}" ] && jobnum=$i
+ done
+ fi
+ cmd="${jobtexts[${jobnum#%}]}"
+ else
+ fi
+ title "$cmd"
+}
+
export PROMPT=$'%{\e[1;%(#|31|32)m%}%n@%m:%5~>%{\e[0m%} '
export RPROMPT=$'%(?..[%{\e[1;31m%}%?%{\e[0m%}])$(__git_ps1)'
+function title() {
+ # This is madness.
+ # We replace literal '%' with '%%'
+ # Also use ${(V) ...} to make nonvisible chars printable (think cat -v)
+ # Replace newlines with '; '
+ local value="${${${(V)1//\%/\%\%}//'\n'/; }//'\t'/ }"
+ local location
+
+ location="$HOST"
+ [ "$USERNAME" != "$LOGNAME" ] && location="${USERNAME}@${location}"
+
+ # Special format for use with print -Pn
+ value="%70>...>$value%<<"
+ unset PROMPT_SUBST
+ case $TERM in
+ screen)
+ # Put this in your .screenrc:
+ # hardstatus string "[%n] %h - %t"
+ # termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen (not title yet)\007'
+ print -Pn "\ek${value}\e\\" # screen title (in windowlist)
+ print -Pn "\e_${location}\e\\" # screen location
+ ;;
+ xterm*)
+ print -Pn "\e]0;${location}: ${value}\a"
+ ;;
+ esac
+ setopt LOCAL_OPTIONS
+}
View
4 .zshenv
@@ -18,8 +18,8 @@ export LESS="-c -M -S -i -f -R"
#export LESSCHARSET="utf-8"
export VISUAL='vim'
export EDITOR='vim'
-export BROWSER='firefox'
-export TEXDOCVIEW_html="firefox %s"
+export BROWSER='chromium'
+export TEXDOCVIEW_html="chromium %s"
export TEXDOCVIEW_dvi="kdvi %s"
export TEXDOCVIEW_pdf="kpdf %s"
export OOO_FORCE_DESKTOP=gnome
View
2  bin/fixup/1
@@ -0,0 +1,2 @@
+#!/bin/sh
+git filter-branch --prune-empty --index-filter 'git rm --cached -r --ignore-unmatch .purple'
View
1  bin/git-rank-contributors
View
1  bin/git-wtf
View
3  bin/gitproxy
@@ -0,0 +1,3 @@
+#exec socat STDIO PROXY:www.fluffypenguin.org:$1:$2,proxyport=55555
+exec socat STDIO SOCKS4:localhost:$1:$2,socksport=55555
+
View
25 bin/run-xterm.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+export RANGE=40
+export OFFSET=`expr 255 - $RANGE`
+
+# Default to 'screen -RR' if no arguments are given.
+[ $# -eq 0 ] && set -- screen -RR
+
+# LANG=C unless otherwise specified.
+[ -z "$LANG" ] && export LANG=C
+
+# Clear screen STY so calling 'run-xterm' from within screen will actually
+# start a new xterm with a new screen session.
+export STY=
+
+# Pick our font.
+#FONT="*suxus*"
+
+# Generate two random colors. One dark for background, one a lighter version of
+# the dark color. Eval the output and we'll have $BG and $FG as RGB hex values
+# for colors to use.
+eval $(perl -le 'sub c { int(rand() * $ENV{RANGE} + $ENV{OFFSET}) }; sub p { printf("%s=#%02x%02x%02x\n", @_) }; @f = (c, c, c); @b = map($_ - $ENV{OFFSET}, @f); p("FG",@f); p("BG", @b);')
+
+#exec xterm -fg white -ms "$FG" -bg "$BG" -fn "$FONT" -cr green -e "$@"
+exec xterm -fg white -ms "$FG" -bg "$BG" -e "$@"
1  bin/vendor/willgit
@@ -0,0 +1 @@
+Subproject commit 7c9cccbbee54d878d6d82cdab8ce5791f51e1117
Please sign in to comment.
Something went wrong with that request. Please try again.