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

Losing alternative format on Group module #2685

Closed
ordy opened this issue Nov 22, 2023 · 1 comment
Closed

Losing alternative format on Group module #2685

ordy opened this issue Nov 22, 2023 · 1 comment

Comments

@ordy
Copy link
Contributor

ordy commented Nov 22, 2023

When I move a module like pulseaudio to a group, I can no longer left click on the icon to display the format-alt variant (right click still works as expected). However, I get it back if I set another copy anywhere on the waybar modules -left -center -right arrays.

With pusleaudio only part of the group:
vid01

And here clicks work when I have an extra instance of pusleaudio outside of the group module:
vid02

Code:

pulseaudio

    "pulseaudio": {
      "format": "{icon}",
      "format-alt": "{format_source}   {volume}%  {icon}", 
      "format-bluetooth": "<span font='11' rise='-800'>󰂰</span>", 
      "format-bluetooth-muted": "<span font='11' rise='-800'>󰂰</span>", 
      "format-muted": " {format_source}",
      "format-source": "{volume}%  <span font='11'>󰍰</span>",
      "format-source-muted": "<span font='11'>󰍱</span>",
      "format-icons": {
        "headphone": "<span font='11'>󰋋 </span>",
        "hands-free": "",
        "headset": "",
        "phone": "",
        "portable": "",
        "car": "",
        "default": [
          "<span font='12'>󰜟</span>"
        ]
      },

group

"group/pulse-group": {
  "orientation": "inherit",
  "drawer": {
    "transition-duration": 300,
    "children-class": "drawer-child",
    "transition-left-to-right": false
  },
  "modules": [
    "pulseaudio",
    "pulseaudio/slider"
  ]
},

Same results after testing with other modules that support format-alt.

@TheRialNiels
Copy link

I was going to ask if the format-alt was removed but you're right, when u added to a group module stop working.

I hope it can be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants