Answer the question
In order to leave comments, you need to log in
How can an application get focus on startup in the i3 window manager?
Good afternoon.
I registered in the settings that applications run on certain desktops.
assign [class="smplayer"] $workspace1
assign [class="Code"] $workspace2
assign [class="Cherrytree"] $workspace4
assign [class="qbittorrent"] $workspace5
bindsym $mod+g exec google-chrome
bindsym $mod+Shift+v exec code
bindsym $mod+Shift+s exec smplayer
focus_on_window_activation urgent
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question