Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
ActionTypes.h File Reference
#include <QLatin1StringView>

Go to the source code of this file.

Namespaces

namespace  PhosphorRules
namespace  PhosphorRules::ActionType

Variables

constexpr QLatin1StringView PhosphorRules::ActionType::SetEngineMode {"setEngineMode"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetSnappingLayout {"setSnappingLayout"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetTilingAlgorithm {"setTilingAlgorithm"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetScrollingTemplate {"setScrollingTemplate"}
 Scrolling-mode template for the matched context: a NATIVE ScrollingTemplate id (its own picker kind, scrollingTemplate, with its own name resolution — not a manual layout).
constexpr QLatin1StringView PhosphorRules::ActionType::DisableEngine {"disableEngine"}
constexpr QLatin1StringView PhosphorRules::ActionType::LockContext {"lockContext"}
 Lock the active layout for the matched screen/desktop/activity context so it can't be switched — the rule-driven equivalent of the manual ToggleLayoutLock shortcut.
constexpr QLatin1StringView PhosphorRules::ActionType::DefaultLayoutAssignment {"defaultLayoutAssignment"}
 Per-context override of the global "suppress default layout assignment" setting for the matched screen/desktop/activity context.
constexpr QLatin1StringView PhosphorRules::ActionType::SetOsdEnabled {"setOsdEnabled"}
 Per-context override of the OSD toggles for the matched screen/desktop/ activity context.
constexpr QLatin1StringView PhosphorRules::ActionType::SetDragSelectorEnabled {"setDragSelectorEnabled"}
 Per-context override of the drag selector popup — the edge-triggered zone / strip picker offered while a window is dragged — for the matched screen/desktop/activity context.
constexpr QLatin1StringView PhosphorRules::ActionType::Exclude {"exclude"}
constexpr QLatin1StringView PhosphorRules::ActionType::ExcludePlacement {"excludePlacement"}
 Exclude a matched window from the placement engines ONLY — snapping, autotile and scrolling all treat it as unmanaged (open path, drag gate, keyboard navigation), so it stays floating — while decorations and animations still apply.
constexpr QLatin1StringView PhosphorRules::ActionType::Float {"float"}
constexpr QLatin1StringView PhosphorRules::ActionType::SnapToZone {"snapToZone"}
 Snap a matched window into one or more zones on open.
constexpr QLatin1StringView PhosphorRules::ActionType::RouteToScreen {"routeToScreen"}
 Route a matched window to a specific monitor on open.
constexpr QLatin1StringView PhosphorRules::ActionType::RouteToDesktop {"routeToDesktop"}
 Route a matched window to a specific virtual desktop on open.
constexpr QLatin1StringView PhosphorRules::ActionType::RouteToWorkspace {"routeToWorkspace"}
 Route a matched window to a NAMED dynamic workspace on open.
constexpr QLatin1StringView PhosphorRules::ActionType::OverrideAnimationShader {"overrideAnimationShader"}
constexpr QLatin1StringView PhosphorRules::ActionType::OverrideDecorationChain {"overrideDecorationChain"}
 Per-window override of the decoration surface-pack chain (border-sweep / glow / frosted-glass, ...).
constexpr QLatin1StringView PhosphorRules::ActionType::OverrideAnimationTiming {"overrideAnimationTiming"}
constexpr QLatin1StringView PhosphorRules::ActionType::OverrideAnimationCurve {"overrideAnimationCurve"}
 Curve-only animation override — separate slot from timing so a user can override the easing/spring curve for an event without committing to a duration (and vice versa).
constexpr QLatin1StringView PhosphorRules::ActionType::SetOpacity {"setOpacity"}
constexpr QLatin1StringView PhosphorRules::ActionType::OverrideOverlayShader {"overrideOverlayShader"}
 Context-domain override of one node of the zone-overlay shader tree, the overlay analogue of OverrideAnimationShader.
constexpr QLatin1StringView PhosphorRules::ActionType::OverrideOverlayStyle {"overrideOverlayStyle"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetOverlayHighlightColor {"setOverlayHighlightColor"}
 Context-domain overrides of the active layout's zone-overlay APPEARANCE — the colours, opacities, border dimensions and zone-number visibility that the global Snapping.Zones.
constexpr QLatin1StringView PhosphorRules::ActionType::SetOverlayInactiveColor {"setOverlayInactiveColor"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetOverlayBorderColor {"setOverlayBorderColor"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetOverlayActiveOpacity {"setOverlayActiveOpacity"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetOverlayInactiveOpacity {"setOverlayInactiveOpacity"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetOverlayBorderWidth {"setOverlayBorderWidth"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetOverlayBorderRadius {"setOverlayBorderRadius"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetOverlayShowZoneNumbers {"setOverlayShowZoneNumbers"}
constexpr QLatin1StringView PhosphorRules::ActionType::ExcludeAnimations {"excludeAnimations"}
 Disable every animation override on a matched window.
constexpr QLatin1StringView PhosphorRules::ActionType::ExcludeDecorations {"excludeDecorations"}
 Disable window decorations (the border + surface-pack chain) on a matched window — the decoration mirror of ExcludeAnimations.
constexpr QLatin1StringView PhosphorRules::ActionType::RestorePosition {"restorePosition"}
 Per-window override for floated-position restore on login.
constexpr QLatin1StringView PhosphorRules::ActionType::SetRestoreToZoneOnLogin {"setRestoreToZoneOnLogin"}
 Per-window override for the "restore snapped windows to their zone on login" setting.
constexpr QLatin1StringView PhosphorRules::ActionType::SetRestoreSizeOnUnsnap {"setRestoreSizeOnUnsnap"}
 Per-window override for the "restore original size when unsnapped" setting.
constexpr QLatin1StringView PhosphorRules::ActionType::SetUnfloatFallbackToZone {"setUnfloatFallbackToZone"}
 Per-window override of the "unfloat falls back to a zone" setting.
constexpr QLatin1StringView PhosphorRules::ActionType::SetWindowLayer {"setWindowLayer"}
 Per-window stacking-layer override.
constexpr QLatin1StringView PhosphorRules::ActionType::SetHideTitleBar {"setHideTitleBar"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetBorderVisible {"setBorderVisible"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetBorderWidth {"setBorderWidth"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetBorderRadius {"setBorderRadius"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetBorderColorActive {"setBorderColorActive"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetBorderColorInactive {"setBorderColorInactive"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetOpacityTintVisible {"setOpacityTintVisible"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetTintStrength {"setTintStrength"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetTintColor {"setTintColor"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetInnerGap {"setInnerGap"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetOuterGap {"setOuterGap"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetUsePerSideOuterGap {"setUsePerSideOuterGap"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetOuterGapTop {"setOuterGapTop"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetOuterGapBottom {"setOuterGapBottom"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetOuterGapLeft {"setOuterGapLeft"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetOuterGapRight {"setOuterGapRight"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetMaxWindows {"setMaxWindows"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetSplitRatio {"setSplitRatio"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetMasterCount {"setMasterCount"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetInsertPosition {"setInsertPosition"}
 Where a newly-opened window is inserted into the autotile stack.
constexpr QLatin1StringView PhosphorRules::ActionType::SetOverflowBehavior {"setOverflowBehavior"}
 How the autotile stack handles windows beyond the max: float the overflow, or go unlimited (ignore the cap).
constexpr QLatin1StringView PhosphorRules::ActionType::SetDragBehavior {"setDragBehavior"}
 How dragging a tiled window behaves: float it out, or reorder it within the stack (Krohnkite-style drag-to-swap).
constexpr QLatin1StringView PhosphorRules::ActionType::SetAlgorithmParam {"setAlgorithmParam"}
 Override an autotile algorithm's custom (Luau-declared) parameters for the matched context.
constexpr QLatin1StringView PhosphorRules::ActionType::SetScrollDefaultColumnWidth {"setScrollDefaultColumnWidth"}
 Width a newly-opened column takes, as a fraction of the work area.
constexpr QLatin1StringView PhosphorRules::ActionType::SetCenterFocusedColumn {"setCenterFocusedColumn"}
 When the scroll viewport re-centres on the focused column.
constexpr QLatin1StringView PhosphorRules::ActionType::SetScrollDefaultColumnDisplay {"setScrollDefaultColumnDisplay"}
 How a newly-opened column displays its windows: side by side, or stacked as tabs.
constexpr QLatin1StringView PhosphorRules::ActionType::SetScrollInsertPosition {"setScrollInsertPosition"}
 Where a fresh-opened window's new column enters the strip.
constexpr QLatin1StringView PhosphorRules::ActionType::SetScrollDefaultWindowHeight {"setScrollDefaultWindowHeight"}
 Height a newly-opened window takes inside its column, as a fraction of the work-area height (numeric ActionParam::Value, edited as a percent; committed as a fixed pixel intent against the live work area).
constexpr QLatin1StringView PhosphorRules::ActionType::SetScrollAlwaysCenterSingleColumn {"setScrollAlwaysCenterSingleColumn"}
 Whether a lone column centres on the strip regardless of the centering policy.
constexpr QLatin1StringView PhosphorRules::ActionType::SetScrollCenterShortColumns {"setScrollCenterShortColumns"}
 Whether a column whose windows do not fill the work area is centred on the cross axis instead of hugging the start edge.
constexpr QLatin1StringView PhosphorRules::ActionType::SetScrollRespectMinimumSize {"setScrollRespectMinimumSize"}
 Whether the strip honours each window's declared minimum size when sizing its column.
constexpr QLatin1StringView PhosphorRules::ActionType::SetScrollCropStraddlers {"setScrollCropStraddlers"}
 Whether a column straddling the screen edge is clipped at the boundary (its true rect is kept, only the drawing is cropped).
constexpr QLatin1StringView PhosphorRules::ActionType::SetScrollFocusNewWindows {"setScrollFocusNewWindows"}
 Whether a window opening on the matched context takes focus.
constexpr QLatin1StringView PhosphorRules::ActionType::SetScrollSmartGaps {"setScrollSmartGaps"}
 Whether a lone column drops the outer gaps (niri's smart gaps).
constexpr QLatin1StringView PhosphorRules::ActionType::SetScrollFocusFollowsMouse {"setScrollFocusFollowsMouse"}
 Whether moving the pointer over a column focuses it on the matched context.
constexpr QLatin1StringView PhosphorRules::ActionType::SetScrollFocusFollowsMouseMaxScroll {"setScrollFocusFollowsMouseMaxScroll"}
 Numeric ActionParam::Value in [MinFocusFollowsMouseMaxScrollRatio, MaxFocusFollowsMouseMaxScrollRatio], the furthest focus-follows-mouse may scroll the strip to reveal the window under the pointer, as a fraction of the viewport's extent along it.
constexpr QLatin1StringView PhosphorRules::ActionType::SetScrollStickyWindowHandling {"setScrollStickyWindowHandling"}
 How the strip treats windows shown on all desktops.
constexpr QLatin1StringView PhosphorRules::ActionType::SetScrollStripAxis {"setScrollStripAxis"}
 Which way the matched context's strip runs.
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorEnabled {"setTabIndicatorEnabled"}
 Whether tabbed columns show an indicator at all. Boolean ActionParam::Value.
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorStyle {"setTabIndicatorStyle"}
 Title chips or a segment bar.
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorPosition {"setTabIndicatorPosition"}
 Which column edge the indicator runs along.
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorHideWhenSingleTab {"setTabIndicatorHideWhenSingleTab"}
 Hide the indicator on a single-window tabbed column. Boolean ActionParam::Value.
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorPlaceWithinColumn {"setTabIndicatorPlaceWithinColumn"}
 Reserve the indicator out of the column instead of drawing beside it.
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorGap {"setTabIndicatorGap"}
 Gap between indicator and window in px.
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorWidth {"setTabIndicatorWidth"}
 Indicator thickness in px. Numeric ActionParam::Value.
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorLength {"setTabIndicatorLength"}
 Indicator length as a fraction of the column extent.
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorGapsBetweenTabs {"setTabIndicatorGapsBetweenTabs"}
 Gap between individual tabs in px. Numeric ActionParam::Value.
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorCornerRadius {"setTabIndicatorCornerRadius"}
 Per-tab corner radius in px.
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorActiveColor {"setTabIndicatorActiveColor"}
 Tab colours. Hex ActionParam::Value, same shapes as the border colours.
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorInactiveColor {"setTabIndicatorInactiveColor"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorUrgentColor {"setTabIndicatorUrgentColor"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorFontFamily {"setTabIndicatorFontFamily"}
 Tab label font family.
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorFontWeight {"setTabIndicatorFontWeight"}
 Tab label font weight on the CSS scale.
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorFontItalic {"setTabIndicatorFontItalic"}
 Tab label font style flags.
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorFontUnderline {"setTabIndicatorFontUnderline"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetTabIndicatorFontStrikeout {"setTabIndicatorFontStrikeout"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetDropIndicatorEnabled {"setDropIndicatorEnabled"}
 Whether the drop indicator is painted at all. Boolean ActionParam::Value.
constexpr QLatin1StringView PhosphorRules::ActionType::SetDropIndicatorColor {"setDropIndicatorColor"}
 Fill and border colours.
constexpr QLatin1StringView PhosphorRules::ActionType::SetDropIndicatorBorderColor {"setDropIndicatorBorderColor"}
constexpr QLatin1StringView PhosphorRules::ActionType::SetDropIndicatorOpacity {"setDropIndicatorOpacity"}
 Fill opacity, 0.0-1.0.
constexpr QLatin1StringView PhosphorRules::ActionType::SetDropIndicatorBorderWidth {"setDropIndicatorBorderWidth"}
 Border thickness in px.
constexpr QLatin1StringView PhosphorRules::ActionType::SetDropIndicatorBorderRadius {"setDropIndicatorBorderRadius"}
 Corner radius in px.
constexpr QLatin1StringView PhosphorRules::ActionType::OpenColumnWidth {"openColumnWidth"}
 Width the opening window's column takes, as a fraction of the work area.
constexpr QLatin1StringView PhosphorRules::ActionType::OpenTabbed {"openTabbed"}
 Whether the opening window's column starts tabbed. Boolean ActionParam::Value.
constexpr QLatin1StringView PhosphorRules::ActionType::TabColorActive {"tabColorActive"}
 Per-window tab colours — niri's tab-indicator WINDOW rule, which recolours only the matched window's own tab.
constexpr QLatin1StringView PhosphorRules::ActionType::TabColorInactive {"tabColorInactive"}
constexpr QLatin1StringView PhosphorRules::ActionType::TabColorUrgent {"tabColorUrgent"}
constexpr QLatin1StringView PhosphorRules::ActionType::DropIndicatorColor {"dropIndicatorColor"}
 Per-window drop-indicator colours, keyed on the DRAGGED window.
constexpr QLatin1StringView PhosphorRules::ActionType::DropIndicatorBorderColor {"dropIndicatorBorderColor"}
constexpr QLatin1StringView PhosphorRules::ActionType::OpenColumnPlacement {"openColumnPlacement"}
 Whether the opening window starts its own column or is consumed into the focused one.
constexpr QLatin1StringView PhosphorRules::ActionType::OpenWindowHeight {"openWindowHeight"}
 Height the opening window takes inside its column, as a fraction of the work-area height.
constexpr QLatin1StringView PhosphorRules::ActionType::OpenMaximized {"openMaximized"}
 Whether the opening window's column starts maximized (full work-area width) — niri's open-maximized.
constexpr QLatin1StringView PhosphorRules::ActionType::OpenFocused {"openFocused"}
 Per-window override of the "focus new windows" scrolling setting — niri's open-focused.
constexpr QLatin1StringView PhosphorRules::ActionType::OpenTabGroup {"openTabGroup"}
 Open the window as a tab of a NAMED group.
constexpr QLatin1StringView PhosphorRules::ActionType::OpenFullscreen {"openFullscreen"}
 Fullscreen at open — niri's open-fullscreen.
constexpr QLatin1StringView PhosphorRules::ActionType::ScrollFactor {"scrollFactor"}
 Per-window scroll-speed multiplier — niri's scroll-factor window rule.