The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

'assign' directive messes up my workspace label system

asked 2013-05-08 15:07:37 +0000

fab gravatar image

So I have a config with workspace labels:

bindsym $mod+1 workspace 1:www
bindsym $mod+2 workspace 2:dev-www
bindsym $mod+7 workspace 3:comm
bindsym $mod+8 workspace 4:music

Now yesterday I found something very interesting: assign

assign [class="Google-chrome"] 1:www
assign [class="Chromium-browser"] 1:www
assign [class="Firefox"] 2:dev-www
assign [class="Skype"] 3:comm
assign [class="Guayadeque"] 4:music

This works fine. So I start firefox and it's opening on workspace 2:dev-www, I start chromium and it opens at 1:www, skype at 3:comm - great, I really love this.

However, assuming I am at workspace 3:comm, and chromium is running, when I now press $mod+1, a new workspace 1:www opens and I don't get to the one where chromium is running. This happens with all the other workspaces mapped with 'assign'.

This is quite annoying. Any idea how I can fix that? Maybe I don't need the bindsym if I have an assign?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-05-08 15:16:21 +0000

Michael gravatar image

Most likely trailing whitespace or some other difference in your config between those lines.

edit flag offensive delete link more

Comments

Indeed :) all those lines were having a single space at the end :)

fab gravatar imagefab ( 2013-05-08 15:26:17 +0000 )edit

Question Tools

Stats

Asked: 2013-05-08 15:07:37 +0000

Seen: 601 times

Last updated: May 08 '13