File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -72,12 +72,26 @@ In true `sway` style:
72
72
73
73
### Q: Is it possible to completely remove windows' title-bars?
74
74
75
- Yes. Action ` ToggleDecoration ` , but it removes borders too.
75
+ Yes.
76
+
77
+ Action ` SetDecorations ` can be used for this. This action can be used with
78
+ key/mousebinds or with window rules like this:
79
+
80
+ ```
81
+ <windowRules>
82
+ <windowRule identifier="*">
83
+ <action name="SetDecorations" decorations="border" />
84
+ </windowRule>
85
+ </windowRules>
86
+ ```
87
+
88
+ With window rules it can be achieve more simply as in the example below, but
89
+ that will remove borders too:
76
90
77
91
```
78
- <windowRule title="*" >
79
- <action name="ToggleDecoration" />
80
- </windowRule >
92
+ <windowRules >
93
+ <windowRule identifier="*" serverDecoration="no" />
94
+ </windowRules >
81
95
```
82
96
83
97
### Q: I'd like to be able to remove the client-menu button. How can this be done?
You can’t perform that action at this time.
0 commit comments