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

Disable border only for splash screens

asked 2014-09-15 05:17:31 +0000

Andrzej gravatar image

updated 2014-09-19 06:15:33 +0000

Michael gravatar image

Currently windows with _NET_WM_WINDOW_TYPE_SPLASH are considered floating. I would like to disable border for those windows, without disabling the border for other floating windows. How can I do that?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
2

answered 2014-09-15 05:40:17 +0000

Michael Rose gravatar image

updated 2014-09-19 06:16:53 +0000

Michael gravatar image

The command to change the border to a thin line around the window is border 1pixel

for_window [criteria] action runs action on all new windows that meet criteria

example for_window [window_role="^splash$"] border 1pixel may do it if not the entire list of criteria is available at

http://i3wm.org/docs/userguide.html#c...

to find out the criteria for a given window you may run xprop from the terminal and click on said window and examine the output. This will tell you what criteria you want to match on. Note ^foo means starts with foo and foo$ means ends in foo.

edit flag offensive delete link more

Comments

1

That’s a good general answer, but there is no criterion for the window type (yet), so you cannot match on the type being `_NET_WM_WINDOW_TYPE_SPLASH`. Patches for that would be accepted, though.

Michael gravatar imageMichael ( 2014-09-19 06:19:07 +0000 )edit

Question Tools

1 follower

Stats

Asked: 2014-09-15 05:17:31 +0000

Seen: 104 times

Last updated: Sep 19 '14