Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-16 | bar_cmd_tray_bind: Use mouse button helpers | Brian Ashworth | |
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`. | |||
2019-01-08 | swaybar: improve tray logging | Ian Fan | |
2019-01-08 | swaybar: handle SNI signals better | Ian Fan | |
This fixes a crash caused by callbacks not matching the right sender, and frees old values later, before they are re-assigned. | |||
2019-01-08 | swaybar: free the right item during tray destruction | Ian Fan | |
Also added a comment to make more obvious the reason for comparing sni->status[0] == 'N' | |||
2018-12-31 | swaybar: use KDE's SNI IconThemePath property | Ian Fan | |
2018-12-31 | swaybar: draw a sad face if SNI has no icon | Ian Fan | |
2018-12-31 | swaybar: set bar dirty on SNI event | Ian Fan | |
2018-12-31 | swaybar: implement mouse events for tray | Ian Fan | |
2018-12-31 | swaybar: implement tray rendering | Ian Fan | |
2018-12-31 | swaybar: add StatusNotifierItem to tray | Ian Fan | |