Automatically display the opened application names in the workspaces (using the i3 rename workspace feature).
It is important to define workspace with numbers and no initial name in the i3 config file to keep the key binding to switch workspace.
set $ws1 1
set $ws2 2
set $ws3 3
...
workspace $ws1 output DP-1-2
workspace $ws2 output DP-1-2
workspace $ws3 output DP-1-2
...
bindsym $mod+ampersand workspace number 1
bindsym $mod+eacute workspace number 2
bindsym $mod+quotedbl workspace number 3
Drop the binary somewhere and add to you i3 config file:
exec /path/to/my/goi3autowname
--debug
: debug mode
--mapf
: full path (with file name) to the goi3autowname.json
file containing a class
<>name
mapping.