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

[hyprland/workspaces] Add tooltips to hyprland/workspaces #3017

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

0x000C0A71
Copy link

@0x000C0A71 0x000C0A71 commented Mar 17, 2024

Addresses #2990

Put a

"tooltip": true,
"tooltips": {
    "default": "{name}: {windows}",
    "empty": "{name}"
},

into a hyprland/workspaces config and each workspace will have a tooltip on hover with the format specified in the tooltips field

Simply slam a `"tooltip": true` and a `"tooltip-format": "<your format>"` in that config
@0x000C0A71 0x000C0A71 changed the title Adds tooltips to hyprland/workspaces Add tooltips to hyprland/workspaces Mar 17, 2024
@0x000C0A71 0x000C0A71 changed the title Add tooltips to hyprland/workspaces [hyprland/workspaces] Add tooltips to hyprland/workspaces Mar 17, 2024
One can set different tooltips for different workspaces. Selection works
the same as it does for Icons.
Also refactored the `selectIcon` function to a more general
`selectString` function.
Man page is updated too.
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

Successfully merging this pull request may close these issues.

None yet

1 participant