Fri, 13 Jun 2014 10:32:29 -0400
no v-edge borders, change mail ws name
1 | 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 | ||
12 | set $mod Mod4 | |
13 | ||
14 | # Font for window titles. Will also be used by the bar unless a different font | |
15 | # is used in the bar {} block below. ISO 10646 = Unicode | |
34
33bdbdb9ec90
Make dedicated workspace for Mail
Meredith Howard <mhoward@roomag.org>
parents:
28
diff
changeset
|
16 | font pango:monospace 10 |
1 | 17 | #~font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 |
18 | # The font above is very space-efficient, that is, it looks good, sharp and | |
19 | # clear in small sizes. However, if you need a lot of unicode glyphs or | |
20 | # right-to-left text rendering, you should instead use pango for rendering and | |
21 | # chose a FreeType font, such as: | |
22 | # font pango:DejaVu Sans Mono 10 | |
23 | ||
24 | # Use Mouse+$mod to drag floating windows to their wanted position | |
25 | floating_modifier $mod | |
26 | ||
27 | # start a terminal | |
46 | 28 | bindsym $mod+Return exec exec urxvt |
1 | 29 | |
30 | # kill focused window | |
31 | bindsym $mod+Shift+q kill | |
32 | ||
33 | # start dmenu (a program launcher) | |
34 | #~bindsym $mod+d exec dmenu_run | |
35 | # There also is the (new) i3-dmenu-desktop which only displays applications | |
36 | # shipping a .desktop file. It is a wrapper around dmenu, so you need that | |
37 | # installed. | |
34
33bdbdb9ec90
Make dedicated workspace for Mail
Meredith Howard <mhoward@roomag.org>
parents:
28
diff
changeset
|
38 | bindsym $mod+d exec --no-startup-id ~/.i3/i3-dmenu-desktop |
33bdbdb9ec90
Make dedicated workspace for Mail
Meredith Howard <mhoward@roomag.org>
parents:
28
diff
changeset
|
39 | # bindsym $mod+d exec --no-startup-id ~/.i3/j4-dmenu-desktop --dmenu="dmenu -i -b -p ] -nf \#CCC -nb \#555" |
1 | 40 | |
41 | # change focus | |
42 | bindsym $mod+j focus left | |
43 | bindsym $mod+k focus down | |
44 | bindsym $mod+l focus up | |
45 | bindsym $mod+semicolon focus right | |
46 | ||
47 | # alternatively, you can use the cursor keys: | |
48 | bindsym $mod+Left focus left | |
49 | bindsym $mod+Down focus down | |
50 | bindsym $mod+Up focus up | |
51 | bindsym $mod+Right focus right | |
52 | ||
53 | # move focused window | |
54 | bindsym $mod+Shift+j move left | |
55 | bindsym $mod+Shift+k move down | |
56 | bindsym $mod+Shift+l move up | |
57 | bindsym $mod+Shift+semicolon move right | |
58 | ||
59 | # alternatively, you can use the cursor keys: | |
60 | bindsym $mod+Shift+Left move left | |
61 | bindsym $mod+Shift+Down move down | |
62 | bindsym $mod+Shift+Up move up | |
63 | bindsym $mod+Shift+Right move right | |
64 | ||
65 | # split in horizontal orientation | |
66 | bindsym $mod+h split h | |
67 | ||
68 | # split in vertical orientation | |
69 | bindsym $mod+v split v | |
70 | ||
71 | # enter fullscreen mode for the focused container | |
72 | bindsym $mod+f fullscreen | |
73 | ||
74 | # change container layout (stacked, tabbed, toggle split) | |
75 | bindsym $mod+s layout stacking | |
76 | bindsym $mod+w layout tabbed | |
77 | bindsym $mod+e layout toggle split | |
78 | ||
79 | # toggle tiling / floating | |
80 | bindsym $mod+Shift+space floating toggle | |
81 | ||
82 | # change focus between tiling / floating windows | |
83 | bindsym $mod+space focus mode_toggle | |
84 | ||
85 | # focus the parent container | |
86 | bindsym $mod+a focus parent | |
87 | ||
88 | # focus the child container | |
89 | #bindsym $mod+d focus child | |
90 | ||
91 | bindsym $mod+b workspace back_and_forth | |
92 | bindsym $mod+minus workspace prev | |
93 | bindsym $mod+equal workspace next | |
94 | ||
95 | # switch to workspace | |
47
d2b56ea4ec3d
no v-edge borders, change mail ws name
Meredith Howard <mhoward@roomag.org>
parents:
46
diff
changeset
|
96 | bindsym $mod+1 workspace 1: Mail |
1 | 97 | bindsym $mod+2 workspace 2 |
98 | bindsym $mod+3 workspace 3 | |
99 | bindsym $mod+4 workspace 4 | |
100 | bindsym $mod+5 workspace 5 | |
101 | bindsym $mod+6 workspace 6 | |
102 | bindsym $mod+7 workspace 7 | |
103 | bindsym $mod+8 workspace 8 | |
104 | bindsym $mod+9 workspace 9 | |
105 | bindsym $mod+0 workspace 10 | |
106 | ||
107 | # move focused container to workspace | |
47
d2b56ea4ec3d
no v-edge borders, change mail ws name
Meredith Howard <mhoward@roomag.org>
parents:
46
diff
changeset
|
108 | bindsym $mod+Shift+1 move container to workspace 1: Mail |
1 | 109 | bindsym $mod+Shift+2 move container to workspace 2 |
110 | bindsym $mod+Shift+3 move container to workspace 3 | |
111 | bindsym $mod+Shift+4 move container to workspace 4 | |
112 | bindsym $mod+Shift+5 move container to workspace 5 | |
113 | bindsym $mod+Shift+6 move container to workspace 6 | |
114 | bindsym $mod+Shift+7 move container to workspace 7 | |
115 | bindsym $mod+Shift+8 move container to workspace 8 | |
116 | bindsym $mod+Shift+9 move container to workspace 9 | |
117 | bindsym $mod+Shift+0 move container to workspace 10 | |
118 | ||
119 | # reload the configuration file | |
120 | bindsym $mod+Shift+c reload | |
121 | # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) | |
122 | bindsym $mod+Shift+r restart | |
123 | # exit i3 (logs you out of your X session) | |
124 | bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Do you really want to exit i3?' -b 'Yes, exit i3' 'i3-msg exit'" | |
125 | ||
126 | # resize window (you can also use the mouse for that) | |
127 | mode "resize" { | |
128 | # These bindings trigger as soon as you enter the resize mode | |
129 | ||
130 | # Pressing left will shrink the window’s width. | |
131 | # Pressing right will grow the window’s width. | |
132 | # Pressing up will shrink the window’s height. | |
133 | # Pressing down will grow the window’s height. | |
134 | bindsym j resize shrink width 10 px or 10 ppt | |
135 | bindsym k resize grow height 10 px or 10 ppt | |
136 | bindsym l resize shrink height 10 px or 10 ppt | |
137 | bindsym semicolon resize grow width 10 px or 10 ppt | |
138 | ||
139 | # same bindings, but for the arrow keys | |
140 | bindsym Left resize shrink width 10 px or 10 ppt | |
141 | bindsym Down resize grow height 10 px or 10 ppt | |
142 | bindsym Up resize shrink height 10 px or 10 ppt | |
143 | bindsym Right resize grow width 10 px or 10 ppt | |
144 | ||
145 | # back to normal: Enter or Escape | |
146 | bindsym Return mode "default" | |
147 | bindsym Escape mode "default" | |
148 | } | |
149 | ||
150 | bindsym $mod+r mode "resize" | |
151 | ||
152 | # Start i3bar to display a workspace bar (plus the system information i3status | |
153 | # finds out, if available) | |
154 | bar { | |
155 | status_command i3status | |
37
8518a581c36d
Force font in i3bar so the cute unicode strikethrough works
Meredith Howard <mhoward@roomag.org>
parents:
34
diff
changeset
|
156 | font pango:Droid Sans Mono Slashed 10 |
1 | 157 | } |
158 | ||
24
a2483b35192d
Further X session setup
Meredith Howard <mhoward@roomag.org>
parents:
23
diff
changeset
|
159 | |
47
d2b56ea4ec3d
no v-edge borders, change mail ws name
Meredith Howard <mhoward@roomag.org>
parents:
46
diff
changeset
|
160 | hide_edge_borders vertical |
d2b56ea4ec3d
no v-edge borders, change mail ws name
Meredith Howard <mhoward@roomag.org>
parents:
46
diff
changeset
|
161 | |
24
a2483b35192d
Further X session setup
Meredith Howard <mhoward@roomag.org>
parents:
23
diff
changeset
|
162 | bindsym XF86AudioLowerVolume exec ~/.i3/volume_ctrl down |
a2483b35192d
Further X session setup
Meredith Howard <mhoward@roomag.org>
parents:
23
diff
changeset
|
163 | bindsym XF86AudioRaiseVolume exec ~/.i3/volume_ctrl up |
a2483b35192d
Further X session setup
Meredith Howard <mhoward@roomag.org>
parents:
23
diff
changeset
|
164 | bindsym XF86AudioMute exec ~/.i3/volume_ctrl mute |
a2483b35192d
Further X session setup
Meredith Howard <mhoward@roomag.org>
parents:
23
diff
changeset
|
165 | |
47
d2b56ea4ec3d
no v-edge borders, change mail ws name
Meredith Howard <mhoward@roomag.org>
parents:
46
diff
changeset
|
166 | assign [class="Icedove"] 1: Mail |
34
33bdbdb9ec90
Make dedicated workspace for Mail
Meredith Howard <mhoward@roomag.org>
parents:
28
diff
changeset
|
167 | for_window [class="Icedove"] focus child; layout tabbed |
33bdbdb9ec90
Make dedicated workspace for Mail
Meredith Howard <mhoward@roomag.org>
parents:
28
diff
changeset
|
168 | |
40
46b479ea577d
tab mode for google chrome
Meredith Howard <mhoward@roomag.org>
parents:
37
diff
changeset
|
169 | for_window [class="^Google-chrome"] focus child; layout tabbed |
46b479ea577d
tab mode for google chrome
Meredith Howard <mhoward@roomag.org>
parents:
37
diff
changeset
|
170 | |
23
a61d6f99a162
Create branch mhoward-lt for host-specific stuff
Meredith Howard <mhoward@roomag.org>
parents:
22
diff
changeset
|
171 | for_window [class="Xfce4-notifyd"] floating enable; border none; focus mode_toggle |
a61d6f99a162
Create branch mhoward-lt for host-specific stuff
Meredith Howard <mhoward@roomag.org>
parents:
22
diff
changeset
|
172 | |
1 | 173 | exec xsetroot -solid "SteelBlue4" |
174 | ||
175 | exec ~/.i3/auto-start | |
176 |