docs: document always-on-top button

This commit is contained in:
chocolatemintychip 2026-04-20 02:09:48 +02:00
parent a72a6ae40f
commit 689fd9f585
2 changed files with 15 additions and 1 deletions

View file

@ -607,6 +607,7 @@ extending outward from the snapped edge.
- 'close': close - 'close': close
- 'shade': shade toggle - 'shade': shade toggle
- 'desk': all-desktops toggle - 'desk': all-desktops toggle
- 'ontop': always-on-top toggle
A colon deliminator is used to separate buttons on the left and right, A colon deliminator is used to separate buttons on the left and right,
whereas commas are used to separate items within a section. It is whereas commas are used to separate items within a section. It is
@ -886,6 +887,8 @@ input-devices by the Wayland protocol.
- Shade: A button that, by default, toggles window shading. - Shade: A button that, by default, toggles window shading.
- AllDesktops: A button that, by default, toggles omnipresence of a - AllDesktops: A button that, by default, toggles omnipresence of a
window. window.
- OnTop: A button that, by default, toggles always-on-top state of a
window.
- Close: A button that, by default, closses a window. - Close: A button that, by default, closses a window.
- Border: The window's border including Top...BRCorner below. - Border: The window's border including Top...BRCorner below.
- Top: The top edge of the window's border. - Top: The top edge of the window's border.

View file

@ -494,6 +494,8 @@ file within a particular theme. The following xbm buttons are supported:
- max_toggled.xbm - max_toggled.xbm
- desk.xbm - desk.xbm
- desk_toggled.xbm - desk_toggled.xbm
- ontop.xbm
- ontop_toggled.xbm
- shade.xbm - shade.xbm
- shade_toggled.xbm - shade_toggled.xbm
@ -507,6 +509,8 @@ over the button in question:
- max_toggled_hover.xbm - max_toggled_hover.xbm
- desk_hover.xbm - desk_hover.xbm
- desk_toggle_hover.xbm - desk_toggle_hover.xbm
- ontop_hover.xbm
- ontop_toggle_hover.xbm
- shade_hover.xbm - shade_hover.xbm
- shade_toggle_hover.xbm - shade_toggle_hover.xbm
@ -558,7 +562,14 @@ following icons should be added:
- desk_toggled-inactive.[png|svg] - desk_toggled-inactive.[png|svg]
- desk_toggled_hover-active.[png|svg] - desk_toggled_hover-active.[png|svg]
- desk_toggled_hover-inactive.[png|svg] - desk_toggled_hover-inactive.[png|svg]
- ontop-active.[png|svg]
- ontop_hover-active.[png|svg]
- ontop_hover-inactive.[png|svg]
- ontop-inactive.[png|svg]
- ontop_toggled-active.[png|svg]
- ontop_toggled-inactive.[png|svg]
- ontop_toggled_hover-active.[png|svg]
- ontop_toggled_hover-inactive.[png|svg]
# DEFINITIONS # DEFINITIONS
The handle is the window edge decoration at the bottom of the window. The handle is the window edge decoration at the bottom of the window.