From 06540347636cdb4a87123784a488032aec3d088f Mon Sep 17 00:00:00 2001 From: Marc Meier Date: Sun, 17 Mar 2024 19:41:19 +0100 Subject: [PATCH] Add man pages for hyprland/workspaces tooltips --- man/waybar-hyprland-workspaces.5.scd | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/man/waybar-hyprland-workspaces.5.scd b/man/waybar-hyprland-workspaces.5.scd index 5646df58..db306091 100644 --- a/man/waybar-hyprland-workspaces.5.scd +++ b/man/waybar-hyprland-workspaces.5.scd @@ -65,6 +65,16 @@ Addressed by *hyprland/workspaces* If set to id, workspaces will sort by id. If none of those, workspaces will sort with default behavior. +*tooltip*: ++ + typeof: bool ++ + default: true ++ + Option to disable tooltip on hover. + +*tooltip-format*: ++ + typeof: string ++ + default: "{name}" ++ + The tooltip format. + # FORMAT REPLACEMENTS *{id}*: id of workspace assigned by compositor @@ -148,6 +158,25 @@ Additional to workspace name matching, the following *format-icons* can be set. } ``` +``` +"hyprland/workspaces": { + "format": "{icon}", + "format-window-separator": ", ", + "tooltip": true, + "tooltip-format": "{name}: {windows}", + "format-icons": { + "1": "", + "2": "", + "3": "", + "4": "", + "5": "", + "active": "", + "default": "" + }, + // Window rewrites omitted for brevity +} +``` + # Style - *#workspaces*