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

Last app is displayed in focused module when no app is available on Hyprland #337

Closed
kepi opened this issue Oct 17, 2023 · 2 comments · Fixed by #338
Closed

Last app is displayed in focused module when no app is available on Hyprland #337

kepi opened this issue Oct 17, 2023 · 2 comments · Fixed by #338
Labels
bug Something isn't working

Comments

@kepi
Copy link

kepi commented Oct 17, 2023

Describe the bug

This happens when I open new workspace or simply close only window on some workspace. Focused module doesn't clear itsef and I'm stuck with previous title.

To Reproduce

  1. start new hyprland session with ironbar with focused module on
  2. open any app with title
  3. close the app

Expected behavior

I expect focused module to be empty or dissappear.

System information:

  • Distro: Arch Linux
  • Compositor: Hyprland
  • Ironbar version: v0.13.0.r74.gc2306d6-1

Configuration

Config
center:
  - type: focused
    icon_size: 16
    truncate:
      mode: start
@kepi kepi added the bug Something isn't working label Oct 17, 2023
@JakeStanger
Copy link
Owner

Thanks for reporting. Agreed it'd make sense for it to clear the label when nothing is in focus.

@kepi
Copy link
Author

kepi commented Oct 19, 2023

Thanks, for this use case it is working like a charm.

Unfortunately I described only one of two use cases hoping that fix will resolve both. I opened new issue in #339 for second one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants