Firefox Window automatically goes in 2nd workspace every time

Firefox Window automatically goes in 2nd workspace every time it launches. How could I change this?

in ~/.config/sway/config.d/application_defaults

comment out = put β€œ#” infront or remove from file . or change β€œ2” to number of workspace you want

# Assign workspaces
assign [app_id="firefox"] 2
for_window [app_id="firefox"] focus

assign [class="firefox"] 2
for_window [class="firefox"] focus

so it

# Assign workspaces
#assign [app_id="firefox"] 2
#for_window [app_id="firefox"] focus

#assign [class="firefox"] 2
#for_window [class="firefox"] focus

or replace firefox to application you want open on workspace 2

refresh sway to work if remember correct

    # Reload the configuration file
    bindsym $mod+Shift+c reload

EDit. :pray: Welcome to Endeavouros forum .

3 Likes

It worked thanks for the help :slightly_smiling_face:

you welcome …

Glad you issue was resolved!

Please mark @shjim’s post as the solution of the thread!

An welcome to EnOS’ community @neutrino!

:enos_flag: :handshake:t5:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.