You are not logged in.
Hi,
Here I come again with another small i3bar problem.
I have assigned sublime text to $WS3, when I launch it it shows on $WS3, but $mod+3 launches another instance of $WS3 instead of opening the one with sublime.
All the other workspaces work without problem.
Here is my i3 conf file:
# ASSIGN WORKSPACE VARIABLES
set $WS1 1:[ term ]
set $WS2 2:[ web ]
set $WS3 3:[ code ]
set $WS4 4:[ pdf ]
set $WS5 5:[ media ]
set $WS6 6:[ vbox ]
# 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
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $WS1
bindsym $mod+Shift+2 move container to workspace $WS2
bindsym $mod+Shift+3 move container to workspace $WS3
bindsym $mod+Shift+4 move container to workspace $WS4
bindsym $mod+Shift+5 move container to workspace $WS5
bindsym $mod+Shift+6 move container to workspace $WS6
# Assignments
assign [class="^URxvt$"] $WS1
assign [class="^Firefox$"] $WS2
assign [class="^sublime_text$"] $WS3
assign [class="^VirtualBox$"] $WS6
assign [class="^Vlc$"] $WS5This has been driving me crazy and I'm sure it must only be some stupid mistake somewhere.
Thanks.
Last edited by k4153r (2016-01-09 16:55:16)
Offline
Do you by chance have a whitespace character before the end of line on your bindsym or assignment line for workspace 3?
Offline
Yes, indeed.
Dindn't guess it handled whitespaces in assignements.
Thank you. Solved.
Offline
No worries, I've been caught out by the same thing.
As you're using i3bar, you might want to check out the replacement for it I put together -> https://github.com/lynks--/lifebar
Offline