diff options
Diffstat (limited to 'sway/sway-bar.5.scd')
-rw-r--r-- | sway/sway-bar.5.scd | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/sway/sway-bar.5.scd b/sway/sway-bar.5.scd index a3c6af2e..2357591d 100644 --- a/sway/sway-bar.5.scd +++ b/sway/sway-bar.5.scd | |||
@@ -100,27 +100,20 @@ The following commands configure the tray. | |||
100 | The _button_ argument in all cases is a platform-specific button code. On Linux | 100 | The _button_ argument in all cases is a platform-specific button code. On Linux |
101 | you can find a list of these at linux/input-event-codes.h. | 101 | you can find a list of these at linux/input-event-codes.h. |
102 | 102 | ||
103 | *activate\_button* <button> | 103 | *tray\_bindsym* button<n> ContextMenu|Activate|SecondaryActivate|ScrollDown|ScrollLeft|ScrollRight|ScrollUp|nop |
104 | Sets the button to be used for the _activate_ (primary click) tray item | 104 | Binds mouse button _n_ (1 to 9) to the specified action. Use the command |
105 | event. The default is BTN\_LEFT (0x110). | 105 | _nop_ to disable the default action (Activate for button 1, ContextMenu for |
106 | 106 | button 2 and SecondaryActivate for button 3). | |
107 | *context\_button* <button> | ||
108 | Sets the button to be used for the _context menu_ (right click) tray item | ||
109 | event. The default is BTN\_RIGHT (0x111). | ||
110 | |||
111 | *secondary\_button* <button> | ||
112 | Sets the button to be used for the _secondary_ (middle click) tray item | ||
113 | event. The default is BTN\_MIDDLE (0x112). | ||
114 | |||
115 | *tray\_output* none|all|<output> | ||
116 | Sets the output that the tray will appear on or none. Unlike i3bar, swaybar | ||
117 | is able to show icons on any number of bars and outputs without races. | ||
118 | The default is _all_. | ||
119 | 107 | ||
120 | *tray\_padding* <px> [px] | 108 | *tray\_padding* <px> [px] |
121 | Sets the pixel padding of the system tray. This padding will surround the | 109 | Sets the pixel padding of the system tray. This padding will surround the |
122 | tray on all sides and between each item. The default value for _px_ is 2. | 110 | tray on all sides and between each item. The default value for _px_ is 2. |
123 | 111 | ||
112 | *tray\_output* none|<output> | ||
113 | Restrict the tray to a certain output, can be specified multiple times. If | ||
114 | omitted, the tray will be displayed on all outputs. Unlike i3bar, swaybar | ||
115 | can show icons on any number of bars and outputs without races. | ||
116 | |||
124 | *icon\_theme* <name> | 117 | *icon\_theme* <name> |
125 | Sets the icon theme that sway will look for item icons in. This option has | 118 | Sets the icon theme that sway will look for item icons in. This option has |
126 | no default value, because sway will always default to the fallback theme, | 119 | no default value, because sway will always default to the fallback theme, |