1waybar-sway-window(5) File Formats Manual waybar-sway-window(5)
2
3
4
6 waybar - sway window module
7
9 The window module displays the title of the currently focused window in
10 Sway
11
13 Addressed by sway/window
14
15 format:
16 typeof: string
17 default: {}
18 The format, how information should be displayed. On {} data gets
19 inserted.
20
21 rotate:
22 typeof: integer
23 Positive value to rotate the text label.
24
25 max-length:
26 typeof: integer
27 The maximum length in character the module should display.
28
29 on-click:
30 typeof: string
31 Command to execute when clicked on the module.
32
33 on-click-middle:
34 typeof: string
35 Command to execute when middle-clicked on the module using mouse‐
36 wheel.
37
38 on-click-right:
39 typeof: string
40 Command to execute when you right clicked on the module.
41
42 on-scroll-up:
43 typeof: string
44 Command to execute when scrolling up on the module.
45
46 on-scroll-down:
47 typeof: string
48 Command to execute when scrolling down on the module.
49
50 smooth-scrolling-threshold:
51 typeof: double
52 Threshold to be used when scrolling.
53
54 tooltip:
55 typeof: bool
56 default: true
57 Option to disable tooltip on hover.
58
60 "sway/window": {
61 "format": "{}",
62 "max-length": 50
63 }
64
66 · #window
67 · window#waybar.empty When no windows is in the workspace
68 · window#waybar.solo When one window is in the workspace
69 · window#waybar.<app_id> Where app_id is the app_id or instance name
70 like (chromium) of the only window in the workspace
71
72
73
74 2020-04-11 waybar-sway-window(5)