[Solved] Unable To Open Application In A Certain Workspace

I assign my workspaces variables and also assigned specific applications a class using xprop.

When I do this, the apps don't open in specific workspaces.

set $ws1 "1: Browsers"
set $ws2 "2: Terminals"
set $ws3 "3: Communication"
set $ws4 "4: Gaming"
set $ws5 "5: Music"
set $ws6 "6: Recording"
set $ws7 "7: Others"
set $ws8 "8: Others"

switch to workspace

bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8

Move focused container to workspace

bindsym $mod+Ctrl+1 move container to workspace $ws1
bindsym $mod+Ctrl+2 move container to workspace $ws2
bindsym $mod+Ctrl+3 move container to workspace $ws3
bindsym $mod+Ctrl+4 move container to workspace $ws4
bindsym $mod+Ctrl+5 move container to workspace $ws5
bindsym $mod+Ctrl+6 move container to workspace $ws6
bindsym $mod+Ctrl+7 move container to workspace $ws7
bindsym $mod+Ctrl+8 move container to workspace $ws8

Move to workspace with focused container

bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8

Open applications on specific workspaces

assign [class="Thunderbird"] $ws1

assign [class="Pale moon"] $ws2

assign [class="Pcmanfm"] $ws3

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

Forum kindly sponsored by