Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
ActionTypes.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 fuddlesworth
2// SPDX-License-Identifier: LGPL-2.1-or-later
3
4#pragma once
5
6#include <QLatin1StringView>
7
8// Canonical wire strings for the built-in action TYPES, split out of
9// RuleAction.h purely for file size — that header keeps the structural
10// machinery (RuleAction, ParamSchema, ActionDescriptor, ActionRegistry, the
11// Tag vocabulary) and includes this one, so every existing consumer of
12// `PhosphorRules/RuleAction.h` keeps compiling unchanged and no include
13// anywhere needs updating. Include this header directly only when a
14// translation unit wants the type ids alone.
15//
16// The companion splits are ActionParams.h (param keys, validation bounds and
17// the closed token vocabularies) and ActionSlots.h (slot ids).
18
19namespace PhosphorRules {
20
21// ── Built-in action type ids — canonical wire strings ──
22namespace ActionType {
23inline constexpr QLatin1StringView SetEngineMode{"setEngineMode"};
24inline constexpr QLatin1StringView SetSnappingLayout{"setSnappingLayout"};
25inline constexpr QLatin1StringView SetTilingAlgorithm{"setTilingAlgorithm"};
33inline constexpr QLatin1StringView SetScrollingTemplate{"setScrollingTemplate"};
34inline constexpr QLatin1StringView DisableEngine{"disableEngine"};
41inline constexpr QLatin1StringView LockContext{"lockContext"};
54inline constexpr QLatin1StringView DefaultLayoutAssignment{"defaultLayoutAssignment"};
62inline constexpr QLatin1StringView SetOsdEnabled{"setOsdEnabled"};
78inline constexpr QLatin1StringView SetDragSelectorEnabled{"setDragSelectorEnabled"};
79inline constexpr QLatin1StringView Exclude{"exclude"};
98inline constexpr QLatin1StringView ExcludePlacement{"excludePlacement"};
99inline constexpr QLatin1StringView Float{"float"};
110inline constexpr QLatin1StringView SnapToZone{"snapToZone"};
119inline constexpr QLatin1StringView RouteToScreen{"routeToScreen"};
124inline constexpr QLatin1StringView RouteToDesktop{"routeToDesktop"};
147inline constexpr QLatin1StringView RouteToWorkspace{"routeToWorkspace"};
148inline constexpr QLatin1StringView OverrideAnimationShader{"overrideAnimationShader"};
160inline constexpr QLatin1StringView OverrideDecorationChain{"overrideDecorationChain"};
161inline constexpr QLatin1StringView OverrideAnimationTiming{"overrideAnimationTiming"};
167inline constexpr QLatin1StringView OverrideAnimationCurve{"overrideAnimationCurve"};
168inline constexpr QLatin1StringView SetOpacity{"setOpacity"};
180inline constexpr QLatin1StringView OverrideOverlayShader{"overrideOverlayShader"};
181inline constexpr QLatin1StringView OverrideOverlayStyle{"overrideOverlayStyle"};
195inline constexpr QLatin1StringView SetOverlayHighlightColor{"setOverlayHighlightColor"};
196inline constexpr QLatin1StringView SetOverlayInactiveColor{"setOverlayInactiveColor"};
197inline constexpr QLatin1StringView SetOverlayBorderColor{"setOverlayBorderColor"};
198inline constexpr QLatin1StringView SetOverlayActiveOpacity{"setOverlayActiveOpacity"};
199inline constexpr QLatin1StringView SetOverlayInactiveOpacity{"setOverlayInactiveOpacity"};
200inline constexpr QLatin1StringView SetOverlayBorderWidth{"setOverlayBorderWidth"};
201inline constexpr QLatin1StringView SetOverlayBorderRadius{"setOverlayBorderRadius"};
202inline constexpr QLatin1StringView SetOverlayShowZoneNumbers{"setOverlayShowZoneNumbers"};
211inline constexpr QLatin1StringView ExcludeAnimations{"excludeAnimations"};
212
229inline constexpr QLatin1StringView ExcludeDecorations{"excludeDecorations"};
230
241inline constexpr QLatin1StringView RestorePosition{"restorePosition"};
242
249inline constexpr QLatin1StringView SetRestoreToZoneOnLogin{"setRestoreToZoneOnLogin"};
250
256inline constexpr QLatin1StringView SetRestoreSizeOnUnsnap{"setRestoreSizeOnUnsnap"};
257
266inline constexpr QLatin1StringView SetUnfloatFallbackToZone{"setUnfloatFallbackToZone"};
267
278inline constexpr QLatin1StringView SetWindowLayer{"setWindowLayer"};
279
280// ── Per-window border / title-bar appearance overrides (domain Window) ──
281// Effect-side per-window overrides of the global snap appearance. Each is its
282// own slot so independent rules cascade per-property (a width rule and a
283// colour rule on separate rules both apply). Applied to ANY matched window
284// (snapped or floating), mirroring SetOpacity.
285inline constexpr QLatin1StringView SetHideTitleBar{"setHideTitleBar"};
286inline constexpr QLatin1StringView SetBorderVisible{"setBorderVisible"};
287inline constexpr QLatin1StringView SetBorderWidth{"setBorderWidth"};
288inline constexpr QLatin1StringView SetBorderRadius{"setBorderRadius"};
289// Two single-colour border actions, one per focus state, each its own slot so
290// independent rules cascade per-state. Each carries a single colour param
291// (`ActionParam::Value`): a hex string OR the `BorderColorToken::Accent`
292// sentinel. The effect's updateWindowDecoration reads the focused colour from
293// SetBorderColorActive and the unfocused colour from SetBorderColorInactive;
294// when the inactive action is absent the active colour is mirrored. The
295// internal active/inactive naming matches KWin and the effect's
296// activeColor/inactiveColor; the user-facing labels say focused/unfocused.
297inline constexpr QLatin1StringView SetBorderColorActive{"setBorderColorActive"};
298inline constexpr QLatin1StringView SetBorderColorInactive{"setBorderColorInactive"};
299
300// ── Per-window opacity+tint layer overrides (domain Window) ──
301// Effect-side per-window overrides of the plain opacity+tint layer, folded
302// into the reserved "opacity-tint" surface pack exactly like the SetBorder*
303// family feeds the "border" pack (each its own slot so independent rules
304// cascade per-property). The layer's opacity keeps the existing `SetOpacity`
305// slot and is layer-backed, full stop: when the layer renders, its value
306// folds into the pack's opacity param (rule wins over the config value).
307// Custom chains do not honour it — packs dim through their own parameters
308// (frost/glass `contentOpacity`) — and neither does an undecorated window.
309// SetTintColor carries a single colour param (`ActionParam::Value`): a hex
310// string OR the `BorderColorToken::Accent` sentinel, resolved to the live
311// system accent like the border colours.
312inline constexpr QLatin1StringView SetOpacityTintVisible{"setOpacityTintVisible"};
313inline constexpr QLatin1StringView SetTintStrength{"setTintStrength"};
314inline constexpr QLatin1StringView SetTintColor{"setTintColor"};
315
316// ── Per-context gap overrides (domain Context) ──
317// Resolved daemon-side at zone-geometry time as the highest-precedence gap
318// layer (rule > per-screen > layout > global). Match on screen / desktop /
319// activity; per-property to mirror the PerScreenKeys gap set.
320inline constexpr QLatin1StringView SetInnerGap{"setInnerGap"};
321inline constexpr QLatin1StringView SetOuterGap{"setOuterGap"};
322inline constexpr QLatin1StringView SetUsePerSideOuterGap{"setUsePerSideOuterGap"};
323inline constexpr QLatin1StringView SetOuterGapTop{"setOuterGapTop"};
324inline constexpr QLatin1StringView SetOuterGapBottom{"setOuterGapBottom"};
325inline constexpr QLatin1StringView SetOuterGapLeft{"setOuterGapLeft"};
326inline constexpr QLatin1StringView SetOuterGapRight{"setOuterGapRight"};
327
328// ── Per-context autotile parameter overrides (domain Context) ──
329// Override the global (or per-screen config) tiling parameters for the matched
330// screen / desktop / activity. Layered ON TOP of config by the daemon when it
331// builds the per-screen autotile override map (config stays authoritative; the
332// rule wins where present). Each carries a single numeric `value`.
333inline constexpr QLatin1StringView SetMaxWindows{"setMaxWindows"};
334inline constexpr QLatin1StringView SetSplitRatio{"setSplitRatio"};
335inline constexpr QLatin1StringView SetMasterCount{"setMasterCount"};
339inline constexpr QLatin1StringView SetInsertPosition{"setInsertPosition"};
343inline constexpr QLatin1StringView SetOverflowBehavior{"setOverflowBehavior"};
348inline constexpr QLatin1StringView SetDragBehavior{"setDragBehavior"};
355inline constexpr QLatin1StringView SetAlgorithmParam{"setAlgorithmParam"};
356
357// ── Per-context scrolling parameter overrides (domain Context) ──
358// Override the global (or per-screen config) scrolling-engine parameters for the
359// matched screen / desktop / activity, the same way the autotile family above
360// overrides the tiling params. Each carries a single `value`.
364inline constexpr QLatin1StringView SetScrollDefaultColumnWidth{"setScrollDefaultColumnWidth"};
367inline constexpr QLatin1StringView SetCenterFocusedColumn{"setCenterFocusedColumn"};
370inline constexpr QLatin1StringView SetScrollDefaultColumnDisplay{"setScrollDefaultColumnDisplay"};
373inline constexpr QLatin1StringView SetScrollInsertPosition{"setScrollInsertPosition"};
377inline constexpr QLatin1StringView SetScrollDefaultWindowHeight{"setScrollDefaultWindowHeight"};
381inline constexpr QLatin1StringView SetScrollAlwaysCenterSingleColumn{"setScrollAlwaysCenterSingleColumn"};
386inline constexpr QLatin1StringView SetScrollCenterShortColumns{"setScrollCenterShortColumns"};
390inline constexpr QLatin1StringView SetScrollRespectMinimumSize{"setScrollRespectMinimumSize"};
396inline constexpr QLatin1StringView SetScrollCropStraddlers{"setScrollCropStraddlers"};
400inline constexpr QLatin1StringView SetScrollFocusNewWindows{"setScrollFocusNewWindows"};
405inline constexpr QLatin1StringView SetScrollSmartGaps{"setScrollSmartGaps"};
413inline constexpr QLatin1StringView SetScrollFocusFollowsMouse{"setScrollFocusFollowsMouse"};
418inline constexpr QLatin1StringView SetScrollFocusFollowsMouseMaxScroll{"setScrollFocusFollowsMouseMaxScroll"};
423inline constexpr QLatin1StringView SetScrollStickyWindowHandling{"setScrollStickyWindowHandling"};
431inline constexpr QLatin1StringView SetScrollStripAxis{"setScrollStripAxis"};
432
433// ── Per-context tab-indicator overrides (domain Context) ──
434// niri's `tab-indicator` layout block, one action per property so independent
435// context rules cascade per-property (a layout rule can set the position while
436// a theme rule sets the colours, and neither clobbers the other). The GEOMETRY
437// half reaches the scrolling engine through its per-screen override map; the
438// PAINT half never reaches that engine at all — the daemon pushes it to the
439// KWin effect through TilingAdaptor::setScrollTabPaintOverrides, and the
440// effect draws the indicator from it. That is the split IScrollSettings
441// documents.
443inline constexpr QLatin1StringView SetTabIndicatorEnabled{"setTabIndicatorEnabled"};
446inline constexpr QLatin1StringView SetTabIndicatorStyle{"setTabIndicatorStyle"};
449inline constexpr QLatin1StringView SetTabIndicatorPosition{"setTabIndicatorPosition"};
451inline constexpr QLatin1StringView SetTabIndicatorHideWhenSingleTab{"setTabIndicatorHideWhenSingleTab"};
454inline constexpr QLatin1StringView SetTabIndicatorPlaceWithinColumn{"setTabIndicatorPlaceWithinColumn"};
458inline constexpr QLatin1StringView SetTabIndicatorGap{"setTabIndicatorGap"};
460inline constexpr QLatin1StringView SetTabIndicatorWidth{"setTabIndicatorWidth"};
463inline constexpr QLatin1StringView SetTabIndicatorLength{"setTabIndicatorLength"};
465inline constexpr QLatin1StringView SetTabIndicatorGapsBetweenTabs{"setTabIndicatorGapsBetweenTabs"};
468inline constexpr QLatin1StringView SetTabIndicatorCornerRadius{"setTabIndicatorCornerRadius"};
470inline constexpr QLatin1StringView SetTabIndicatorActiveColor{"setTabIndicatorActiveColor"};
471inline constexpr QLatin1StringView SetTabIndicatorInactiveColor{"setTabIndicatorInactiveColor"};
472inline constexpr QLatin1StringView SetTabIndicatorUrgentColor{"setTabIndicatorUrgentColor"};
476inline constexpr QLatin1StringView SetTabIndicatorFontFamily{"setTabIndicatorFontFamily"};
479inline constexpr QLatin1StringView SetTabIndicatorFontWeight{"setTabIndicatorFontWeight"};
485inline constexpr QLatin1StringView SetTabIndicatorFontItalic{"setTabIndicatorFontItalic"};
486inline constexpr QLatin1StringView SetTabIndicatorFontUnderline{"setTabIndicatorFontUnderline"};
487inline constexpr QLatin1StringView SetTabIndicatorFontStrikeout{"setTabIndicatorFontStrikeout"};
488
489// ── Per-context drop-indicator overrides (domain Context) ──
490// The drop-target highlight painted while a drag re-insert is armed. Context
491// domain rather than Window for the same reason as the tab indicator's bulk:
492// the indicator describes an empty SLOT on a screen, not a window, so a rule
493// that matches a window has no referent for it. Every one of these is PAINT —
494// unlike the tab indicator there is no geometry half, because the rect comes
495// from the engine's own layout math and cannot be positioned independently of
496// where the drop lands. They are therefore collected daemon-side and handed
497// straight to the overlay, never through the engine's per-screen override map.
499inline constexpr QLatin1StringView SetDropIndicatorEnabled{"setDropIndicatorEnabled"};
503inline constexpr QLatin1StringView SetDropIndicatorColor{"setDropIndicatorColor"};
504inline constexpr QLatin1StringView SetDropIndicatorBorderColor{"setDropIndicatorBorderColor"};
508inline constexpr QLatin1StringView SetDropIndicatorOpacity{"setDropIndicatorOpacity"};
511inline constexpr QLatin1StringView SetDropIndicatorBorderWidth{"setDropIndicatorBorderWidth"};
514inline constexpr QLatin1StringView SetDropIndicatorBorderRadius{"setDropIndicatorBorderRadius"};
515
516// ── Per-window scrolling open overrides (domain Window) ──
517// Read on the open path for the matched window, layered over the context /
518// config defaults above, so one application can open wide or tabbed without
519// changing the engine's defaults.
524inline constexpr QLatin1StringView OpenColumnWidth{"openColumnWidth"};
526inline constexpr QLatin1StringView OpenTabbed{"openTabbed"};
531inline constexpr QLatin1StringView TabColorActive{"tabColorActive"};
532inline constexpr QLatin1StringView TabColorInactive{"tabColorInactive"};
533inline constexpr QLatin1StringView TabColorUrgent{"tabColorUrgent"};
543inline constexpr QLatin1StringView DropIndicatorColor{"dropIndicatorColor"};
544inline constexpr QLatin1StringView DropIndicatorBorderColor{"dropIndicatorBorderColor"};
547inline constexpr QLatin1StringView OpenColumnPlacement{"openColumnPlacement"};
552inline constexpr QLatin1StringView OpenWindowHeight{"openWindowHeight"};
559inline constexpr QLatin1StringView OpenMaximized{"openMaximized"};
566inline constexpr QLatin1StringView OpenFocused{"openFocused"};
586inline constexpr QLatin1StringView OpenTabGroup{"openTabGroup"};
597inline constexpr QLatin1StringView OpenFullscreen{"openFullscreen"};
610inline constexpr QLatin1StringView ScrollFactor{"scrollFactor"};
611} // namespace ActionType
612
613} // namespace PhosphorRules
Definition ActionTypes.h:22
constexpr QLatin1StringView SetDropIndicatorBorderColor
Definition ActionTypes.h:504
constexpr QLatin1StringView ExcludePlacement
Exclude a matched window from the placement engines ONLY — snapping, autotile and scrolling all treat...
Definition ActionTypes.h:98
constexpr QLatin1StringView SetScrollFocusFollowsMouse
Whether moving the pointer over a column focuses it on the matched context.
Definition ActionTypes.h:413
constexpr QLatin1StringView RouteToScreen
Route a matched window to a specific monitor on open.
Definition ActionTypes.h:119
constexpr QLatin1StringView SetSnappingLayout
Definition ActionTypes.h:24
constexpr QLatin1StringView DropIndicatorColor
Per-window drop-indicator colours, keyed on the DRAGGED window.
Definition ActionTypes.h:543
constexpr QLatin1StringView SetDropIndicatorBorderWidth
Border thickness in px.
Definition ActionTypes.h:511
constexpr QLatin1StringView SetScrollAlwaysCenterSingleColumn
Whether a lone column centres on the strip regardless of the centering policy.
Definition ActionTypes.h:381
constexpr QLatin1StringView OverrideOverlayShader
Context-domain override of one node of the zone-overlay shader tree, the overlay analogue of Override...
Definition ActionTypes.h:180
constexpr QLatin1StringView SetDragSelectorEnabled
Per-context override of the drag selector popup — the edge-triggered zone / strip picker offered whil...
Definition ActionTypes.h:78
constexpr QLatin1StringView LockContext
Lock the active layout for the matched screen/desktop/activity context so it can't be switched — the ...
Definition ActionTypes.h:41
constexpr QLatin1StringView OpenWindowHeight
Height the opening window takes inside its column, as a fraction of the work-area height.
Definition ActionTypes.h:552
constexpr QLatin1StringView OpenTabGroup
Open the window as a tab of a NAMED group.
Definition ActionTypes.h:586
constexpr QLatin1StringView SetScrollDefaultColumnDisplay
How a newly-opened column displays its windows: side by side, or stacked as tabs.
Definition ActionTypes.h:370
constexpr QLatin1StringView SetRestoreSizeOnUnsnap
Per-window override for the "restore original size when unsnapped" setting.
Definition ActionTypes.h:256
constexpr QLatin1StringView SetOuterGapTop
Definition ActionTypes.h:323
constexpr QLatin1StringView OverrideOverlayStyle
Definition ActionTypes.h:181
constexpr QLatin1StringView SetOpacity
Definition ActionTypes.h:168
constexpr QLatin1StringView SetTabIndicatorFontUnderline
Definition ActionTypes.h:486
constexpr QLatin1StringView SetAlgorithmParam
Override an autotile algorithm's custom (Luau-declared) parameters for the matched context.
Definition ActionTypes.h:355
constexpr QLatin1StringView OpenMaximized
Whether the opening window's column starts maximized (full work-area width) — niri's open-maximized.
Definition ActionTypes.h:559
constexpr QLatin1StringView SetBorderColorActive
Definition ActionTypes.h:297
constexpr QLatin1StringView TabColorActive
Per-window tab colours — niri's tab-indicator WINDOW rule, which recolours only the matched window's ...
Definition ActionTypes.h:531
constexpr QLatin1StringView SetScrollingTemplate
Scrolling-mode template for the matched context: a NATIVE ScrollingTemplate id (its own picker kind,...
Definition ActionTypes.h:33
constexpr QLatin1StringView SetOuterGap
Definition ActionTypes.h:321
constexpr QLatin1StringView SetOpacityTintVisible
Definition ActionTypes.h:312
constexpr QLatin1StringView OpenFullscreen
Fullscreen at open — niri's open-fullscreen.
Definition ActionTypes.h:597
constexpr QLatin1StringView SetOverlayShowZoneNumbers
Definition ActionTypes.h:202
constexpr QLatin1StringView SetUnfloatFallbackToZone
Per-window override of the "unfloat falls back to a zone" setting.
Definition ActionTypes.h:266
constexpr QLatin1StringView SetOverlayBorderWidth
Definition ActionTypes.h:200
constexpr QLatin1StringView Float
Definition ActionTypes.h:99
constexpr QLatin1StringView SetOsdEnabled
Per-context override of the OSD toggles for the matched screen/desktop/ activity context.
Definition ActionTypes.h:62
constexpr QLatin1StringView SetOverlayHighlightColor
Context-domain overrides of the active layout's zone-overlay APPEARANCE — the colours,...
Definition ActionTypes.h:195
constexpr QLatin1StringView OpenColumnPlacement
Whether the opening window starts its own column or is consumed into the focused one.
Definition ActionTypes.h:547
constexpr QLatin1StringView OverrideDecorationChain
Per-window override of the decoration surface-pack chain (border-sweep / glow / frosted-glass,...
Definition ActionTypes.h:160
constexpr QLatin1StringView SetScrollStripAxis
Which way the matched context's strip runs.
Definition ActionTypes.h:431
constexpr QLatin1StringView OpenTabbed
Whether the opening window's column starts tabbed. Boolean ActionParam::Value.
Definition ActionTypes.h:526
constexpr QLatin1StringView SetOverflowBehavior
How the autotile stack handles windows beyond the max: float the overflow, or go unlimited (ignore th...
Definition ActionTypes.h:343
constexpr QLatin1StringView SetDragBehavior
How dragging a tiled window behaves: float it out, or reorder it within the stack (Krohnkite-style dr...
Definition ActionTypes.h:348
constexpr QLatin1StringView ExcludeDecorations
Disable window decorations (the border + surface-pack chain) on a matched window — the decoration mir...
Definition ActionTypes.h:229
constexpr QLatin1StringView TabColorInactive
Definition ActionTypes.h:532
constexpr QLatin1StringView SetScrollStickyWindowHandling
How the strip treats windows shown on all desktops.
Definition ActionTypes.h:423
constexpr QLatin1StringView SetTabIndicatorWidth
Indicator thickness in px. Numeric ActionParam::Value.
Definition ActionTypes.h:460
constexpr QLatin1StringView SetOverlayInactiveColor
Definition ActionTypes.h:196
constexpr QLatin1StringView ExcludeAnimations
Disable every animation override on a matched window.
Definition ActionTypes.h:211
constexpr QLatin1StringView SetTabIndicatorHideWhenSingleTab
Hide the indicator on a single-window tabbed column. Boolean ActionParam::Value.
Definition ActionTypes.h:451
constexpr QLatin1StringView SetOverlayActiveOpacity
Definition ActionTypes.h:198
constexpr QLatin1StringView OverrideAnimationTiming
Definition ActionTypes.h:161
constexpr QLatin1StringView SetScrollCenterShortColumns
Whether a column whose windows do not fill the work area is centred on the cross axis instead of hugg...
Definition ActionTypes.h:386
constexpr QLatin1StringView SetUsePerSideOuterGap
Definition ActionTypes.h:322
constexpr QLatin1StringView SetWindowLayer
Per-window stacking-layer override.
Definition ActionTypes.h:278
constexpr QLatin1StringView SetDropIndicatorColor
Fill and border colours.
Definition ActionTypes.h:503
constexpr QLatin1StringView SetScrollSmartGaps
Whether a lone column drops the outer gaps (niri's smart gaps).
Definition ActionTypes.h:405
constexpr QLatin1StringView RouteToWorkspace
Route a matched window to a NAMED dynamic workspace on open.
Definition ActionTypes.h:147
constexpr QLatin1StringView SetTintStrength
Definition ActionTypes.h:313
constexpr QLatin1StringView SetOuterGapLeft
Definition ActionTypes.h:325
constexpr QLatin1StringView SetDropIndicatorOpacity
Fill opacity, 0.0-1.0.
Definition ActionTypes.h:508
constexpr QLatin1StringView SetSplitRatio
Definition ActionTypes.h:334
constexpr QLatin1StringView SetTabIndicatorLength
Indicator length as a fraction of the column extent.
Definition ActionTypes.h:463
constexpr QLatin1StringView SetHideTitleBar
Definition ActionTypes.h:285
constexpr QLatin1StringView OpenFocused
Per-window override of the "focus new windows" scrolling setting — niri's open-focused.
Definition ActionTypes.h:566
constexpr QLatin1StringView SetTabIndicatorUrgentColor
Definition ActionTypes.h:472
constexpr QLatin1StringView SetTintColor
Definition ActionTypes.h:314
constexpr QLatin1StringView SetDropIndicatorEnabled
Whether the drop indicator is painted at all. Boolean ActionParam::Value.
Definition ActionTypes.h:499
constexpr QLatin1StringView SetOverlayInactiveOpacity
Definition ActionTypes.h:199
constexpr QLatin1StringView OverrideAnimationShader
Definition ActionTypes.h:148
constexpr QLatin1StringView DefaultLayoutAssignment
Per-context override of the global "suppress default layout assignment" setting for the matched scree...
Definition ActionTypes.h:54
constexpr QLatin1StringView OverrideAnimationCurve
Curve-only animation override — separate slot from timing so a user can override the easing/spring cu...
Definition ActionTypes.h:167
constexpr QLatin1StringView SetScrollDefaultWindowHeight
Height a newly-opened window takes inside its column, as a fraction of the work-area height (numeric ...
Definition ActionTypes.h:377
constexpr QLatin1StringView DisableEngine
Definition ActionTypes.h:34
constexpr QLatin1StringView SetBorderWidth
Definition ActionTypes.h:287
constexpr QLatin1StringView SetTabIndicatorCornerRadius
Per-tab corner radius in px.
Definition ActionTypes.h:468
constexpr QLatin1StringView SetOuterGapRight
Definition ActionTypes.h:326
constexpr QLatin1StringView SetTabIndicatorStyle
Title chips or a segment bar.
Definition ActionTypes.h:446
constexpr QLatin1StringView SetScrollFocusNewWindows
Whether a window opening on the matched context takes focus.
Definition ActionTypes.h:400
constexpr QLatin1StringView SnapToZone
Snap a matched window into one or more zones on open.
Definition ActionTypes.h:110
constexpr QLatin1StringView SetTabIndicatorGap
Gap between indicator and window in px.
Definition ActionTypes.h:458
constexpr QLatin1StringView SetRestoreToZoneOnLogin
Per-window override for the "restore snapped windows to their zone on login" setting.
Definition ActionTypes.h:249
constexpr QLatin1StringView SetTabIndicatorInactiveColor
Definition ActionTypes.h:471
constexpr QLatin1StringView SetInsertPosition
Where a newly-opened window is inserted into the autotile stack.
Definition ActionTypes.h:339
constexpr QLatin1StringView SetTabIndicatorFontFamily
Tab label font family.
Definition ActionTypes.h:476
constexpr QLatin1StringView SetMaxWindows
Definition ActionTypes.h:333
constexpr QLatin1StringView SetDropIndicatorBorderRadius
Corner radius in px.
Definition ActionTypes.h:514
constexpr QLatin1StringView RestorePosition
Per-window override for floated-position restore on login.
Definition ActionTypes.h:241
constexpr QLatin1StringView SetCenterFocusedColumn
When the scroll viewport re-centres on the focused column.
Definition ActionTypes.h:367
constexpr QLatin1StringView SetTabIndicatorPlaceWithinColumn
Reserve the indicator out of the column instead of drawing beside it.
Definition ActionTypes.h:454
constexpr QLatin1StringView SetTabIndicatorActiveColor
Tab colours. Hex ActionParam::Value, same shapes as the border colours.
Definition ActionTypes.h:470
constexpr QLatin1StringView SetMasterCount
Definition ActionTypes.h:335
constexpr QLatin1StringView DropIndicatorBorderColor
Definition ActionTypes.h:544
constexpr QLatin1StringView SetOverlayBorderRadius
Definition ActionTypes.h:201
constexpr QLatin1StringView SetBorderRadius
Definition ActionTypes.h:288
constexpr QLatin1StringView SetTilingAlgorithm
Definition ActionTypes.h:25
constexpr QLatin1StringView SetTabIndicatorFontStrikeout
Definition ActionTypes.h:487
constexpr QLatin1StringView SetScrollRespectMinimumSize
Whether the strip honours each window's declared minimum size when sizing its column.
Definition ActionTypes.h:390
constexpr QLatin1StringView SetOuterGapBottom
Definition ActionTypes.h:324
constexpr QLatin1StringView SetTabIndicatorGapsBetweenTabs
Gap between individual tabs in px. Numeric ActionParam::Value.
Definition ActionTypes.h:465
constexpr QLatin1StringView SetScrollFocusFollowsMouseMaxScroll
Numeric ActionParam::Value in [MinFocusFollowsMouseMaxScrollRatio, MaxFocusFollowsMouseMaxScrollRatio...
Definition ActionTypes.h:418
constexpr QLatin1StringView SetScrollInsertPosition
Where a fresh-opened window's new column enters the strip.
Definition ActionTypes.h:373
constexpr QLatin1StringView SetEngineMode
Definition ActionTypes.h:23
constexpr QLatin1StringView Exclude
Definition ActionTypes.h:79
constexpr QLatin1StringView SetOverlayBorderColor
Definition ActionTypes.h:197
constexpr QLatin1StringView SetScrollDefaultColumnWidth
Width a newly-opened column takes, as a fraction of the work area.
Definition ActionTypes.h:364
constexpr QLatin1StringView OpenColumnWidth
Width the opening window's column takes, as a fraction of the work area.
Definition ActionTypes.h:524
constexpr QLatin1StringView ScrollFactor
Per-window scroll-speed multiplier — niri's scroll-factor window rule.
Definition ActionTypes.h:610
constexpr QLatin1StringView SetScrollCropStraddlers
Whether a column straddling the screen edge is clipped at the boundary (its true rect is kept,...
Definition ActionTypes.h:396
constexpr QLatin1StringView SetInnerGap
Definition ActionTypes.h:320
constexpr QLatin1StringView SetTabIndicatorEnabled
Whether tabbed columns show an indicator at all. Boolean ActionParam::Value.
Definition ActionTypes.h:443
constexpr QLatin1StringView SetTabIndicatorFontWeight
Tab label font weight on the CSS scale.
Definition ActionTypes.h:479
constexpr QLatin1StringView SetTabIndicatorPosition
Which column edge the indicator runs along.
Definition ActionTypes.h:449
constexpr QLatin1StringView SetBorderVisible
Definition ActionTypes.h:286
constexpr QLatin1StringView SetBorderColorInactive
Definition ActionTypes.h:298
constexpr QLatin1StringView SetTabIndicatorFontItalic
Tab label font style flags.
Definition ActionTypes.h:485
constexpr QLatin1StringView TabColorUrgent
Definition ActionTypes.h:533
constexpr QLatin1StringView RouteToDesktop
Route a matched window to a specific virtual desktop on open.
Definition ActionTypes.h:124
Definition ActionParams.h:25