This commit is contained in:
chocolatemintychip 2026-05-17 13:17:57 -04:00 committed by GitHub
commit ea29369672
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 68 additions and 5 deletions

View file

@ -621,6 +621,7 @@ extending outward from the snapped edge.
- 'close': close
- 'shade': shade toggle
- 'desk': all-desktops toggle
- 'ontop': always-on-top toggle
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
@ -900,6 +901,8 @@ input-devices by the Wayland protocol.
- Shade: A button that, by default, toggles window shading.
- AllDesktops: A button that, by default, toggles omnipresence of a
window.
- OnTop: A button that, by default, toggles always-on-top state of a
window.
- Close: A button that, by default, closses a window.
- Border: The window's border including Top...BRCorner below.
- 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
- desk.xbm
- desk_toggled.xbm
- ontop.xbm
- ontop_toggled.xbm
- shade.xbm
- shade_toggled.xbm
@ -506,9 +508,11 @@ over the button in question:
- menu_hover.xbm
- max_toggled_hover.xbm
- desk_hover.xbm
- desk_toggle_hover.xbm
- desk_toggled_hover.xbm
- ontop_hover.xbm
- ontop_toggled_hover.xbm
- shade_hover.xbm
- shade_toggle_hover.xbm
- shade_toggled_hover.xbm
One advantage of xbm buttons over other formats is that they change color based
on the theme. Other formats use the suffices "-active" and "-inactive" to align
@ -558,7 +562,14 @@ following icons should be added:
- desk_toggled-inactive.[png|svg]
- desk_toggled_hover-active.[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
The handle is the window edge decoration at the bottom of the window.