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

Add module "sway/hide" for swaybar integration #860

Closed
wants to merge 12 commits into from

Commits on Sep 21, 2020

  1. Add suppport for displaying Waybar as an overlay layer

    Configuration option `layer` can now take a value "overlay", which draws the bar
    on top of the windows without creating an exclusive zone.
    nyyManni authored and somini committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    013bfb9 View commit details
    Browse the repository at this point in the history
  2. Add module sway/hide for swaybar integration

    This allows auto-showing the bar when the modifier is pressed
    
    Closes Alexays#255
    
    Setup instructions:
    - Set the `mode` of the bar to "hide" in sway configuration file
    - Set the `layer` of the bar to "overlay" in Waybar configuration file
    - Add "sway/hide" into `modules-left` in Waybar configuration file
    nyyManni authored and somini committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    0840184 View commit details
    Browse the repository at this point in the history
  3. Use layer shell version 2

    somini committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    0e32cff View commit details
    Browse the repository at this point in the history
  4. (does not build) try to use barconfig_update

    Currently, it won't build.
    I am unfamiliar with C++, I don't know what's wrong.
    xPMo authored and somini committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    4ecb22b View commit details
    Browse the repository at this point in the history
  5. fix: thanks nyyManni

    This is also a rebase-fix
    xPMo authored and somini committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    4ec1718 View commit details
    Browse the repository at this point in the history
  6. Define bar setVisible method

    Call this when toggling visibility with SIGUSR1, and for `sway/hide`
    events.
    somini committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    551973a View commit details
    Browse the repository at this point in the history
  7. Include mutext on Hide::onEvent

    This doesn't solve the issue, but it crashes less often...
    somini committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    2253f3e View commit details
    Browse the repository at this point in the history
  8. Improve debug logs

    somini committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    f1cd85f View commit details
    Browse the repository at this point in the history
  9. Remove support for "overlay" layer

    Keep this as similar to "upstream" as possible.
    somini committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    af0b182 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d427a5b View commit details
    Browse the repository at this point in the history
  11. Use logging module

    somini committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    3b15645 View commit details
    Browse the repository at this point in the history
  12. Don't auto-hide the bar on start

    This is a CSS-only change. It should be properly hidden.
    somini committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    979a478 View commit details
    Browse the repository at this point in the history