commit 50fc9890d5685ede4be8637429f346a204ce15f9
parent 21a365cc6ba4f152e5298192c6eff728a97e0d90
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Tue,  4 Feb 2014 14:57:22 +0100
urxvt transparency, unclutter
Diffstat:
4 files changed, 24 insertions(+), 20 deletions(-)
diff --git a/.Xresources b/.Xresources
@@ -27,16 +27,7 @@ urxvt*internalBorder: 		1
 
 URxvt.meta8: True
 URxvt.intensityStyles: false
-!Xft.dpi: 81
-!Xft.dpi: 100
-!URxvt.font: xft:SourceCodePro-Light:pixelsize=11
 
-!URxvt.keysym.C-7: command:\033]710;-*-uushi-medium-r-normal-*-*-*-*-*-*-*-*-*\007\033]711;-*-uushi-medium-r-normal-*-*-*-*-*-*-*-*-*\007
-!URxvt.keysym.C-8: command:\033]710;-*-gohufontmod11-medium-r-normal-*-*-*-*-*-*-*-*-*\007\033]711;-*-gohufontmod-medium-r-normal-*-*-*-*-*-*-*-*-*\007
-!URxvt.keysym.C-9: command:\033]710;-*-limey-*-*-*-*-*-*-*-*-*-*-*-*\007\033]711;-*-limey-*-*-*-*-*-*-*-*-*-*-*-*\007
-!URxvt.keysym.C-0: command:\033]710;-*-lemon-*-*-*-*-*-*-*-*-*-*-*-*\007\033]711;-*-lemon-*-*-*-*-*-*-*-*-*-*-*-*\007
-!URxvt.keysym.C-minus: command:\033]710;-*-tewi-medium-r-normal-*-*-*-*-*-*-*-*-*\007\033]711;-*-tewi-medium-r-normal-*-*-*-*-*-*-*-*-*\007
-!URxvt.keysym.C-equal: command:\033]710;xft:inconsolata:size=8\007\033]711;xft:inconsolata:size=8\007
 URxvt.keysym.C-1: command:\033]710;xft:inconsolata:size=7\007\033]711;xft:inconsolata:size=7\007
 URxvt.keysym.C-2: command:\033]710;xft:inconsolata:size=8\007\033]711;xft:inconsolata:size=8\007
 URxvt.keysym.C-3: command:\033]710;xft:inconsolata:size=10\007\033]711;xft:Monaco for Powerline:size=10\007
@@ -58,6 +49,10 @@ urxvt*boldFont: -*-uushi-*-*-*-*-*-*-*-*-*-*-*-*
 urxvt*italicFont: -*-uushi-*-*-*-*-*-*-*-*-*-*-*-*
 urxvt*bolditalicFont: -*-uushi-*-*-*-*-*-*-*-*-*-*-*-*
 
+urxvt*transparent: true
+! 0-99 darkens, 101-200 lightens
+urxvt*shading: 10
+
 ! xterm ----------------------------------------------------------------------
 xterm*background: black
 !xterm*background: black
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
@@ -3,9 +3,9 @@
 #
 # See `man bspwm` for details
 
-# Quit Bspwm
+# Kill panel and quit Bspwm
 super + alt + Escape
-	bspc quit
+	pkill -x panel; bspc quit
 
 # Close the selected window
 super + w
diff --git a/.xinitrc b/.xinitrc
@@ -1,11 +1,21 @@
 #!/bin/sh
 
-# Set background color
-xsetroot -solid '#222222' &
-
 # Disable beeps
 xset -b
 
+# Normal cursor
+xsetroot -cursor_name left_ptr &
+
+# Set background color
+#xsetroot -solid '#222222' &
+hsetroot -cover ~/Pictures/city.jpg
+
+# Hide mouse on inactivity
+unclutter -grab -noevents -root &
+
+# Add shadows
+compton &
+
 # Keyboard layout
 #setxkbmap dk
 #setxkbmap us -option ctrl:nocaps
@@ -13,10 +23,12 @@ setxkbmap us
 #setxkbmap dvorak -option ctrl:nocaps
 
 # Set display color profile
-[ -f ~/doc/colorprofile.icc ] && xcalib ~/doc/colorprofile.icc 
+#[ -f ~/doc/colorprofile.icc ] && xcalib ~/doc/colorprofile.icc 
 
-# Make sure this is before the 'exec' command or it won't be executed.
+# Load environment variable definitions
 [ -f ~/.xprofile ] && . ~/.xprofile
+
+# X settings
 xrdb ~/.Xresources
 
 # screen powersave
@@ -52,9 +64,6 @@ dunst &
 #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
 
diff --git a/bin/install_bspwm.sh b/bin/install_bspwm.sh
@@ -6,7 +6,7 @@
 # Debian dependencies
 sudo apt-get install xcb libxcb-util0-dev libxcb-ewmh-dev libxcb-randr0-dev \
     libxcb-icccm4-dev libxcb-keysyms1-dev libxcb-xinerama0-dev xfonts-terminus \
-    dzen2
+    hsetroot compton unclutter
 
 # Core folder
 FOLDER=~/code