summaryrefslogtreecommitdiffstats
path: root/xorg
diff options
context:
space:
mode:
Diffstat (limited to 'xorg')
-rw-r--r--xorg/.Xdefaults57
-rw-r--r--xorg/.Xmodmap38
-rw-r--r--xorg/.xinitrc6
-rw-r--r--xorg/.xprofile10
4 files changed, 111 insertions, 0 deletions
diff --git a/xorg/.Xdefaults b/xorg/.Xdefaults
new file mode 100644
index 0000000..71e1a51
--- /dev/null
+++ b/xorg/.Xdefaults
@@ -0,0 +1,57 @@
+! rxvt-unicode {{{
+URxvt*visualBell:true
+URxvt*background:black
+URxvt*foreground:lightgrey
+URxvt*saveLines:4096
+URxvt*cursorColor:green
+URxvt*pointerColor:yellow
+URxvt*borderWidth:1
+URxvt*scrollTtyOutput:false
+URxvt*scrollTtyKeypress:true
+URxvt*scrollBar:false
+URxvt*font:xft:Misc Fixed:pixelsize=14
+URxvt*boldFont:xft:Misc Fixed:pixelsize=14
+URxvt*urgentOnBell: true
+URxvt*perl-ext-common:default,matcher
+URxvt*matcher.button:3
+URxvt*keysym.C-Return: perl:matcher:last
+URxvt*keysym.M-Return: perl:matcher:list
+URxvt*url-launcher:firefox
+URxvt*iso14755:false
+URxvt*iso14755_52:false
+! }}}
+! xterm {{{
+xterm*visualBell:true
+xterm*background:black
+xterm*foreground:lightgrey
+xterm*saveLines:4096
+xterm*cursorColor:green
+xterm*colorMode:true
+xterm*pointerColor:yellow
+xterm*borderWidth:1
+xterm*scrollTtyOutput:false
+xterm*scrollBar:false
+xterm*font:7x14
+xterm*boldFont:7x14
+xterm*bellIsUrgent: true
+! }}}
+! colors {{{
+*.color0:#000000
+*.color1:#ed5f74
+*.color2:#1ea672
+*.color3:#d97917
+*.color4:#688ef1
+*.color5:#c96ed0
+*.color6:#3a97d4
+*.color7:#e3e8ee
+*.color8:#697386
+*.color9:#fbb5b2
+*.color10:#85d996
+*.color11:#efc078
+*.color12:#9fcdff
+*.color13:#f0b4e4
+*.color14:#7fd3ed
+*.color15:#ffffff
+! }}}
+
+! vim:ft=xdefaults:fdm=marker
diff --git a/xorg/.Xmodmap b/xorg/.Xmodmap
new file mode 100644
index 0000000..8225271
--- /dev/null
+++ b/xorg/.Xmodmap
@@ -0,0 +1,38 @@
+! reset state
+clear control
+clear mod1
+clear mod4
+
+! swap alt and control
+keycode 37 = Alt_L Meta_L
+keycode 64 = Control_L
+keycode 105 = Alt_R Meta_R
+keycode 108 = Control_R
+
+! map prtsc to super, because the thinkpad layout puts it in that location
+keycode 107 = Super_R
+
+! set the values for control, mod1 (meta), and mod4 (super) now that they have
+! been assigned to keycodes
+add control = Control_L Control_R
+add mod1 = Alt_L Alt_R Meta_L Meta_R
+add mod4 = Super_L Super_R
+
+! map home and end to insert, because the thinkpad layout puts them where
+! insert should be
+keycode 110 = Insert
+keycode 115 = Insert
+
+! use media keys instead of function keys
+keycode 67 = XF86AudioMute
+keycode 68 = XF86AudioLowerVolume
+keycode 69 = XF86AudioRaiseVolume
+keycode 70 = XF86AudioMicMute
+keycode 71 = XF86MonBrightnessDown
+keycode 72 = XF86MonBrightnessUp
+keycode 73 = XF86Display
+keycode 74 = XF86WLAN
+keycode 75 = XF86Tools
+keycode 76 = XF86Search
+keycode 95 = XF86LaunchA
+keycode 96 = XF86Explorer
diff --git a/xorg/.xinitrc b/xorg/.xinitrc
new file mode 100644
index 0000000..088ac3d
--- /dev/null
+++ b/xorg/.xinitrc
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# shellcheck source=xorg/.xprofile
+[ -f ~/.xprofile ] && . ~/.xprofile
+
+exec i3
diff --git a/xorg/.xprofile b/xorg/.xprofile
new file mode 100644
index 0000000..8f968f8
--- /dev/null
+++ b/xorg/.xprofile
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# shellcheck disable=SC1091
+. "${HOME}/.config/sh/rc.d/00path"
+
+eval "$(ssh-agent)"
+
+setup-inputs
+
+xset s 300 5