aboutsummaryrefslogtreecommitdiffstats
path: root/include/swaybar
Commit message (Collapse)AuthorAge
* swaybar: separate input code to new fileLibravatar Ian Fan2018-10-18
|
* Event loop: Fix memmove and remove extraneous declarationLibravatar Ryan Dwyer2018-10-15
|
* Remove timerfd from loop implementationLibravatar Ryan Dwyer2018-10-15
| | | | | timerfd doesn't work on the BSDs, so this replaces it with a timespec for the expiry and uses a poll timeout to check the timers when needed.
* Move swaybar's event loop to common directory and refactorLibravatar Ryan Dwyer2018-10-15
| | | | | | | * The loop functions are now prefixed with `loop_`. * It is now easy to add timers to the loop. * Timers are implemented using pollfd and timerfd, rather than manually checking them when any other event happens to arrive.
* swaybar: send signal to status when hiding or showing barLibravatar Ian Fan2018-10-14
|
* swaybar: show hidden bar on urgencyLibravatar Ian Fan2018-10-14
|
* swaybar: show hidden bar on key eventLibravatar Ian Fan2018-10-14
| | | | | | Since wayland does not currently allow swaybar to create global keybinds, this is handled within sway and sent to the bar using a custom event, so as not to pollute existing events, called bar_state_update.
* swaybar: handle mode/hidden_state changesLibravatar Ian Fan2018-10-14
| | | | | | | | | As well as adding the hidden_state property to the bar config struct, this commit handles barconfig_update events when the mode or hidden_state changes, and uses a new function determine_bar_visibility to hide or show the bar as required, using, respectively, destroy_layer_surface, which is also newly added, and add_layer_surface, which has been changed to allow dynamically adding the surface.
* swaybar: move mode & mode_pango_markup to bar structLibravatar Ian Fan2018-10-14
| | | | | | This distinguishes the binding mode from the distinct config mode, as well as removing mode_pango_markup from the config struct where it should not be present.
* swaybar: add free_hotspots helper functionLibravatar Ian Fan2018-10-14
|
* swaybar: annotate wl_list properties in definitionsLibravatar Ian Fan2018-10-14
|
* swaybar: save id upon startupLibravatar Ian Fan2018-10-14
| | | | | This adds an id property to the bar, which will be used to filter barconfig_update events
* Implement bar bindsymLibravatar Brian Ashworth2018-10-09
|
* swaybar: add leading comma to click event JSONLibravatar Ian Fan2018-10-02
|
* Turn funcs() into funcs(void)Libravatar Arkadiusz Hiler2018-09-30
| | | | If they really do not take undefined number of arguments.
* Remove declarations that do no have definitionsLibravatar Arkadiusz Hiler2018-09-30
| | | | | | | There is a couple of leftover header files/declarations, which were fronting implementations that are long gone. Let's get rid of them.
* swaybar: synchronize rendering to output framesLibravatar Ian Fan2018-09-30
|
* swaybar: move i3bar definitions into separate fileLibravatar Ian Fan2018-09-28
|
* swaybar: remove unused focused_output propertyLibravatar Ian Fan2018-09-28
|
* swaybar: fail if bar id is invalidLibravatar Ian Fan2018-09-28
|
* swaybar, swaylock, & tree/container: Set cairo font options to render text ↵Libravatar Geoff Greer2018-09-22
| | | | and lines with subpixel hinting (if available).
* swaybar: rewrite i3bar protocol handlingLibravatar Ian Fan2018-09-18
| | | | | | | | This now correctly handles an incoming json infinite array by shifting most of the heavy listing to the json-c parser, as well as sending multiple statuses at once. It also removes the struct i3bar_protocol_state and moves its members into the status_line struct, allowing the same buffer to be used for both protocols.
* swaybar: rewrite text protocol handlingLibravatar Ian Fan2018-09-18
| | | | | | This now uses getline to correctly handle multiple or long statuses. It also removes the struct text_protocol_state and moves its members into the status_line struct.
* swaybar: fix empty function prototypesLibravatar Ian Fan2018-09-18
|
* swaybar: use output names instead of output indexesLibravatar emersion2018-09-17
|
* i3bar: count references to blocksLibravatar Ian Fan2018-09-12
| | | | | | | | | This prevents blocks from being destroyed before their hotspots are destroyed, in case it is used for a pending click event that fires between the bar receiving a new status, which destroys the block, and the bar rendering the new status, which destroys the hotspot; this problem can be easily produced by scrolling on a block that immediately causes a new status to be sent, with multiple outputs
* swaybar: Fix scroll handling on workspace buttonsLibravatar minus2018-07-19
| | | | | | | | | | As well as ignoring scroll events on status elements when click_events is enabled. Previously, using the scroll wheel on a workspace button would switch to that workspace instead of scrolling through them. Clicks and scrolling on status elements would always be processed by swaybar, too. So in case you were using scrolling as volume control on a status item, swaybar would additionally scroll through your workspaces.
* make hotspot callback take an x11 button idLibravatar Peter Rice2018-07-16
|
* Fix a bunch of swaybar memory leaksLibravatar emersion2018-04-24
|
* Handle output removal on swaybarLibravatar Drew DeVault2018-04-05
|
* Add hidpi support to swaybarLibravatar Drew DeVault2018-04-03
|
* Send click events for i3bar blocksLibravatar Drew DeVault2018-04-02
|
* Render i3bar blocksLibravatar Drew DeVault2018-04-02
|
* Demarcate i3bar JSON into individual updatesLibravatar Drew DeVault2018-04-02
|
* Implement workspace switch on clickLibravatar Drew DeVault2018-03-30
|
* Implement scroll wheel workspace switchingLibravatar Drew DeVault2018-03-30
|
* Initialize seat pointer in swaybarLibravatar Drew DeVault2018-03-30
|
* Fix issues with swaybar on DRMLibravatar Drew DeVault2018-03-30
|
* Implement status lineLibravatar Drew DeVault2018-03-29
| | | | Does not yet support i3bar json protocol
* Pixel-perfect renderingLibravatar Drew DeVault2018-03-29
|
* Re-render bar on IPC updatesLibravatar Drew DeVault2018-03-29
|
* Round up workspaces on each outputLibravatar Drew DeVault2018-03-29
|
* Only utilize the configured outputsLibravatar Drew DeVault2018-03-29
|
* Wire up basic IPC supportLibravatar Drew DeVault2018-03-29
|
* Start port of swaybar to layer shellLibravatar Drew DeVault2018-03-29
| | | | | | This starts up the event loop and wayland display and shims out the basic top level rendering concepts. Also includes some changes to incorporate pango into the 1.x codebase properly.
* Fix init_tray function declarationLibravatar Adam Mizerski2017-11-05
| | | | | This fixes compilation failure: error: call to function 'init_tray' without a real prototype
* click_events as documented at https://i3wm.org/docs/i3bar-protocol.htmlLibravatar akokshar@redhat.com2017-08-29
|
* Don't trust SNI names, fixes #1274Libravatar Calvin Lee2017-07-13
| | | | | If an item doesn't have a well-formed name, it will not be added to the tray.
* Remove Xembed SupportLibravatar Calvin Lee2017-06-13
| | | | | | | Xembed support is premature in sway and should be postponed. This commit only removes swaybar starting xembedsniproxy, if users would like, they can still start xembedsniproxy manually, however there will be no official support.
* Reorganize Tray CodeLibravatar Calvin Lee2017-06-07
| | | | Remove tray code from bar.c and render.c