diff options
| author | srdusr <[email protected]> | 2025-11-16 21:46:00 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2025-11-16 21:46:00 +0200 |
| commit | 354ce158575388d17ca9c58587e8cdde02332779 (patch) | |
| tree | 446232fa1d502bc4e5e2ce49a17a504bac381429 /crates/core/src/lib.rs | |
| parent | 16950c4cfc13bbffad07254f0d994d10a1a88774 (diff) | |
| download | srdwm-354ce158575388d17ca9c58587e8cdde02332779.tar.gz srdwm-354ce158575388d17ca9c58587e8cdde02332779.zip | |
Live-expose workspace.per_monitor, titlebar buttons, and desktop icons
Closes the remaining "config-file only" gaps from the AGS capability
survey. workspace.per_monitor gets srd set per_monitor <bool> - safe to
flip live since a monitor with no per-monitor override already falls
back to current_workspace regardless of mode, so nothing visually jumps
on toggle.
theme.decorations.title_bar.button_style/button_side/button_order and
general.desktop_icons/desktop_icons_all_monitors all get the same
live-set + SettingsResponse readback treatment as everything else this
session. New srdwm_core::format_button_order is parse_button_order's
exact inverse, so button_order's readback matches the same string shape
srd set itself accepts.
Diffstat (limited to 'crates/core/src/lib.rs')
| -rw-r--r-- | crates/core/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core/src/lib.rs b/crates/core/src/lib.rs index 7b728d9..ed24e78 100644 --- a/crates/core/src/lib.rs +++ b/crates/core/src/lib.rs @@ -24,7 +24,7 @@ pub use regex::Regex; pub use rules::{WindowMatch, WindowRule, WindowRuleActions}; pub use theme::{format_hex_color, parse_hex_color, ThemeConfig}; pub use window::{ - classify_menu_source, parse_button_order, ButtonOrder, GlobalMenu, MenuSource, ResizeEdge, TitlebarButton, TitlebarHit, Window, WindowId, + classify_menu_source, format_button_order, parse_button_order, ButtonOrder, GlobalMenu, MenuSource, ResizeEdge, TitlebarButton, TitlebarHit, Window, WindowId, BUTTON_CLUSTER_MARGIN, BUTTON_PITCH, RESIZE_MARGIN, TITLEBAR_HEIGHT, }; pub use workspace::{Workspace, WorkspaceId}; |