Created
March 29, 2013 16:57
-
-
Save garbas/5272095 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
urxvtd -q -o -f | |
#wicd-gtk -t & | |
#wpa_gui & | |
xrdb -merge ~/.Xresources | |
#xrdb -merge ~/.Xresources_dark | |
#xrdb -merge ~/.Xresources_presentation | |
xrdb -merge ~/.Xresources_light | |
~/bin/launch/keyboard | |
~/.fehbg | |
exec i3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Clear modifiers | |
clear lock | |
clear mod1 | |
clear mod4 | |
clear mod5 | |
! for awesome it is convenient to have two mod4, one for each hand | |
! between left ctrl and left alt | |
! XXX: arent these the defaults? | |
keycode 133 = Super_L | |
! left of space | |
keycode 64 = Alt_L | |
! right of space | |
keycode 108 = ISO_Level3_Shift | |
! Caps lock as control, normal controls disabled | |
keycode 66 = Control_L | |
! the key between right alt and ctrl serves as level3 shift | |
keycode 135 = Super_R | |
! cursor keys are on Alt_R/level3 + i/j/k/l | |
! educative measure til the cursor keys get some more appropriate job | |
!keycode 111 = | |
!keycode 113 = | |
!keycode 114 = | |
!keycode 116 = | |
add control = Control_L | |
add mod1 = Alt_L | |
add mod4 = Super_L Super_R | |
add mod5 = ISO_Level3_Shift |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! XDVI {{{ | |
xdvi.editor: vim --servername tex --remote +%l %f | |
xdvi.highlight: orange | |
xdvi.Hush: true | |
xdvi.hushStdout: true | |
xdvi.LinkStyle: 2 | |
xdvi.noInitFile: true | |
xdvi.expertMode: 0 | |
xdvi.shrinkFactor: 5 | |
xdvi.sideMargin: 2.5cm | |
xdvi.topMargin: 3cm | |
! }}} | |
!! XFT {{{ | |
Xft.autohint: 0 | |
Xft.lcdfilter: lcddefault | |
Xft.hintstyle: hintfull | |
Xft.hinting: 1 | |
Xft.antialias: 1 | |
Xft.dpi: 96 | |
Xft.rgba: rgb | |
! }}} | |
! --- URxvt settings ------ | |
! with help from https://wiki.archlinux.org/index.php/Rxvt-unicode | |
! https://github.com/caio/dotfiles/blob/master/Xresources | |
! and https://github.com/pazz/configs/blob/master/.Xresources | |
! | |
! General {{{ | |
URxvt*loginShell: false | |
URxvt*internalBorder: 2 | |
URxvt*saveLines: 100000 | |
URxvt*shading: 15 | |
URxvt*transparent: false | |
URxvt*geometry: 80x25 | |
URxvt*urgentOnBell: true | |
URxvt.buffered: true | |
URxvt.xftAntialias: true | |
! }}} | |
! Scrolling {{{ | |
URxvt*scrollBar: false | |
URxvt*scrollstyle: plain | |
URxvt*scrollTtyOutput: false | |
URxvt*scrollTtyKeypress: true | |
! }}} | |
! Fonts {{{ | |
URxvt*font: xft:Bitstream Vera Sans Mono:autohint=true:pixelsize=11 | |
URxvt*boldFont: xft:Bitstream Vera Sans Mono:autohint=true:pixelsize=11 | |
URxvt*italicFont: xft:Bitstream Vera Sans Mono:italic:autohint=true:pixelsize=11 | |
URxvt*bolditalicFont: xft:Bitstream Vera Sans Mono:bold:italic:autohint=true:pixelsize=11 | |
! }}} | |
! Plugins {{{ | |
URxvt.perl-lib: /home/rok/dev/urxvt-perls/ | |
URxvt.perl-ext-common: default,matcher,keyboard-select,url-select,clipboard | |
! Clickable urls {{{ | |
URxvt.urlLauncher: /var/run/current-system/sw/bin/firefox | |
URxvt.matcher.button: 3 | |
URxvt.keysym.C-Delete: perl:matcher:last | |
URxvt.keysym.M-Delete: perl:matcher:list | |
! }}} | |
! Url select {{{ | |
URxvt.keysym.M-u: perl:url-select:select_next | |
! }}} | |
! Keyboard select {{{ | |
URxvt.keysym.M-Escape: perl:keyboard-select:activate | |
URxvt.keysym.M-s: perl:keyboard-select:search | |
! }}} | |
! Clipoard {{{ | |
URxvt.keysym.M-c: perl:clipboard:copy | |
URxvt.keysym.M-v: perl:clipboard:paste | |
URxvt.keysym.M-C-v: perl:clipboard:paste_escaped | |
!URxvt.copyCommand: /var/run/current-system/sw/bin/xsel -ib | |
!URxvt.pasteCommand: /var/run/current-system/sw/bin/xsel -ob | |
! }}} | |
! }}} | |
! Colors {{{ | |
! White on Black {{{ | |
!URxvt*background: black | |
!URxvt*foreground: grey90 | |
!URxvt*color0: black | |
!URxvt*color1: #800000 | |
!URxvt*color2: #008000 | |
!URxvt*color3: #d0d090 | |
!URxvt*color4: #000080 | |
!URxvt*color5: #800080 | |
!URxvt*color6: #a6caf0 | |
!URxvt*color7: grey90 | |
!URxvt*color8: #b0b0b0 | |
!URxvt*color9: #f08060 | |
!URxvt*color10: #60f080 | |
!URxvt*color11: #e0c060 | |
!URxvt*color12: #80c0e0 | |
!URxvt*color13: #f0c0f0 | |
!URxvt*color14: #c0d8f8 | |
!URxvt*color15: #e0e0e0 | |
!URxvt*cursorColor: #e0e080 | |
!URxvt*underlineColor: yellow | |
! }}} | |
! Solarized {{{ | |
!*URxvt:background: #002b36 | |
!*URxvt:foreground: #657b83 | |
!*URxvt:fading: 40 | |
!*URxvt:fadeColor: #002b36 | |
!*URxvt:cursorColor: #93a1a1 | |
!*URxvt:pointerColorBackground: #586e75 | |
!*URxvt:pointerColorForeground: #93a1a1 | |
!*URxvt:color0: #073642 | |
!*URxvt:color8: #002b36 | |
!*URxvt:color1: #dc322f | |
!*URxvt:color9: #cb4b16 | |
!*URxvt:color2: #859900 | |
!*URxvt:color10: #586e75 | |
!*URxvt:color3: #b58900 | |
!*URxvt:color11: #657b83 | |
!*URxvt:color4: #268bd2 | |
!*URxvt:color12: #839496 | |
!*URxvt:color5: #d33682 | |
!*URxvt:color13: #6c71c4 | |
!*URxvt:color6: #2aa198 | |
!*URxvt:color14: #93a1a1 | |
!*URxvt:color7: #eee8d5 | |
!*URxvt:color15: #fdf6e3 | |
! }}} | |
! }}} | |
! }}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define S_base03 #002b36 | |
#define S_base02 #073642 | |
#define S_base01 #586e75 | |
#define S_base00 #657b83 | |
#define S_base0 #839496 | |
#define S_base1 #93a1a1 | |
#define S_base2 #eee8d5 | |
#define S_base3 #fdf6e3 | |
#define S_yellow #b58900 | |
#define S_orange #cb4b16 | |
#define S_red #dc322f | |
#define S_magenta #d33682 | |
#define S_violet #6c71c4 | |
#define S_blue #268bd2 | |
#define S_cyan #2aa198 | |
#define S_green #859900 | |
URxvt*background: S_base03 | |
URxvt*foreground: S_base00 | |
URxvt*fading: 40 | |
URxvt*fadeColor: S_base03 | |
URxvt*cursorColor: S_base1 | |
URxvt*pointerColorBackground:S_base01 | |
URxvt*pointerColorForeground:S_base1 | |
URxvt*color0: S_base02 | |
URxvt*color8: S_base03 | |
URxvt*color1: S_red | |
URxvt*color9: S_orange | |
URxvt*color2: S_green | |
URxvt*color10: S_base01 | |
URxvt*color3: S_yellow | |
URxvt*color11: S_base00 | |
URxvt*color4: S_blue | |
URxvt*color12: S_base0 | |
URxvt*color5: S_magenta | |
URxvt*color13: S_violet | |
URxvt*color6: S_cyan | |
URxvt*color14: S_base1 | |
URxvt*color7: S_base2 | |
URxvt*color15: S_base3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint#Configuration_using_the_X_server_.28xorg.conf.29 | |
for id in `xinput list |grep -i trackpoint |cut -d= -f2 |cut -d'[' -f1`; do | |
xinput set-int-prop $id "Evdev Wheel Emulation" 8 1 2>/dev/null & | |
xinput set-int-prop $id "Evdev Wheel Emulation Button" 8 2 2>/dev/null & | |
xinput set-int-prop $id "Evdev Wheel Emulation Timeout" 8 200 2>/dev/null & | |
xinput set-int-prop $id "Evdev Wheel Emulation Axes" 8 6 7 4 5 2>/dev/null & | |
done | |
#xmodmap -e "pointer = 1 9 3 4 5 6 7 8 2" | |
# bell off | |
xset b off & | |
setxkbmap -model thinkpad60 -layout us | |
xmodmap ~/.Xmodmap & | |
xset r rate 250 100 & | |
# checking out different mouse behaviour | |
xset m 3 0 & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment