• tal@lemmy.today
    link
    fedilink
    English
    arrow-up
    20
    ·
    edit-2
    17 hours ago

    One thing that I’ve found that I like is having my waybar not normally visible. When I need to glance at the bar, I can just hold the Sway modifier key to make it temporarily show up.

    in ~/.config/sway/config:

    bar {
        swaybar_command waybar
        mode hide
    }
    

    More screen space for whatever I’m actually doing. If something is so critical that it needs to grab my attention (e.g. battery low on a laptop) then I have it set up to send a message to the notification manager.

    • juipeltje@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      15 hours ago

      I’m assuming this is sway-specific, so just wanted to add that waybar itself also supports toggling hide/show bar by sending it a signal:

      kill -SIGUSR1 $(pgrep waybar)