dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 128a508629ce63e08be94bb32932f7fd3f7f4481
parent a0da341508f31486af194672234bfbdb82306ee7
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date:   Mon,  5 Nov 2012 09:10:41 +0100

Added X11 files

Diffstat:
A.Xmodmap | 4++++
A.Xresources | 96+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
M.i3/config | 5++++-
A.xinitrc | 43+++++++++++++++++++++++++++++++++++++++++++
A.xprofile | 7+++++++
5 files changed, 154 insertions(+), 1 deletion(-)

diff --git a/.Xmodmap b/.Xmodmap @@ -0,0 +1,4 @@ +pointer = 1 2 3 5 4 7 6 8 9 10 11 12 13 14 15 + +remove Lock = Caps_Lock +keysym Caps_Lock = Escape diff --git a/.Xresources b/.Xresources @@ -0,0 +1,96 @@ +! Xcursor -------------------------------------------------------------------- +Xcursor.theme: Vanilla-DMZ-AA +Xcursor.size: 22 + +! terminal colors ------------------------------------------------------------ +xterm*background: black +xterm*foreground: white + +! xterm ---------------------------------------------------------------------- +xterm*geometry: 80x25 +xterm*faceName: terminus:bold:pixelsize=11 +!!xterm*font: -*-dina-medium-r-*-*-16-*-*-*-*-*-*-* +xterm*dynamicColors: true +!xterm*utf8: 1 + +xterm*utf8: 1 +!!xterm*metaSendsEscape: true +!!xterm*eightBitInput: false +!!xterm*eightBitControl: false +!!xterm*eightBitOutput: true + +!xterm*utf8: 2 +xterm*eightBitInput: true + +xterm*saveLines: 512 +xterm*scrollKey: true +xterm*scrollTtyOutput: false +!xterm*scrollBar: true +mxterm*rightScrollBar: true +xterm*jumpScroll: true +xterm*multiScroll: true +xterm*toolBar: false + +! xpdf ----------------------------------------------------------------------- +xpdf*enableFreetype: yes +xpdf*antialias: yes +xpdf*foreground: black +xpdf*background: white +xpdf*matteColor: gray +xpdf*urlCommand: /usr/bin/chromium %s + +! rxvt-unicode --------------------------------------------------------------- +URxvt.transparent: true +! URxvt.shading: 0 to 99 darkens, 101 to 200 lightens +URxvt.shading: 20 +! scrollbar style - rxvt (default), plain (most compact), next, or xterm +!URxvt.scrollstyle: rxvt +URxvt.internalBorder: 1 +!URxvt.loginShell: true +URxvt.scrollBar: off +URxvt.font: 7x13euro +! tabs and clickable URLs +!URxvt.perl-ext-common: default,tabbed,matcher +URxvt.perl-ext-common: matcher +URxvt.urlLauncher: /usr/bin/chromium +URxvt.matcher.button: 1 +! tab colors +!URxvt.tabbed.tabbar-fg: 2 +!URxvt.tabbed.tabbar-bg: 0 +!URxvt.tabbed.tab-fg: 3 +!URxvt.tabbed.tab-bg: 0 +! colors +URxvt.foreground: White +URxvt.background: Black +URxvt.saveLines: 1024 +URxvt.meta8: True +urxvt*termName: rxvt + +! xscreensaver --------------------------------------------------------------- +!font settings +xscreensaver.Dialog.headingFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-* +xscreensaver.Dialog.bodyFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-* +xscreensaver.Dialog.labelFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-* +xscreensaver.Dialog.unameFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-* +xscreensaver.Dialog.buttonFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-* +xscreensaver.Dialog.dateFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-* +xscreensaver.passwd.passwdFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-* +!general dialog box (affects main hostname, username, password text) +xscreensaver.Dialog.foreground: #ffffff +xscreensaver.Dialog.background: #111111 +xscreensaver.Dialog.topShadowColor: #111111 +xscreensaver.Dialog.bottomShadowColor: #111111 +xscreensaver.Dialog.Button.foreground: #666666 +xscreensaver.Dialog.Button.background: #ffffff +!username/password input box and date text colour +xscreensaver.Dialog.text.foreground: #666666 +xscreensaver.Dialog.text.background: #ffffff +xscreensaver.Dialog.internalBorderWidth:24 +xscreensaver.Dialog.borderWidth: 20 +xscreensaver.Dialog.shadowThickness: 2 +!timeout bar (background is actually determined by Dialog.text.background) +xscreensaver.passwd.thermometer.foreground: #ff0000 +xscreensaver.passwd.thermometer.background: #000000 +xscreensaver.passwd.thermometer.width: 8 +!datestamp format--see the strftime(3) manual page for details +xscreensaver.dateFormat: %I:%M%P %a %b %d, %Y diff --git a/.i3/config b/.i3/config @@ -31,7 +31,10 @@ bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+b exec uzbl-browser bindsym $mod+t exec tor-browser bindsym $mod+m exec thunderbird -bindsym $mod+z exec xscreensaver-command lock +#bindsym $mod+z exec xscreensaver-command lock + +# screen lock +bindsym $mod+z exec i3-msg workspace 1: www && i3lock -c 111111 -d # kill focused window bindsym $mod+Shift+q kill diff --git a/.xinitrc b/.xinitrc @@ -0,0 +1,43 @@ +#!/bin/sh + +# Set background color +xsetroot -solid '#101010' & + +# Disable beeps +xset -b + +# Keyboard layout +setxkbmap dk + +# Read .xbindkeysrc for special key-bindings +xbindkeys + +# Read .Xmodmap for modified keys +xmodmap ~/.Xmodmap + +# Set display color profile +xcalib ~/doc/colorprofile.icc + +# Make sure this is before the 'exec' command or it won't be executed. +[ -f ~/.xprofile ] && . ~/.xprofile +[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources + +# screen powersave +xset +dpms # Energy Star features on +xset dpms 300 600 900 # standby -> suspend -> off (seconds) + +# Set dim LCD brightness +xbacklight -set 30 & + +# Notification deamon +dunst & + +# Automatically suspend system after 20 mins of inactivity +xautolock -time 20 -locker "sudo pm-suspend" & + +#DEFAULT_SESSION=awesome +DEFAULT_SESSION=i3 +case $1 in + awesome|i3|xmonad) exec $1 ;; + *) exec $DEFAULT_SESSION ;; +esac diff --git a/.xprofile b/.xprofile @@ -0,0 +1,7 @@ +#export LC_ALL="en_DK.UTF-8" +export LANG=en_DK.UTF-8 +export LC_ALL= +export LC_COLLATE="C" +export LC_CTYPE="en_US.UTF-8" + +#[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources