updated for multimonitor setup with bar and screen
[dotfiles.git] / .i3 / config
index ef4d088..57a5ed0 100644 (file)
 exec setxkbmap dvorak
 exec xrdb ~/.Xresources
 exec skype
+exec ~/.i3/bg
+exec numlockx on
+exec urxvtd -q -o -f
+exec ~/.i3/screen.sh
+
 
 set $mod Mod4
 
+#for_window [instance="skype"] floating enable
+
 # font for window titles. ISO 10646 = Unicode
 font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
 
 # Use Mouse+$mod to drag floating windows to their wanted position
 floating_modifier $mod
 
-#bindsym Print exec scrot
-
-# volume controls
-bindsym XF86AudioRaiseVolume exec amixer set Master 5+ >> /dev/null
-bindsym XF86AudioLowerVolume exec amixer set Master 5- >> /dev/null
-
 # start a terminal
-bindsym $mod+Return exec urxvt
+bindsym $mod+Return exec urxvtc
 
 # kill focused window
 bindsym $mod+Shift+quotedbl kill
@@ -35,12 +36,6 @@ bindsym $mod+Shift+quotedbl kill
 # start dmenu (a program launcher)
 bindsym $mod+e exec dmenu_run
 
-# place and update the calendar background
-bindsym $mod+Shift+E exec convert -background black -fill white -size 1600x900 -font /usr/share/fonts/truetype/unifont/unifont.ttf label:"$(gcalcli --nc calw)" png:- | display -window root
-
-# lock the machine
-bindsym $mod+l exec xautolock -locknow
-
 # change focus
 bindsym $mod+h focus left
 bindsym $mod+t focus down
@@ -77,7 +72,7 @@ bindsym $mod+space focus mode_toggle
 bindsym $mod+a focus parent
 
 # focus the child container
-#bindcode $mod+d focus child
+#bindsym $mod+d focus child
 
 # switch to workspace
 bindsym $mod+1 workspace 1
@@ -133,7 +128,8 @@ bindsym $mod+p mode "resize"
 # Start i3bar to display a workspace bar (plus the system information i3status
 # finds out, if available)
 bar {
-        status_command /home/marlub/.i3/bar
-               position bottom
-               Font -gnu-unifont-*-*-*-16-160-*-*-*-*-*-*
+       status_command /home/marlub/.i3/bar
+       position bottom
+       Font -gnu-unifont-*-*-*-16-160-*-*-*-*-*-*
+       tray_output primary
 }