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 8097006be8efcec3c2b90e31d9a5c898b0b820e0
parent 09d8d50270da288fbb77fe7cd6ea3aaeb9f6f52e
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Mon,  3 Feb 2014 15:55:07 +0100

Added missing xinitrc

Diffstat:
A.xinitrc | 81+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 81 insertions(+), 0 deletions(-)

diff --git a/.xinitrc b/.xinitrc @@ -0,0 +1,81 @@ +#!/bin/sh + +# Set background color +xsetroot -solid '#222222' & + +# Disable beeps +xset -b + +# Keyboard layout with caps as ctrl +#setxkbmap dk +#setxkbmap us -option ctrl:nocaps +setxkbmap us +#setxkbmap dvorak -option ctrl:nocaps + +# Read .xbindkeysrc for special key-bindings +xbindkeys + +# Set display color profile +[ -f ~/doc/colorprofile.icc ] && xcalib ~/doc/colorprofile.icc + +# Make sure this is before the 'exec' command or it won't be executed. +[ -f ~/.xprofile ] && . ~/.xprofile +xrdb ~/.Xresources + +# screen powersave +xset +dpms # Energy Star features on +xset dpms 300 600 900 # standby -> suspend -> off (seconds) + +# mouse acceleration (xset m <acceleration> <threshold>) +xset m 3/2 4 +#xset m 2/1 4 + +# Set dim LCD brightness +#xbacklight -set 30 & + +# Load local fonts +xset +fp ~/.fonts +xset fp rehash +fc-cache +fc-cache -fv + +# Notification deamon +dunst & + +# Bluetooth applet +#blueman-applet & + +#gnome-settings-daemon & # handles themes, starts gnome-screensaver. You may have to use gconf to disable it setting the background. +#nm-applet & # assuming you're using Network Manager +#pidgin & # if you're using pidgin. You can really put any programs here. +#gnome-power-manager & # for laptops and stuff +#gnome-volume-manager & # for mounting CDs, USB sticks, and such +#eval `gnome-keyring-daemon` # SSH/GPG agent + +#owncloud & +#dropbox start & + + +# Disable touchpad when typing +#syndaemon -t -k -i 2 -d & + +# Enable tap-to-click on touchpad +synclient TapButton1=1 TapButton2=2 TapButton3=3 + +# Automatically suspend system after 20 mins of inactivity +#xautolock -time 20 -locker "sudo pm-suspend" & +# Automatically lock the screen after 10 mins of inactivity +xautolock -time 10 -locker "i3lock -c 1d1f21" & + +# Read .Xmodmap for modified keys +#setxkbmap -option ctrl:nocaps +xmodmap ~/.Xmodmap + +# Setup two monitors at iddqd +xrandr --output DVI-D-0 --primary +xrandr --output DP-1 --auto --left-of DVI-D-0 + +#exec i3 + +sxhkd & +exec bspwm