Skip to content
Browse files

cleanup

  • Loading branch information...
1 parent 43f4b05 commit de8c341eabdb8f163d4bc4f72197f3a468597ec4 @myfreeweb committed Mar 18, 2013
Showing with 4 additions and 56 deletions.
  1. +3 −0 crontab
  2. +0 −4 crontab_mac
  3. +1 −2 install.sh
  4. +0 −50 keymandorc.rb
View
3 crontab
@@ -1,3 +1,6 @@
#min hour day mon wday
0 */5 * * * zsh ~/Code/dotfiles/bin/backup
0 */5 */5 * * zsh ~/Code/dotfiles/bin/rmbackups
+*/30 * * * * ~/Code/dotfiles/bin/pinboard_xml
+30 * * * * purge
+0 0 */5 * * brew cleanup
View
4 crontab_mac
@@ -1,4 +0,0 @@
-#min hour day mon wday
-*/30 * * * * ~/Code/dotfiles/bin/pinboard_xml
-30 * * * * purge
-0 0 */5 * * brew cleanup
View
3 install.sh
@@ -47,16 +47,15 @@ if [[ $(uname) = 'Linux' ]]; then
cat ./crontab | crontab
QUAKE=$HOME/.quakelive/quakelive/home/baseq3
elif [[ $(uname) = 'Darwin' ]]; then
- cat ./crontab ./crontab_mac | crontab
link_custom scpt $HOME/Library/Scripts
mkdir -p $HOME/Library/KeyBindings
link_custom keybindings/DefaultKeyBinding.dict $HOME/Library/KeyBindings/DefaultKeyBinding.dict
mkdir -p $HOME/Library/Application\ Support/KeyRemap4MacBook
link_custom private.xml $HOME/Library/Application\ Support/KeyRemap4MacBook/private.xml
- QUAKE=$HOME/Library/Application\ Support/QuakeLive/quakelive/home/baseq3
for agent in ./launchd/*; do
ln -s $(ruby -e "puts File.expand_path(\"$agent\")") $HOME/Library/LaunchAgents/
done
+ QUAKE=$HOME/Library/Application\ Support/QuakeLive/quakelive/home/baseq3
fi
if [[ -d $QUAKE ]]; then
link_custom quakelive.cfg $QUAKE/quakelive.cfg
View
50 keymandorc.rb
@@ -1,50 +0,0 @@
-# This came from Greg V's dotfiles:
-# https://github.com/myfreeweb/dotfiles
-# Feel free to steal it, but attribution is nice
-
-# Functions ------------------------------------------------------------
-def colemak(s)
- # keymando works as if it's on qwerty
- # even if i'm using colemak
- s.tr("qwfpgjluy;arstdhneiozxcvbkmQWFPGJLUY;ARSTDHNEIOZXCVBKM",
- "qwertyuiopasdfghjkl;zxcvbnmQWERTYUIOPASDFGHJKL;ZXCVBNM")
-end
-
-def ctrlshift(k, &block)
- map "<Ctrl-Shift-#{colemak k}>", block
-end
-
-# Apps -----------------------------------------------------------------
-$browser = "Google Chrome"
-$term = "iTerm"
-
-# Basic settings -------------------------------------------------------
-# start_at_login
-disable "Remote Desktop Connection"
-disable /VirtualBox/
-
-# App switching --------------------------------------------------------
-# ctrlshift "n" { activate $browser }
-# ctrlshift "e" { activate $term }
-# ctrlshift "i" { activate "ForkLift" }
-# ctrlshift "o" { activate "MacVim" }
-# ctrlshift "y" { activate "Pixelmator" }
-# ctrlshift "m" { activate "Messages" }
-# ctrlshift "." { activate "WrapTunes"; send "<Cmd-0>" }
-# ctrlshift "u" { activate "Finder" }
-# ctrlshift "/" {
-# activate "Ecoute"
-# # opens the window even after cmd+w closing it
-# sleep 0.1
-# ecoute = Accessibility::Gateway.get_application_by_name "Ecoute"
-# ecoute.menu_bar.find.first_item_matching(:role => Matches.partial("menuitem"), :title => Matches.exact("Ecoute")).press
-# }
-
-# Automation -----------------------------------------------------------
-ctrlshift ";" {
- activate $browser
- sleep 1
- send "<Cmd-#{colemak "r"}>"
- sleep 1
- activate $term
-}

0 comments on commit de8c341

Please sign in to comment.
Something went wrong with that request. Please try again.