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

Cursor change to indicate module clickability looks broken for hyprland/workspaces #3236

Open
alexlnkp opened this issue May 7, 2024 · 1 comment

Comments

@alexlnkp
Copy link

alexlnkp commented May 7, 2024

Sometimes the cursor change, introduced by #3108 doesn't change when it needs to, and sometimes it changes when even if you were to click - nothing would happen (i.e. the cursor either changes when it shouldn't or changes earlier than it should)

On the video the cursor changes to a "clickable" state only at the edges of the workspaces buttons, where they are not clickable. (0:21 in the video, i find the little edge where the mouse indicates that the element is clickable, but clicking does nothing)

d.mp4

Overall wish there was a way to configure whether to display the "clickability" of the elements, but i couldn't find any.

@alexlnkp
Copy link
Author

How are you invoking this in your waybar config?

I just... added the workspaces widget in the config.

{
    "layer": "top",
    "position": "top",
    "mod": "dock",
    "exclusive": true,
    "passthrough": false,
    "gtk-layer-shell": true,
    "height": 11,
    "modules-left": ["custom/pacman", "hyprland/workspaces"],
    "modules-center": ["hyprland/window"],
    "modules-right": ["tray", "pulseaudio", "pulseaudio#microphone", "clock"],
    
// . . .

    "hyprland/workspaces": {
	      "format": "{icon}",
	      "on-click": "activate",
	      "format-icons": {
	          "1": "",
	          "2": "",
	          "3": "",
	          "4": "",
	          "5": "󱡭",
	          "6": "󰲫",
	          "7": "󰲭",
	          "8": "󰲯",
	          "9": "󰲱",
	          "10": "󰿭"
	      },
	      "sort-by-number": true
	},

// . . .

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

No branches or pull requests

1 participant