Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-12-28 | parse_color: return success + drop fallback color | Brian Ashworth | |
This is the first in a series of commits to refactor the color handling in sway. This changes parse_color to return whether it was success and no longer uses 0xFFFFFFFF as the fallback color. This also verifies that the string actually contains a valid hexadecimal number along with the length checks. In the process of altering the calls to parse_color, I also took the opportunity to heavily refactor swaybar's ipc_parse_colors function. This allowed for several lines of duplicated code to be removed. | |||
2019-01-31 | Rebase #1636 against current master | v44r | |
2019-01-10 | bar_cmd_bind: utilize mouse button helpers | Brian Ashworth | |
This modifies `bar_cmd_bindsym` to use `get_mouse_bindsym` for parsing mouse buttons. This also introduces `cmd_bar_bindcode`, which will use `get_mouse_bindcode` for parsing mouse buttons. Like sway bindings, the two commands are encapsulated in a single file with shared code. This also modifies swaybar to operate off of event codes rather than x11 button numbers, which allows for any mouse button to be used. This introduces two new IPC properties: - For `get_bar_config`, `event_code` has been added to the `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`. - Likewise for `click_events`, `event` has been added and will include the event code for the button clicked. If the event code can be mapped to a x11 button, `button` will still be the x11 button number. Otherwise, `button` will be `0`. | |||
2018-12-04 | Add relative coordinates in JSON for i3bar click events | Hristo Venev | |
Compatibility with i3 commit 161db6f17d734ac9deb0a20e81b78d4b2a92ce68. | |||
2018-10-18 | swaybar: separate input code to new file | Ian Fan | |
2018-10-14 | swaybar: annotate wl_list properties in definitions | Ian Fan | |
2018-09-28 | swaybar: move i3bar definitions into separate file | Ian Fan | |