Removing a bunch of unused stuff

master
Dustin Swan 9 years ago
parent a5041f006d
commit 174e998731

@ -1,16 +0,0 @@
[SpamFilter]
#[ClassifyingFilter]
[KillThreadsFilter]
[ListMailsFilter]
[ArchiveSentMailsFilter]
[InboxFilter]
[MailMover]
folders = iocom/INBOX/ iocom/INBOX.Archive/ gmail/INBOX/
max_age = 15
iocom/INBOX/ = 'NOT tag:inbox':iocom/INBOX.Archive/
iocom/INBOX.Archive/ = 'tag:inbox':iocom/INBOX/
gmail/INBOX/ = 'NOT tag:inbox':gmail/archive/
# TODO All folders <-> tags

@ -1,25 +0,0 @@
prefer_plaintext = True
tabwidth = 4
bug_on_exit = True
[accounts]
[[IOCOM]]
realname = Dustin Swan
address = dswan@iocom.com
gpg_key = 2B3A6377
sendmail_command = msmtp --account=DswanIOCOM -t
sent_box = maildir:///users/dustinswan/.mail/iocom/INBOX.Sent
draft_box = maildir:///users/dustinswan/.mail/iocom/INBOX.Drafts
[[Gmail]]
realname = Dustin Swan
address = dustinswan@gmail.com
gpg_key = 2B3A6377
sendmail_command = msmtp --account=DustinswanGmail -t
[bindings]
[[search]]
'I I' = search tag:iocom AND tag:inbox
'G G' = search tag:gmail AND tag:inbox
r = refresh
R = shellescape --thread true quick_check_mail.sh; refresh

@ -1,5 +0,0 @@
import logging
from subprocess import call
def post_envelope_send(**kwargs):
logging.info('calling "notmuch new!"')
call(["notmuch", "new"])

@ -11,28 +11,18 @@ brew tap phinze/homebrew-cask
brew tap jimbojsb/launchrocket
brew tap homebrew/versions
# TODO
#brew cask install gpgtools
brew cleanup
brew cask alfred link
# Symlinks
bash ~/dotfiles/symlinks.sh
# Python
pip install --upgrade setuptools
pip install --upgrade pip
pip install git+git://github.com/Lokaltog/powerline
# Ruby TODO -- set up chruby, ruby-build some stuff
ruby-build 2.1.0 ~/.rubies/ruby-2.1.0
chruby 2.1.0
# Gems TODO
gem install earthquake
# Node packages TODO
# Cabal packages TODO

@ -1,53 +0,0 @@
alias vi vim
alias l "ls -la"
alias tmux "tmux -2"
alias ta "tmux attach -d"
alias dustinswan "mosh dustinswan@dustinswan.org"
alias kill_offlineimap "ps aux | grep offlineimap | awk '{ print $2 }' | xargs kill -9"
set -x EDITOR "vim"
set -x TERM "screen-256color"
set -x MOSH_TITLE_NOPREFIX 1
set -x BROWSER "open"
[ -s luakit ] and set -x BROWSER=luakit
alias browser "eval $BROWSER"
# IOCOM stuff
set -x P4USER "dswan"
set -x P4PORT "humu.insors.net:1666"
set -x P4CONFIG "p4.cfg"
set -x P4EDITOR "vim"
alias p4vimdiff "set -x P4DIFF vimdiff; p4 diff"
alias visidev "ssh root@visidev.iocom.com 'cd /; p4 sync'; scp /opt/iocom/user/webclient/all_desktop.js root@visidev.iocom.com:/opt/iocom/user/webclient/; scp /opt/iocom/user/webclient/css/all_desktop.css root@visidev.iocom.com:/opt/iocom/user/webclient/css/"
alias dswan "ssh root@dswan.insors.net"
alias er 'rm -rf logs; unzip -o'
# PATH
set -x PATH /usr/local/bin /usr/local/sbin $PATH # Homebrew
set -x PATH /Applications/Postgres.app/Contents/MacOS/bin $PATH
set -x PATH $HOME/Library/Haskell/bin $PATH
set -x PATH $HOME/dotfiles/bin $PATH
set -x PATH /usr/local/share/npm/bin $PATH
set -x PATH $HOME/.cabal/bin $PATH
set -x PATH $HOME/.cask/bin $PATH
set -x NODE_PATH $NODE_PATH /usr/local/lib/node
set -x PYTHONPATH $PYTHONPATH /usr/local/lib/python2.7/site-packages
# Nix
. $HOME/.nix-profile/etc/fish/config.fish
#sh $HOME/.nix-profile/etc/profile.d/nix.sh
sh $HOME/.nix-profile/etc/profile.d/nix_fish.sh
# Chruby
source /usr/local/share/chruby/chruby.fish
source /usr/local/share/chruby/auto.fish
# NVM
test -s /Users/dustinswan/.nvm-fish/nvm.fish; and source /Users/dustinswan/.nvm-fish/nvm.fish
if status --is-interactive;
keychain ~/.ssh/id_rsa
[ -e $HOME/.keychain/$HOSTNAME-fish ]; and . $HOME/.keychain/$HOSTNAME-fish
[ -e $HOME/.keychain/$HOSTNAME-fish-gpg]; and . $HOME/.keychain/$HOSTNAME-fish-gpg
end

@ -1,3 +0,0 @@
--monday
--width=13
--details=all

@ -1,4 +0,0 @@
#text/html; luakit %s &; test=test -n "%DISPLAY"; needsterminal;
#text/html; firefox %s &; test=test -n "%DISPLAY"; needsterminal;
text/html; w3m -I %{charset} -T text/html; copiousoutput;
image/png; open -W -a Preview %s;

@ -1,89 +0,0 @@
# .notmuch-config - Configuration file for the notmuch mail system
#
# For more information about notmuch, see http://notmuchmail.org
# Database configuration
#
# The only value supported here is 'path' which should be the top-level
# directory where your mail currently exists and to where mail will be
# delivered in the future. Files should be individual email messages.
# Notmuch will store its database within a sub-directory of the path
# configured here named ".notmuch".
#
[database]
path=/Users/dustinswan/.mail
# User configuration
#
# Here is where you can let notmuch know how you would like to be
# addressed. Valid settings are
#
# name Your full name.
# primary_email Your primary email address.
# other_email A list (separated by ';') of other email addresses
# at which you receive email.
#
# Notmuch will use the various email addresses configured here when
# formatting replies. It will avoid including your own addresses in the
# recipient list of replies, and will set the From address based on the
# address to which the original email was addressed.
#
[user]
name=Dustin Swan
primary_email=dustinswan@gmail.com
other_email=dswan@iocom.com,dswan@insors.com
# Configuration for "notmuch new"
#
# The following options are supported here:
#
# tags A list (separated by ';') of the tags that will be
# added to all messages incorporated by "notmuch new".
#
# ignore A list (separated by ';') of file and directory names
# that will not be searched for messages by "notmuch new".
#
# NOTE: *Every* file/directory that goes by one of those
# names will be ignored, independent of its depth/location
# in the mail store.
#
[new]
tags=new
#tags=unread;inbox;
ignore=
# Search configuration
#
# The following option is supported here:
#
# exclude_tags
# A ;-separated list of tags that will be excluded from
# search results by default. Using an excluded tag in a
# query will override that exclusion.
#
[search]
#exclude_tags=deleted;spam;
# Maildir compatibility configuration
#
# The following option is supported here:
#
# synchronize_flags Valid values are true and false.
#
# If true, then the following maildir flags (in message filenames)
# will be synchronized with the corresponding notmuch tags:
#
# Flag Tag
# ---- -------
# D draft
# F flagged
# P passed
# R replied
# S unread (added when 'S' flag is not present)
#
# The "notmuch new" command will notice flag changes in filenames
# and update tags, while the "notmuch tag" and "notmuch restore"
# commands will notice tag changes and update flags in filenames
#
[maildir]
synchronize_flags=true

@ -1,26 +0,0 @@
#!/bin/sh
# IOCOM
notmuch tag +iocom +inbox -- tag:new AND folder:iocom/INBOX
notmuch tag +iocom +netmon -inbox -spam -- tag:new AND folder:iocom/INBOX.netmon
notmuch tag +iocom +builder -spam -- tag:new AND folder:iocom/INBOX.builder
notmuch tag +iocom +info -- tag:new AND folder:iocom/INBOX.info
notmuch tag +iocom +bugzilla -- tag:new AND from:bugzilla-daemon@bugzilla.insors.net
notmuch tag +iocom +draft -- tag:new AND folder:iocom/INBOX.Drafts
notmuch tag +iocom +sent -- tag:new AND folder:iocom/INBOX.Sent
notmuch tag +iocom +spam -- tag:new AND folder:iocom/INBOX.Spam
notmuch tag +iocom +trash -- tag:new AND folder:iocom/INBOX.Trash
notmuch tag +iocom -- tag:new AND folder:iocom/INBOX.Archive
notmuch tag +iocom -inbox -- folder:iocom/INBOX.Archive AND tag:inbox
# Gmail
notmuch tag +gmail +inbox -- tag:new AND folder:gmail/INBOX
notmuch tag +gmail +draft -- tag:new AND folder:gmail/drafts
notmuch tag +gmail +sent -- tag:new AND folder:gmail/sent
notmuch tag +gmail +spam -- tag:new AND folder:gmail/spam
notmuch tag +gmail +trash -- tag:new AND folder:gmail/trash
notmuch tag +gmail -- tag:new AND folder:gmail/archive
notmuch tag +gmail -inbox -- tag:inbox AND tag:gmail NOT folder:gmail/INBOX
# TODO gmail tags
afew --tag --new

@ -1,19 +0,0 @@
ignorekeys add mail\.google\.com
ignorekeys add apps\.rackspace\.com\/a\/webmail.php
ignorekeys add google\.com/calendar
ignorekeys add docs\.google\.com
ignorekeys add feedly\.com
ignorekeys add reddit\.com
ignorekeys add tumblr\.com
ignorekeys add cmd\.fm
ignorekeys add getpocket\.com
ignorekeys add google\.com\/search
ignorekeys add grooveshark\.com
ignorekeys add dswan\.insors\.net\/webclient
ignorekeys add visitest\.iocom\.com\/webclient
ignorekeys add visimeet\.iocom\.com\/webclient
set gui=nonavigation
set editor='bash -lc "mvim -f \$*" mvim'
map <M-l> :open

@ -1,4 +0,0 @@
set disablesites=mail.google.com, docs.google.com, feedly.com, www.tumblr.com, dswan.insors.net
set autocomplete_prev=<C-p>
set autocomplete_next=<C-n>

@ -1,19 +0,0 @@
xrdb ~/.Xresources &
setxkbmap -layout dvorak
# -option ctrl:nocaps
xmodmap .Xmodmap &
xcape &
urxvtd -q -o -f &
compton &
xsetroot -solid black -cursor_name left_ptr &
eval $(gpg-agent --daemon) &
/usr/bin/xscreensaver -no-splash &
dropboxd &
feh --bg-fill ~/Dropbox/Photos/wallpaper/cycloid.gif
# ~/dotfiles/bin/animated_wallpaper.sh ~/Dropbox/Photos/wallpaper/cycloid.gif &
exec xmonad

@ -1,81 +0,0 @@
import XMonad
import System.Exit
import qualified XMonad.StackSet as W
import qualified Data.Map as M
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Hooks.ManageHelpers (doFullFloat, isFullscreen)
import XMonad.Util.Run (spawnPipe) -- for spawnPipe and hPutStrLn
import qualified System.IO
import XMonad.Util.EZConfig (additionalKeysP)
import XMonad.Util.Loggers
lightBlue = "#66aaff"
darkBlue = "#0000cc"
lightGray = "#aaaaaa"
darkGray = "#444444"
dzenForeground = "#ffffff"
dzenBackground = "#000000"
myModMask = mod4Mask -- command
myManageHook = composeAll
[ resource =? "visimeet" --> doFloat
, resource =? "feh" --> doFloat
, isFullscreen --> doFullFloat
]
--myWorkspaces = [ "!" , "@" , "#" , "$" , "%", "^^", "&", "*", "(" ]
--myWorkspaces = [ "1" , "2" , "3" , "4" , "5", "6", "7", "8", "9" ]
--myWorkspaces = [ "α" , "β" , "γ" , "δ" , "ε", "ζ", "η", "θ", "ι" ]
myWorkspaces = [ "1" , "2" , "3" , "Ë" , "ê", "®", "7", "8", "9" ]
myNormalBorderColor = "#000000"
myFocusedBorderColor = darkBlue
myFocusFollowsMouse :: Bool
myFocusFollowsMouse = False
myStatusBar = "conky -c /home/dustinswan/.conky | dzen2 -x '640' -w '640' -ta 'r' -y '0' -bg '#000000'"
myLogHook h = dynamicLogWithPP $ defaultPP
{ -- ppCurrent = (">" ++)
--ppCurrent = dzenColor lightBlue dzenBackground . wrap "" " "
ppCurrent = dzenColor lightBlue dzenBackground . wrap "Ø" ""
, ppVisible = ("." ++)
, ppHidden = dzenColor lightGray dzenBackground . wrap " " ""
, ppHiddenNoWindows = dzenColor darkGray dzenBackground . wrap " " ""
, ppLayout = (\_ -> "") -- TODO I suck at haskell
, ppOutput = System.IO.hPutStrLn h
, ppTitle = shorten 20
, ppSep = " "
, ppWsSep = " "
--, ppExtras = [ date "%a %d %b" ]
}
main = do
dzenLeftBar <- spawnPipe "dzen2 -w '640' -ta 'l'"
spawn myStatusBar
xmonad $ defaultConfig
{ terminal = "urxvtc"
, focusFollowsMouse = myFocusFollowsMouse
, modMask = myModMask
, workspaces = myWorkspaces
, normalBorderColor = myNormalBorderColor
, focusedBorderColor = myFocusedBorderColor
-- hooks
, layoutHook = avoidStruts $ layoutHook defaultConfig
, manageHook = myManageHook
, logHook = myLogHook dzenLeftBar
}
`additionalKeysP`
[ ("M-p", spawn "dmenu_run -fn 'Tamsynmod:Regular:pixelsize=14'")
, ("M-S-p", spawn "scrot")
, ("<XF86AudioRaiseVolume>", spawn "amixer sset Master 3%+")
, ("<XF86AudioLowerVolume>", spawn "amixer sset Master 3%-")
, ("<XF86AudioMute>", spawn "amixer sset Master toggle")
, ("<XF86Eject>", spawn "eject")
]
Loading…
Cancel
Save