summaryrefslogtreecommitdiff
path: root/by_host/Linux/X
diff options
context:
space:
mode:
Diffstat (limited to 'by_host/Linux/X')
-rw-r--r--by_host/Linux/X/.Xdefaults72
-rw-r--r--by_host/Linux/X/.Xmodmap10
-rw-r--r--by_host/Linux/X/.xbindkeysrc39
-rw-r--r--by_host/Linux/X/.xinitrc5
4 files changed, 126 insertions, 0 deletions
diff --git a/by_host/Linux/X/.Xdefaults b/by_host/Linux/X/.Xdefaults
new file mode 100644
index 0000000..3b1353f
--- /dev/null
+++ b/by_host/Linux/X/.Xdefaults
@@ -0,0 +1,72 @@
+URxvt*termName: rxvt
+URxvt.perl-lib: /home/pks/.urxvt/
+URxvt.perl-ext-common: default,tabbedex,url-select,clipboard,keyboard-select
+
+/* keyboard (M is alt) */
+URxvt.keysym.M-Escape: perl:keyboard-select:activate
+URxvt.keysym.M-s: perl:keyboard-select:search
+URxvt.keysym.M-u: perl:url-select:select_next
+URxvt.keysym.M-c: perl:clipboard:copy
+URxvt.keysym.M-v: perl:clipboard:paste
+URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
+
+/* borderless and no scrollbar */
+URxvt*scrollBar: false
+URxvt*scrollBar_right: false
+URxvt*borderLess: false
+URxvt.cursorBlink: true
+URxvt*internalBorder: 0
+
+/* fonts */
+Xft.dpi: 96
+Xft.antialias: true
+Xft.rgba: rgb
+Xft.hinting: true
+Xft.hintstyle: hintslight
+URxvt*font: xft:Tamsyn:pixelsize=16:style=regular:antialias=false,xft:Inconsolata Powerline:pixelsize=16
+URxvt*boldFont: xft:Tamsyn:pixelsize=17:style=bold:antialias=false,xft:Inconsolata Powerline:pixelsize=16
+
+/* change default colors */
+URxvt*background: #000000
+URxvt*foreground: #999999
+! black
+URxvt*.color0 : #000000
+URxvt*.color8 : #999999
+! red
+URxvt*.color1 : #bb4444
+URxvt*.color9 : #bb4444
+! green
+URxvt*.color2 : #44bb44
+URxvt*.color10 : #44bb44
+! yellow
+URxvt*.color3 : #bbbb44
+URxvt*.color11 : #bbbb44
+! blue
+URxvt*.color4 : #4444aa
+URxvt*.color12 : #4444aa
+! magenta
+URxvt*.color5 : #bb44bb
+URxvt*.color13 : #bb44bb
+! cyan
+URxvt*.color6 : #44bbbb
+URxvt*.color14 : #44bbbb
+! white
+URxvt*.color7 : #999999
+URxvt*.color15 : #999999
+
+/* tabbed */
+URxvt.tabbed.tabbar-fg: 7
+URxvt.tabbed.tabbar-bg: 0
+URxvt.tabbed.tab-fg: 5
+URxvt.tabbed.tab-bg: 0
+URxvt.tabbed.title-fg: 0
+URxvt.tabbed.title-bg: 7
+URxvt.tabbed.new-button: no
+URxvt.tabbed.title: yes
+
+/* url-select */
+URxvt.url-select.autocopy: false
+URxvt.url-select.button: 1
+URxvt.url-select.launcher: firefox
+URxvt.url-select.underline: true
+
diff --git a/by_host/Linux/X/.Xmodmap b/by_host/Linux/X/.Xmodmap
new file mode 100644
index 0000000..37b4dcc
--- /dev/null
+++ b/by_host/Linux/X/.Xmodmap
@@ -0,0 +1,10 @@
+clear Lock
+!caps lock
+keycode 66 = F13
+keycode 121 = XF86AudioMute
+keycode 122 = XF86AudioLowerVolume
+keycode 123 = XF86AudioRaiseVolume
+keycode 171 = XF86AudioNext
+keycode 173 = XF86AudioPrev
+keycode 172 = XF86AudioPlay
+keycode 174 = XF86AudioStop
diff --git a/by_host/Linux/X/.xbindkeysrc b/by_host/Linux/X/.xbindkeysrc
new file mode 100644
index 0000000..d90e22e
--- /dev/null
+++ b/by_host/Linux/X/.xbindkeysrc
@@ -0,0 +1,39 @@
+"slock"
+ XF86ScreenSaver
+
+"sudo /usr/sbin/s2ram"
+ XF86Sleep
+
+"sudo /usr/sbin/s2ram"
+ XF86Suspend
+
+"/bin/sh ~/bin/fn-f7"
+ XF86Display
+
+"scrot"
+ Print
+
+"mocp --next"
+ XF86AudioNext
+
+"mocp --previous"
+ XF86AudioPrev
+
+"mocp --toggle-pause"
+ XF86AudioPlay
+
+"mocp --stop"
+ XF86AudioStop
+
+"amixer -c 0 set Master 2-"
+ XF86AudioLowerVolume
+
+"amixer -c 0 set Master 2+"
+ XF86AudioRaiseVolume
+
+"amixer -q set Master toggle"
+ XF86AudioMute
+
+"xset dpms force off"
+ m:0x0 + c:244
+
diff --git a/by_host/Linux/X/.xinitrc b/by_host/Linux/X/.xinitrc
new file mode 100644
index 0000000..f8e4d77
--- /dev/null
+++ b/by_host/Linux/X/.xinitrc
@@ -0,0 +1,5 @@
+exec xmodmap ${HOME}/.Xmodmap &
+exec ${HOME}/bin/ratcpi &
+export LC_ALL=en_US.UTF-8
+exec ratpoison
+