summaryrefslogtreecommitdiffstats
path: root/swaybar/render.c
Commit message (Collapse)AuthorAge
* Swaybar: Respect pango_markup configLibravatar Ryan Dwyer2018-05-09
| | | | | Makes swaybar respect the user's pango_markup configuration in the workspace buttons and binding mode indicator.
* Fix separator height calculationLibravatar Drew DeVault2018-04-10
| | | | | | | Fixes #1796 Also rearranged this code to more closely mirror the similar code above so future discrepancies are easier to spot.
* Check height in surface local coordinates and rename some variables.Libravatar Ryan Dwyer2018-04-11
|
* Fix swaybar not showing all status blocks.Libravatar Ryan Dwyer2018-04-10
|
* Fix swaybar HiDPI rounding issueLibravatar emersion2018-04-08
|
* Fixup for #1773Libravatar Drew DeVault2018-04-08
|
* Use full ws->name in swaybar hotspot callbackLibravatar db2018-04-08
| | | | | If strip_workspace_numbers option is enabled, we must preserve the right workspace name for hotspot.
* Handle output removal on swaybarLibravatar Drew DeVault2018-04-05
|
* Address review feedbackLibravatar Drew DeVault2018-04-03
|
* Adjust height calculation, namingLibravatar Drew DeVault2018-04-03
|
* Add hidpi support to swaybarLibravatar Drew DeVault2018-04-03
|
* Render blocks the correct orderLibravatar Drew DeVault2018-04-02
|
* Fix use-after-free with block hotspotsLibravatar Drew DeVault2018-04-02
|
* Send click events for i3bar blocksLibravatar Drew DeVault2018-04-02
|
* Render i3bar blocksLibravatar Drew DeVault2018-04-02
|
* Implement workspace switch on clickLibravatar Drew DeVault2018-03-30
|
* Early return from render functions if necessaryLibravatar Drew DeVault2018-03-29
|
* Tear down bar when display exitsLibravatar Drew DeVault2018-03-29
|
* Implement status lineLibravatar Drew DeVault2018-03-29
| | | | Does not yet support i3bar json protocol
* Iterate over workspaces backwardsLibravatar Drew DeVault2018-03-29
|
* Respect user bar height preferenceLibravatar Drew DeVault2018-03-29
| | | | This is an i3-gaps feature we support
* Pixel-perfect renderingLibravatar Drew DeVault2018-03-29
|
* Add binding mode indicatorLibravatar Drew DeVault2018-03-29
|
* Implement workspace button renderingLibravatar 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.
* styling fixesLibravatar akokshar@redhat.com2017-08-29
|
* click_events as documented at https://i3wm.org/docs/i3bar-protocol.htmlLibravatar akokshar@redhat.com2017-08-29
|
* Reorganize Tray CodeLibravatar Calvin Lee2017-06-07
| | | | Remove tray code from bar.c and render.c
* Fix cairo blending on tray iconsLibravatar Drew DeVault2017-06-07
|
* Implement Tray IconsLibravatar Calvin Lee2017-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements the StatusNotifierItem protocol, and enables swaybar to show tray icons. It also uses `xembedsniproxy` in order to communicate with xembed applications. The tray is completely optional, and can be disabled on compile time with the `enable-tray` option. Or on runtime with the bar config option `tray_output none`. Overview of changes: In swaybar very little is changed outside the tray subfolder except that all events are now polled in `event_loop.c`, this creates no functional difference. Six bar configuration options were added, these are detailed in sway-bar(5) The tray subfolder is where all protocol implementation takes place and is organised as follows: tray/sni_watcher.c: This file contains the StatusNotifierWatcher. It keeps track of items and hosts and reports when they come or go. tray/tray.c This file contains the StatusNotifierHost. It keeps track of sway's version of the items and represents the tray itself. tray/sni.c This file contains the StatusNotifierItem struct and all communication with individual items. tray/icon.c This file implements the icon theme protocol. It allows for finding icons by name, rather than by pixmap. tray/dbus.c This file allows for asynchronous DBus communication. See #986 #343
* add bar colours for focused_(workspace|statusline|separator)Libravatar D.B2016-11-02
| | | | | If these aren't defined in config, color settings without 'focused_' prefix are used as a fallback.
* Use CAIRO_OPERATOR_SOURCE for swaybarLibravatar Drew DeVault2016-10-12
|
* parse pango markup in workspace names (and bugfix)Libravatar D.B2016-10-07
| | | | | | This change allows using numeric character references in workspace names - for example æ which stands for sharp s. A fix was necessary in get_pango_layout, since markup and parsed markup had different width.
* Correctly scale swaybarLibravatar D.B2016-09-29
| | | | Fixes #910. There were some missing multiplications with window->scale.
* Fix constant scale factor in font codeLibravatar Drew DeVault2016-09-05
|
* Add client support for HiDPILibravatar Drew DeVault2016-09-05
| | | | This adds HiDPI support to swaybar, swaybg, and swaylock.
* Reorganize includesLibravatar Drew DeVault2016-09-01
|
* Extract workspace size computation from render_workspace_button()Libravatar David Eklov2016-07-14
| | | | Also remove some unnecessary strtup()s and rename a few variables and functions.
* Renamed to pango_markupLibravatar Mykyta Holubakha2016-04-24
|
* Fix line length calculationLibravatar Mykyta Holubakha2016-04-24
|
* Added plaintext markup configurationLibravatar Mykyta Holubakha2016-04-24
|
* Passing missing argument to get_text_sizeLibravatar Mykyta Holubakha2016-04-24
|
* Flesh out pango markup implementationLibravatar Drew DeVault2016-04-17
|
* Make client/pango.h not depend on client/window.hLibravatar Mikkel Oscar Lyderik2016-03-30
|
* extract cairo_set_source_u32()Libravatar Christoph Gysin2016-01-25
|
* swaybar: Fix plaintext handling.Libravatar Mikkel Oscar Lyderik2016-01-25
| | | | Fix #473
* Fix colors off by oneLibravatar Mikkel Oscar Lyderik2016-01-25
|
* swaybar: move headers to include/barLibravatar Mikkel Oscar Lyderik2016-01-24
|
* swaybar: rename state to barLibravatar Mikkel Oscar Lyderik2016-01-24
|
* swaybar: move ipc stuff to ipc.{h,c}Libravatar Mikkel Oscar Lyderik2016-01-24
|