home · contact · privacy
Enhance Bookworm setup.
[config] / bookworm / home_files / user / .config / i3 / config
1 # plomlompom's i3-wm configuration
2
3 # Font for i3 text
4 font pango:Terminus 8px
5
6 # Force "tabbed" as default layout for new windows.
7 workspace_layout              tabbed
8
9 # Make the Windows key the modifier key for all i3-wm actions.
10 set                           $mod Mod4
11 floating_modifier             $mod
12
13 # Launch xterm.
14 bindsym $mod+Return           exec xterm
15
16 # Launch programs via dmenu.
17 bindsym $mod+d                exec dmenu_run
18 bindsym $mod+x                exec dmenu_run
19
20 # Kill window.
21 bindsym $mod+Shift+Q          kill
22
23 # Move focus between windows.
24 bindsym $mod+Left             focus left
25 bindsym $mod+Down             focus down
26 bindsym $mod+Up               focus up
27 bindsym $mod+Right            focus right
28
29 # Don't move focus with mouse.
30 focus_follows_mouse           no
31
32 # Move windows.
33 bindsym $mod+Shift+Left       move left
34 bindsym $mod+Shift+Down       move down
35 bindsym $mod+Shift+Up         move up
36 bindsym $mod+Shift+Right      move right
37
38 # Resize windows
39 bindsym $mod+h                resize shrink width 1 px or 1 ppt
40 bindsym $mod+l                resize grow width 1 px or 1 ppt
41 bindsym $mod+j                resize shrink height
42 bindsym $mod+k                resize grow height
43
44 # Toggle fullscreen for focused window.
45 bindsym $mod+f                fullscreen
46
47 # Toggle floating of window, focus on floating or tabbed windows.
48 bindsym $mod+Shift+space      floating toggle
49 bindsym $mod+space            focus mode_toggle
50
51 # Switch to workspace x.
52 bindsym $mod+1                workspace 1
53 bindsym $mod+2                workspace 2
54 bindsym $mod+3                workspace 3
55 bindsym $mod+4                workspace 4
56 bindsym $mod+5                workspace 5
57 bindsym $mod+6                workspace 6
58 bindsym $mod+7                workspace 7
59 bindsym $mod+8                workspace 8
60 bindsym $mod+9                workspace 9
61 bindsym $mod+0                workspace 10
62
63 # Move window to workspace x.
64 bindsym $mod+Shift+exclam     move workspace 1
65 bindsym $mod+Shift+quotedbl   move workspace 2
66 bindsym $mod+Shift+section    move workspace 3
67 bindsym $mod+Shift+dollar     move workspace 4
68 bindsym $mod+Shift+percent    move workspace 5
69 bindsym $mod+Shift+ampersand  move workspace 6
70 bindsym $mod+Shift+slash      move workspace 7
71 bindsym $mod+Shift+parenleft  move workspace 8
72 bindsym $mod+Shift+parenright move workspace 9
73 bindsym $mod+Shift+equal      move workspace 10
74
75 # Reload i3 config file, restart (keeping sesion) i3, exit i3.
76 bindsym $mod+Shift+C          reload
77 bindsym $mod+Shift+R          restart
78 bindsym $mod+Shift+P          exit
79
80 # Select "i3status" as i3 status bar, hide systray icons.
81 bar {
82   tray_output none
83   status_command i3status
84 }