I3 configuration
Remove disgusting gaps
gaps inner 0
windows
To name a window:
set $terms "1: terms"
assigning applications to windows
assign [class="firefox" instance="Navigator"] → $web
To discover the class and instance of the application run: xprop | grep WM_CLASS
and click the application.
Example: WM_CLASS(STRING) = "Navigator", "firefox"
(First is instance, second is class)
Opening a blank container to prevent apps taking full screen
bindsym $mod+m exec --no-startup-id /usr/bin/i3 open
Opening all rust applications from the commandline in a floating window on the left 50%
Make sure to start all apps with the prefix_
in the cargo.toml
for_window [class="prefix_[.]*"] floating enable, resize set 1920 2160, move position 0 0
and to focus between floating window and editor:
bindsym $mod+Shift+m focus mode_toggle