-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig
More file actions
366 lines (298 loc) · 11.8 KB
/
config
File metadata and controls
366 lines (298 loc) · 11.8 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
set $mod Mod4
# set $terminal xterm
# default layout: tabbed
# workspace_layout tabbed
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. ISO 10646 = Unicode
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, if you need a lot of unicode glyphs or
# right-to-left text rendering, you should instead use pango for rendering and
# chose a FreeType font, such as:
font pango:Ubuntu 10
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec i3-sensible-terminal
# bindsym $mod+Return exec xterm
# kill focused window
bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id dmenu_run
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# start rofi
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --dmenu='rofi -dmenu -i'
bindsym $mod+Tab exec --no-startup-id rofi -show window
# change focus
# bindsym $mod+l focus left
# bindsym $mod+odiaeresis focus down
# bindsym $mod+p focus up
# bindsym $mod+adiaeresis focus right
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+odiaeresis focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
# bindsym $mod+Shift+l move left
# bindsym $mod+Shift+odiaeresis move down
# bindsym $mod+Shift+p move up
# bindsym $mod+Shift+adiaeresis move right
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+odiaeresis move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+h split h
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
bindsym $mod+q layout default
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# focus the child container
bindsym $mod+y focus child
# Focus last floating/tiling container
bindsym $mod+g focus mode_toggle
# next/previous workspace
# bindsym Mod1+Tab focus right
# bindsym Mod1+Shift+Tab focus left
# bindsym $mod+Tab workspace back_and_forth
# definition of workspace names and icons
# https://github.com/FortAwesome/Font-Awesome/releases into ~/.fonts
set $workspace1 "1 "
set $workspace2 "2 "
set $workspace3 "3 "
set $workspace4 "4 "
set $workspace5 "5 "
set $workspace6 "6 "
set $workspace7 "7 "
set $workspace8 "8 "
set $workspace9 "9 "
set $workspace10 "10 "
# switch to workspace
bindsym $mod+1 workspace $workspace1
bindsym $mod+2 workspace $workspace2
bindsym $mod+3 workspace $workspace3
bindsym $mod+4 workspace $workspace4
bindsym $mod+5 workspace $workspace5
bindsym $mod+6 workspace $workspace6
bindsym $mod+7 workspace $workspace7
bindsym $mod+8 workspace $workspace8
bindsym $mod+9 workspace $workspace9
bindsym $mod+0 workspace $workspace10
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $workspace1
bindsym $mod+Shift+2 move container to workspace $workspace2
bindsym $mod+Shift+3 move container to workspace $workspace3
bindsym $mod+Shift+4 move container to workspace $workspace4
bindsym $mod+Shift+5 move container to workspace $workspace5
bindsym $mod+Shift+6 move container to workspace $workspace6
bindsym $mod+Shift+7 move container to workspace $workspace7
bindsym $mod+Shift+8 move container to workspace $workspace8
bindsym $mod+Shift+9 move container to workspace $workspace9
bindsym $mod+Shift+0 move container to workspace $workspace10
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the window’s width.
# Pressing right will grow the window’s width.
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
# bindsym l resize shrink width 10 px or 10 ppt
# bindsym odiaeresis resize grow height 10 px or 10 ppt
# bindsym p resize shrink height 10 px or 10 ppt
# bindsym adiaeresis resize grow width 10 px or 10 ppt
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym odiaeresis resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
#bindsym $mod+q exec "~/src/emacs-24.3.92/src/emacs"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
font pango:Ubuntu 10, FontAwesome 10
status_command i3status -c ~/.config/i3/i3status.conf
# status_command i3blocks -c ~/.i3/i3blocks.conf
}
# Anpassungen Axel
# http://hndr.me/blog/making-my-new-linux-less-ugly/
client.focused #3F8AC2 #096BAA #00BAA7 #00DA8E
client.focused_inactive #333333 #5F676A #ffffff #484e50
client.unfocused #333333 #424242 #888888 #292d2e
client.urgent #C10004 #900000 #ffffff #900000
# bar {
# position top
# status_command i3status
# tray_output LVDS
# colors{
# background #232323
# statusline #DCDCDC
# }
# }
# Workspaces
workspace $workspace9 output LVDS1
workspace $workspace1 output HDMI2
workspace $workspace2 output HDMI3
# workspace $workspace3 output VGA1
# workspace $workspace4 output VGA1
#
# Volume Control
#
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +2% && killall -SIGUSR1 i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -2% && killall -SIGUSR1 i3status
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
#
# Background Image
#
# exec --no-startup-id xsetroot -solid "#1b1b1b"
exec --no-startup-id hsetroot -solid "#1b1b1b"
#
# marco compositor
#
# exec --no-startup-id mate-settings-daemon
#
# Passphrases and Co.
#
# exec --no-startup-id gnome-keyring-daemon
# Sicherheitsdienst
# GNOME-Schlüsselbunddienst: Sicherheitsdienst
# exec --no-startup-id "/usr/bin/gnome-keyring-daemon --start --components=secrets"
# SSH-Schlüsselagent
# GNOME-Schlüsselbunddienst: SSH-Agent
# exec --no-startup-id "/usr/bin/gnome-keyring-daemon --start --components=ssh"
# Zertifikat-/Schlüsselverwahrung
# GNOME-Schlüsselbunddienst: PKCS#11-Komponente
# exec --no-startup-id "/usr/bin/gnome-keyring-daemon --start --components=pkcs11"
#
# Play with compton
# exec --no-startup-id "compton --backend glx --paint-on-overlay --vsync opengl-swc"
# exec --no-startup-id compton --config ~/.config/compton.conf
exec --no-startup-id compton --config ~/.config/i3/compton/compton_airblader.conf
#
# Lock and Suspend and Exit
# uses i3exit.sh
# https://faq.i3wm.org/question/239/how-do-i-suspendlockscreen-and-logout/
#
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (Shift+r) reboot, (Shift+s) shutdown
mode "$mode_system" {
bindsym l exec --no-startup-id ~/.config/i3/i3exit.sh lock, mode "default"
bindsym e exec --no-startup-id ~/.config/i3/i3exit.sh logout, mode "default"
bindsym s exec --no-startup-id ~/.config/i3/i3exit.sh suspend, mode "default"
bindsym h exec --no-startup-id ~/.config/i3/i3exit.sh hibernate, mode "default"
bindsym Shift+r exec --no-startup-id ~/.config/i3/i3exit.sh reboot, mode "default"
bindsym Shift+s exec --no-startup-id ~/.config/i3/i3exit.sh shutdown, mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+Shift+e mode "$mode_system"
# exit i3 (logs you out of your X session)
# bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# Scratchpad
# Make the currently focused window a scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the first scratchpad window
bindsym $mod+minus scratchpad show
#
# synapse test
#
bindsym $mod+Shift+d exec --no-startup-id synapse
#
# Volume Control Tray: pasystray
#
exec --no-startup-id pasystray
#
# Network Manager Applet
#
exec --no-startup-id nm-applet
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# By default windows has 1 pixel border, so it’s difficult to resize them
# with mouse. With this option, you can move windows with modifier + left
# click and resize with modifier + right click.
#
# Spotify hack
# https://community.spotify.com/t5/Help-Desktop-Linux-Windows-Web/Spotify-linux-preview-troubles-in-i3/td-p/596494
#
# for_window [class="Spotify"] floating enable
# assign [class="Spotify"] $workspace10
for_window [class="Spotify"] move to workspace $workspace10
for_window [class="Qjackctl"] move to workspace $workspace10
for_window [class="Qjackctl"] floating enable
for_window [class="doublecommander"] floating enable
#
# https://www.reddit.com/r/i3wm/comments/62epdo/how_can_i_launch_dialog_windows_in_floating_mode/
#
for_window [window_role="pop-up"] floating enable
for_window [window_role="bubble"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [window_role="Preferences"] floating enable
for_window [window_type="dialog"] floating enable
for_window [window_type="menu"] floating enable
for_window [title=".*Kopiere.*"] floating enable
for_window [title=".*Bewege.*"] floating enable
for_window [title="Unpack.*"] floating enable
for_window [title="Testing Archive"] floating enable
for_window [title="Open Database -.*"] floating enable
for_window [title=".* KeePass Password Safe"] floating enable
for_window [title="Unlock Login .*"] floating enable
# Autostart
# exec calc
# exec_always --no-startup-id feh --bg-fill /home/aschaefer/Bilder/Sulphur-Aeon-Gateway-To-The-Antisphere-gatefold-double-vinyl-lavish-edition_2485-1.jpg
# Autolock
# bindsym $mod+l exec "i3lock -c 1b1b1b"
exec --no-startup-id xautolock -time 10 -locker 'i3lock -c 1b1b1b' &
# Maus
exec --no-startup-id xset m 8/0 1
# Scratchpad
# Make the currently focused window a scratchpad
# bindsym $mod+Shift+minus move scratchpad
# Show the first scratchpad window
# bindsym $mod+minus scratchpad show
# Show the sup-mail scratchpad window, if any.
# bindsym mod4+s [title="^Sup ::"] scratchpad show