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