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