You are not logged in.
Hello. I'm new here, so please correct me if I do something wrong.
I am having trouble getting the for_window command to work in i3. I am using i3 version 4.10.4. I am trying to remove the border from my urxvt windows. I'm using
for_window [class="urxvt"] border normal 0but it doesn't seem to do anything. All new urxvt windows still have a border. Here is the rest of my i3 config: http://pastebin.com/fMH91TFv (It is a little messy as I am currently rewriting it)
I have also tried removing the borders with a keyboard shortcut. That works fine.
Thanks for any help.
Last edited by 2sly4you (2015-10-04 16:26:47)
Offline
Offline
Thanks, that fixed it. Also, I found that
xprop | grep -i 'class'will help you find the correct class name.
Offline
will help you find the correct class name.
You don't need grep.
xprop WM_CLASSAnd there are some more hints and examples in the i3 manual, for example about the difference between substring and exact matching:
https://i3wm.org/docs/userguide.html#_a … workspaces
https://i3wm.org/docs/userguide.html#command_criteria
Last edited by progandy (2015-10-04 16:48:02)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Oh, cool. I missed that part of the manual. Thanks!
Offline