Skip to content

Instantly share code, notes, and snippets.

@webframp
Created May 16, 2012 21:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webframp/2714274 to your computer and use it in GitHub Desktop.
Save webframp/2714274 to your computer and use it in GitHub Desktop.
Section "InputClass"
MatchIsTouchpad "on"
Identifier "Touchpads"
Driver "mtrack"
Option "Thumbsize" "50"
Option "ScrollDistance" "100"
Option "IgnorePalm" "True"
Option "IgnoreThumb" "True"
# reverse scrolling to be like Lion natural mode
Option "ScrollUpButton" "5"
Option "ScrollDownButton" "4"
# left and right as well
Option "ScrollLeftButton" "7"
Option "ScrollRightButton" "6"
EndSection
! first disable Keycap Picture insert mode
URxvt.iso14755: false
URxvt.iso14755_52: false
URxvt.background: black
URxvt.foreground: white
URxvt*font: xft:Inconsolata:pixelsize=16
!URxvt.font: xft:terminus:pixelsize=16
URxvt.perl-ext-common: default,url-select
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.urlLauncher: /usr/bin/conkeror
URxvt.underlineURLs: true
URxvt.scrollBar: false
URxvt.scrollBar_floating: true
URxvt.scrollBar_right: true
URxvt.saveLines: 2500
URxvt.urgentOnBell: true
URxvt.insecure: true
, ("<XF86MonBrightnessUp>", unsafeSpawn "xbacklight -inc 5")
, ("<XF86MonBrightnessDown>", unsafeSpawn "xbacklight -dec 5")
, ("<XF86KbdBrightnessUp>", unsafeSpawn "xbacklight -dec 5")
, ("<XF86KbdBrightnessDown>", unsafeSpawn "xbacklight -dec 5")
#!/bin/sh
cachedir=${XDG_CACHE_HOME:-"$HOME/.cache"}
if [ -d "$cachedir" ]; then
cache=$cachedir/yeganesh_run
else
cache=$HOME/.yeganesh_cache # if no xdg dir, fall back to dotfile in ~
fi
(
IFS=:
if stest -dqr -n "$cache" $PATH; then
stest -flx $PATH | sort -u | tee "$cache" | yeganesh "$@"
else
yeganesh "$@" < "$cache"
fi
) | ${SHELL:-"/bin/sh"} &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment