Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | bar_cmd_tray_bind: Use mouse button helpers | 2019-01-16 | |
| | | | | | | | | | | | | | | | | This modifies `bar_cmd_tray_bindsym` to use `get_mouse_bindsym` for parsing mouse buttons. This also introduces `bar_cmd_tray_bindcode`, which will use `get_mouse_bindcode` for parsing mouse buttons. Like with sway bindings, the two commands are encapsulated in a single file to maximize shared code. This also modifies tray bindings to work off of events codes rather than x11 buttons, which allows for any mouse buttons to be used. For `get_bar_config`, `event_code` has been added to the `tray_bindings` section and will include to event code for the button. If the event code can be mapped to a x11 button, `input_code` will still be the x11 button number. Otherwise, `input_code` will be `0`. | ||
* | swaybar: improve tray logging | 2019-01-08 | |
| | |||
* | swaybar: handle SNI signals better | 2019-01-08 | |
| | | | | | This fixes a crash caused by callbacks not matching the right sender, and frees old values later, before they are re-assigned. | ||
* | swaybar: free the right item during tray destruction | 2019-01-08 | |
| | | | | | Also added a comment to make more obvious the reason for comparing sni->status[0] == 'N' | ||
* | swaybar: use KDE's SNI IconThemePath property | 2018-12-31 | |
| | |||
* | swaybar: draw a sad face if SNI has no icon | 2018-12-31 | |
| | |||
* | swaybar: set bar dirty on SNI event | 2018-12-31 | |
| | |||
* | swaybar: implement mouse events for tray | 2018-12-31 | |
| | |||
* | swaybar: implement tray rendering | 2018-12-31 | |
| | |||
* | swaybar: add StatusNotifierItem to tray | 2018-12-31 | |