-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig
More file actions
155 lines (125 loc) · 4.62 KB
/
config
File metadata and controls
155 lines (125 loc) · 4.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
################################################################################
# i3 config file (v4.6)
################################################################################
new_window 1pixel
hide_edge_borders both
# font for window titles. ISO 10646 = Unicode
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# use Mouse+Mod1 to drag floating windows to their wanted position
floating_modifier Mod4
# start a terminal
bindsym Mod4+Return exec --no-startup-id urxvtc
# kill focused window
bindsym Control+Shift+z kill
# start dmenu (a program launcher)
bindsym Mod4+p exec dmenu_run
# change focus
bindsym Mod4+h focus left
bindsym Mod4+j focus down
bindsym Mod4+k focus up
bindsym Mod4+l focus right
# alternatively, you can use the cursor keys:
bindsym Mod4+Left focus left
bindsym Mod4+Down focus down
bindsym Mod4+Up focus up
bindsym Mod4+Right focus right
# move focused window
bindsym Mod4+Shift+h move left
bindsym Mod4+Shift+j move down
bindsym Mod4+Shift+k move up
bindsym Mod4+Shift+l move right
# alternatively, you can use the cursor keys:
bindsym Mod4+Shift+Left move left
bindsym Mod4+Shift+Down move down
bindsym Mod4+Shift+Up move up
bindsym Mod4+Shift+Right move right
# split in horizontal orientation
bindsym Mod4+bar split h
# split in vertical orientation
bindsym Mod4+minus split v
# enter fullscreen mode for the focused container
bindsym Mod4+f fullscreen
# change container layout (stacked, tabbed, default)
bindsym Mod4+s layout stacking
bindsym Mod4+t layout tabbed
bindsym Mod4+d layout default
# toggle tiling / floating
bindsym Mod4+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym Mod4+space focus mode_toggle
# focus the parent container
bindsym Mod4+a focus parent
# focus the child container
#bindsym Mod4+d focus child
# switch to workspace
bindsym Mod4+1 workspace 1: term
bindsym Mod4+2 workspace 2: www
bindsym Mod4+3 workspace 3: media
bindsym Mod4+4 workspace 4: gfx
bindsym Mod4+5 workspace 5: misc
# move focused container to workspace
bindsym Mod4+Shift+1 move workspace 1: term
bindsym Mod4+Shift+2 move workspace 2: www
bindsym Mod4+Shift+3 move workspace 3: media
bindsym Mod4+Shift+4 move workspace 4: gfx
bindsym Mod4+Shift+5 move workspace 5: misc
# reload the configuration file
bindsym Mod4+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym Mod4+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym Mod4+Shift+e exit
#testing
bindsym Mod4+Control+h resize shrink left 2 px
bindsym Mod4+Control+Shift+h resize grow left 2 px
bindsym Mod4+Control+j resize shrink down 2 px
bindsym Mod4+Control+Shift+j resize grow down 2 px
bindsym Mod4+Control+k resize shrink up 2 px
bindsym Mod4+Control+Shift+k resize grow up 2 px
bindsym Mod4+Control+l resize shrink right 2 px
bindsym Mod4+Control+Shift+l resize grow right 2 px
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# same bindings, but for the arrow keys
bindsym Left resize shrink left 10 px or 10 ppt
bindsym Shift+Left resize grow left 10 px or 10 ppt
bindsym Down resize shrink down 10 px or 10 ppt
bindsym Shift+Down resize grow down 10 px or 10 ppt
bindsym Up resize shrink up 10 px or 10 ppt
bindsym Shift+Up resize grow up 10 px or 10 ppt
bindsym Right resize shrink right 10 px or 10 ppt
bindsym Shift+Right resize grow right 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym Mod4+r mode "resize"
bindsym XF86AudioLowerVolume exec amixer set Master 2dB-
bindsym XF86AudioRaiseVolume exec amixer set Master 2dB+
# Microsoft Ergo Shortcut Keys 1-5 (don't match keycodes though)
bindsym XF86Launch5 exec vlc
bindsym XF86Launch6 exec gimp
bindsym XF86Launch7 exec dolphin
#bindsym XF86Launch8
#bindsym XF86Launch9
bindsym XF86HomePage exec chromium-browser
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
mode dock
position top
workspace_buttons yes
status_command sh ~/.config/i3/status.sh
tray_output none
font -*-terminus-medium-r-*-*-12-*-*-*-*-*-iso10646-*
colors {
background #1f1f1f
statusline #605c5a
# item border bg fg
focused_workspace #101010 #101010 #51df1d
active_workspace #3300FF #101010 #101010
inactive_workspace #222222 #222222 #A0A0A0
urgent_workspace #2e3436 #9a878f
}
}