Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sway window newstyles #1419

Merged
merged 1 commit into from
Jan 13, 2023
Merged

Commits on Jan 12, 2023

  1. sway-window, Issue 1399: new style classes

    Provides CSS classes empty, floating, tabbed, tiled, solo, stacked and
    app_id.
    
    Adds offscreen-css bool option (default false), only effective when
    "all-outputs" is true. This adds styles on outputs without focused
    node, according to its focused workspaces window situation.
    
    Adds an "offscreen-css-text" string option (default empty), only
    effective when "all-outputs" and "offscreen-style" are set. This
    is shown as a text on outputs without a focused node.
    
    Adds a "show-focused-workspace" bool option (default false) to indicate
    the workspace name if the whole workspace is focused when nodes are
    also present. If not set, empty text is shown, but css classes
    according to nodes in the workspace are still applied.
    
    Limitation:
    When the top level layout changes, there is no sway event so the
    module cannot react. Perhaps in the future recurring polling can
    be added to go around this limitation.
    RobertMueller2 committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    3285733 View commit details
    Browse the repository at this point in the history