I recently have been modifying my configuration for i3wm, mostly focusing on how windows are displayed. I have found a few apps that I prefer when they work in a more free-form environment of a floating windows, not when they are forced to a grid. This is fine, but unfortunately defining the for_window clauses has always been a pain for me, and it didn’t get easier with the time. So I decided to automate it. The script I wrote is very simple; you run it, click on a window and bam - you have your for_window clause ready ;)

Tags: english technical programming shell bash i3wm i3-scripts

Posted on: 2021-07-21, last edited on: 2021-08-08, written by: Kavelach