1waybar-sway-scratchpad(5)     File Formats Manual    waybar-sway-scratchpad(5)
2
3
4

NAME

6       waybar - sway scratchpad module
7

DESCRIPTION

9       The scratchpad module displays the scratchpad status in Sway
10

CONFIGURATION

12       Addressed by sway/scratchpad
13
14       format:
15            typeof: string
16            default: {icon} {count}
17            The format, how information should be displayed.
18
19       show-empty:
20            typeof: bool
21            default: false
22            Option to show module when scratchpad is empty.
23
24       format-icons:
25            typeof: array/object
26            Based on the current scratchpad window counts, the corresponding
27       icon gets selected.
28
29       tooltip:
30            typeof: bool
31            default: true
32            Option to disable tooltip on hover.
33
34       tooltip-format:
35            typeof: string
36            default: {app}: {title}
37            The format, how information in the tooltip should be displayed.
38

FORMAT REPLACEMENTS

40       {icon}: Icon, as defined in format-icons.
41
42       {count}: Number of windows in the scratchpad.
43
44       {app}: Name of the application in the scratchpad.
45
46       {title}: Title of the application in the scratchpad.
47

EXAMPLES

49           "sway/scratchpad": {
50               "format": "{icon} {count}",
51               "show-empty": false,
52               "format-icons": ["", ""],
53               "tooltip": true,
54               "tooltip-format": "{app}: {title}"
55           }
56

STYLE

58#scratchpad
59#scratchpad.empty
60
61
62
63                                  2023-01-11         waybar-sway-scratchpad(5)
Impressum