Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-24 | Merge pull request #2925 from ianyfan/swaylock | Drew DeVault | |
swaylock: exit early if unable to get input inhibitor | |||
2018-10-23 | swaybar: absorb bar_init function into bar_setup | Ian Fan | |
2018-10-23 | swaybar: exit on display error | Ian Fan | |
2018-10-23 | Fix swaybar crash when there's no status_command | Ryan Dwyer | |
2018-10-21 | swaybar: fix hotplug | emersion | |
2018-10-20 | swaybar: render with minimum height, nominally text height | Ian Fan | |
2018-10-20 | Put swaybar in overlay layer when using mode hide | Ryan Dwyer | |
This allows the bar to render over fullscreen views. | |||
2018-10-18 | swaybar: separate input code to new file | Ian Fan | |
2018-10-15 | Sway clients: Exit gracefully when compositor is unavailable | Ryan Dwyer | |
2018-10-15 | Remove timerfd from loop implementation | Ryan Dwyer | |
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. | |||
2018-10-15 | Move swaybar's event loop to common directory and refactor | Ryan Dwyer | |
* 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. | |||
2018-10-14 | swaybar: when hiding bar, save old height to be restored upon reshow | Ian Fan | |
Previously, when the bar was hidden, the height would be set to 0. This meant that if the bar was empty upon reshow, it would not render since the height was still 0, which made it seem there was a problem. Now, the height is not reset, but the width is, to indicate upon reshow that the layer surface needed reconfiguring. | |||
2018-10-14 | swaybar: send signal to status when hiding or showing bar | Ian Fan | |
2018-10-14 | swaybar: handle mode/hidden_state changes | Ian Fan | |
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. | |||
2018-10-14 | swaybar: move mode & mode_pango_markup to bar struct | Ian Fan | |
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. | |||
2018-10-14 | swaybar: only send initial workspace request if workspace buttons are enabled | Ian Fan | |
2018-10-14 | swaybar: add free_hotspots helper function | Ian Fan | |
2018-10-14 | swaybar: save id upon startup | Ian Fan | |
This adds an id property to the bar, which will be used to filter barconfig_update events | |||
2018-10-09 | bar-bindsym: address ianyfan's comments | Brian Ashworth | |
2018-10-09 | Implement bar bindsym | Brian Ashworth | |
2018-10-08 | swaybar: allow null status_command | Ryan Dwyer | |
Sway sets a default status_command which runs date every second. This patch removes this behaviour so the user can have a NULL status bar if desired. I had to swap swaybar's event_loop_poll and wl_display_flush so that it would map the initial surface. | |||
2018-10-06 | swaybar: fix binding to wl_pointer multiple times | emersion | |
2018-09-30 | swaybar: synchronize rendering to output frames | Ian Fan | |
2018-09-28 | swaybar: move i3bar definitions into separate file | Ian Fan | |
2018-09-28 | swaybar: fail if bar id is invalid | Ian Fan | |
2018-09-22 | swaybar, swaylock, & tree/container: Set cairo font options to render text ↵ | Geoff Greer | |
and lines with subpixel hinting (if available). | |||
2018-09-20 | swaybar: don't wl_display_roundtrip on each frame | emersion | |
This was the source of numerous bugs, from hotplug events not being received to segfaults because wl_display_roundtrip was making the bar process unplug events while blocking in an iteration over all outputs. | |||
2018-09-20 | swaybar: handle hotplugging | emersion | |
Don't kill and respawn swaybars on hotplug. | |||
2018-09-17 | swaybar: use output names instead of output indexes | emersion | |
2018-07-19 | swaybar: Fix scroll handling on workspace buttons | minus | |
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. | |||
2018-07-16 | send scroll events to swaybar blocks | Peter Rice | |
2018-07-16 | make hotspot callback take an x11 button id | Peter Rice | |
2018-07-09 | Update for swaywm/wlroots#1126 | emersion | |
2018-04-24 | Fix a bunch of swaybar memory leaks | emersion | |
2018-04-24 | Work around maybe-uninitialized in bar.c | Alex Xu (Hello71) | |
Fixes #1855. | |||
2018-04-22 | Fix swaybar axis event logic | Scott Anderson | |
Uses 'visible' instead of 'focused', since we may scroll on a bar which isn't the focused output. We can't use "next_on_output" or "prev_on_output" to implement this, because it only modify the focused output. So scrolling on an unfocused output will affect the incorrect one. We just use the "workspace name" command instead. | |||
2018-04-21 | Remove void * casts | Scott Anderson | |
They're pointless. | |||
2018-04-21 | Remove status command event on error | Scott Anderson | |
This prevents very high CPU load when the status command dies, and poll continuously awoken with POLLHUP. | |||
2018-04-10 | Fix swaybar output config. | Ryan Dwyer | |
2018-04-05 | Handle output removal on swaybar | Drew DeVault | |
2018-04-03 | Address review feedback | Drew DeVault | |
2018-04-03 | Don't use asserts with side-effects | Drew DeVault | |
2018-04-03 | Add hidpi support to swaybar | Drew DeVault | |
2018-04-02 | Render i3bar blocks | Drew DeVault | |
2018-03-30 | Implement workspace switch on click | Drew DeVault | |
2018-03-30 | Implement scroll wheel workspace switching | Drew DeVault | |
2018-03-30 | Initialize seat pointer in swaybar | Drew DeVault | |
2018-03-29 | Use render_all_frames from bar_setup | Drew DeVault | |
2018-03-29 | Fix layer_surface_closed | Drew DeVault | |
2018-03-29 | Tear down bar when display exits | Drew DeVault | |