some updates, syntax file, xresources font i3 urxvt daemon
[dotfiles.git] / .i3 / config
1 # This file has been auto-generated by i3-config-wizard(1).
2 # It will not be overwritten, so edit it as you like.
3 #
4 # Should you change your keyboard layout somewhen, delete
5 # this file and re-run i3-config-wizard(1).
6 #
7
8 # i3 config file (v4)
9 #
10 # Please see http://i3wm.org/docs/userguide.html for a complete reference!
11 exec setxkbmap dvorak
12 exec xrdb ~/.Xresources
13 exec skype
14 exec ~/.i3/bg
15 exec numlockx on
16 exec urxvtd -q -o -f
17
18
19 set $mod Mod4
20
21 #for_window [instance="skype"] floating enable
22
23 # font for window titles. ISO 10646 = Unicode
24 font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
25
26 # Use Mouse+$mod to drag floating windows to their wanted position
27 floating_modifier $mod
28
29 # start a terminal
30 bindsym $mod+Return exec urxvtc
31
32 # kill focused window
33 bindsym $mod+Shift+quotedbl kill
34
35 # start dmenu (a program launcher)
36 bindsym $mod+e exec dmenu_run
37
38 # change focus
39 bindsym $mod+h focus left
40 bindsym $mod+t focus down
41 bindsym $mod+n focus up
42 bindsym $mod+s focus right
43
44 # move focused window
45 bindsym $mod+Shift+H move left
46 bindsym $mod+Shift+T move down
47 bindsym $mod+Shift+N move up
48 bindsym $mod+Shift+S move right
49
50 # split in horizontal orientation
51 bindsym $mod+d split h
52
53 # split in vertical orientation
54 bindsym $mod+k split v
55
56 # enter fullscreen mode for the focused container
57 bindsym $mod+u fullscreen
58
59 # change container layout (stacked, tabbed, default)
60 bindsym $mod+o layout stacking
61 bindsym $mod+comma layout tabbed
62 bindsym $mod+period layout default
63
64 # toggle tiling / floating
65 bindsym $mod+Shift+space floating toggle
66
67 # change focus between tiling / floating windows
68 bindsym $mod+space focus mode_toggle
69
70 # focus the parent container
71 bindsym $mod+a focus parent
72
73 # focus the child container
74 #bindsym $mod+d focus child
75
76 # switch to workspace
77 bindsym $mod+1 workspace 1
78 bindsym $mod+2 workspace 2
79 bindsym $mod+3 workspace 3
80 bindsym $mod+4 workspace 4
81 bindsym $mod+5 workspace 5
82 bindsym $mod+6 workspace 6
83 bindsym $mod+7 workspace 7
84 bindsym $mod+8 workspace 8
85 bindsym $mod+9 workspace 9
86 bindsym $mod+0 workspace 10
87
88 # move focused container to workspace
89 bindsym $mod+Shift+exclam move container to workspace 1
90 bindsym $mod+Shift+at move container to workspace 2
91 bindsym $mod+Shift+numbersign move container to workspace 3
92 bindsym $mod+Shift+dollar move container to workspace 4
93 bindsym $mod+Shift+percent move container to workspace 5
94 bindsym $mod+Shift+asciicircum move container to workspace 6
95 bindsym $mod+Shift+ampersand move container to workspace 7
96 bindsym $mod+Shift+asterisk move container to workspace 8
97 bindsym $mod+Shift+parenleft move container to workspace 9
98 bindsym $mod+Shift+parenright move container to workspace 10
99
100 # reload the configuration file
101 bindsym $mod+Shift+J reload
102 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
103 bindsym $mod+Shift+P restart
104 # exit i3 (logs you out of your X session)
105 bindsym $mod+Shift+greater exit
106
107 # resize window (you can also use the mouse for that)
108 mode "resize" {
109 # These bindings trigger as soon as you enter the resize mode
110
111 # Pressing left will shrink the window’s width.
112 # Pressing right will grow the window’s width.
113 # Pressing up will shrink the window’s height.
114 # Pressing down will grow the window’s height.
115 bindsym h resize shrink width 10 px or 10 ppt
116 bindsym t resize grow height 10 px or 10 ppt
117 bindsym n resize shrink height 10 px or 10 ppt
118 bindsym s resize grow width 10 px or 10 ppt
119
120 # back to normal: Enter or Escape
121 bindsym Return mode "default"
122 bindsym Escape mode "default"
123 }
124
125 bindsym $mod+p mode "resize"
126
127 # Start i3bar to display a workspace bar (plus the system information i3status
128 # finds out, if available)
129 bar {
130 status_command /home/marlub/.i3/bar
131 position bottom
132 Font -gnu-unifont-*-*-*-16-160-*-*-*-*-*-*
133 }