aboutsummaryrefslogtreecommitdiff
path: root/swaybar
AgeCommit message (Collapse)Author
2016-11-02add bar colours for focused_(workspace|statusline|separator)D.B
If these aren't defined in config, color settings without 'focused_' prefix are used as a fallback.
2016-10-20config: set pango_markup default to falseMykyta Holubakha
2016-10-12Use CAIRO_OPERATOR_SOURCE for swaybarDrew DeVault
2016-10-07parse pango markup in workspace names (and bugfix)D.B
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.
2016-09-29Correctly scale swaybarD.B
Fixes #910. There were some missing multiplications with window->scale.
2016-09-17Fix swaybar when running on named outputs.Ryan Dwyer
When using a bar on a named output, load_swaybars() requires the output to be active (ie. in the root container), but this is not the case if the bar is added to the last output. To fix this, load_swaybars() is now called after the output has been added to the root container. After fixing that, swaybar would segfault due to using the wrong index variable when loading outputs and config.
2016-09-12swaybar sends workspace name in quotesD.B
fixes #894
2016-09-05Fix constant scale factor in font codeDrew DeVault
2016-09-05Add client support for HiDPIDrew DeVault
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-09-05Initial testing on hidpi clientsDrew DeVault
2016-09-01Reorganize includesDrew DeVault
2016-07-30implement solid color rendering for swaybgZandr Martin
2016-07-18Fix a warningHummer12007
2016-07-17Implement configurable wrapping on bar ws scrollDrew DeVault
2016-07-16Fix #753Drew DeVault
2016-07-15Change workspace when mouse wheel is scrolled while hovering over the barDavid Eklov
2016-07-15Rename pointer_input::notify to indicate that is called on button clicksDavid Eklov
2016-07-14Send command to sway to change workspace when workspace button is clickedDavid Eklov
2016-07-14Compute what workspace button is clickedDavid Eklov
This commit does not do anything with this information other than logging it.
2016-07-14Extract workspace size computation from render_workspace_button()David Eklov
Also remove some unnecessary strtup()s and rename a few variables and functions.
2016-07-14Setup to receive mouse click events and log themDavid Eklov
2016-07-04swaybar: Make swaybar a shell surfaceDavid Eklov
2016-04-29Fix another -Wunused-resultDrew DeVault
2016-04-28Fix missing include pathsTomáš Čech
When headers were installed in more sofisticated places (but package config knows it right), it revealed missing paths in CMake configuration. Lets fix it.
2016-04-24Renamed to pango_markupMykyta Holubakha
2016-04-24Fix line length calculationMykyta Holubakha
2016-04-24Added plaintext_markup to swaybar IPCMykyta Holubakha
2016-04-24Added plaintext markup configurationMykyta Holubakha
2016-04-24Merge pull request #598 from Hummer12007/pango_fixDrew DeVault
Passing missing argument to get_text_size
2016-04-24Use i3bar format for markup field.Mikkel Oscar Lyderik
In the i3bar protocol the value of the markup field is a string: "pango" or "none" rather than a bool. This patch makes swaybar compatible with that. http://i3wm.org/docs/i3bar-protocol.html
2016-04-24Passing missing argument to get_text_sizeMykyta Holubakha
2016-04-17Flesh out pango markup implementationDrew DeVault
2016-03-31Stop swaybar crashing without argscrondog
2016-03-30Handle swaybar using sway fontMikkel Oscar Lyderik
2016-03-30Make client/pango.h not depend on client/window.hMikkel Oscar Lyderik
2016-02-27Poll before wl_display_dispatchMikkel Oscar Lyderik
2016-02-27Differentiate between all or no outputsMikkel Oscar Lyderik
2016-02-27Make single bar handle multiple outputsMikkel Oscar Lyderik
2016-02-26Correctly exit sway on errors.Mikkel Oscar Lyderik
Calling `exit` in sway_terminate prevents sway from correctly shutting down (freeing data, cleanly terminating the ipc server, etc.). A better way is to exit straight away if the failure occurs before `wlc_run` and use sway_abort as usual if it occur when wlc is running.
2016-01-25extract cairo_set_source_u32()Christoph Gysin
2016-01-25swaybar: Fix plaintext handling.Mikkel Oscar Lyderik
Fix #473
2016-01-25Fix colors off by oneMikkel Oscar Lyderik
2016-01-24swaybar: move headers to include/barMikkel Oscar Lyderik
2016-01-24swaybar: cleanup CmakeLists.txtMikkel Oscar Lyderik
2016-01-24swaybar: rename state to barMikkel Oscar Lyderik
2016-01-24swaybar: move core functionality to state.cMikkel Oscar Lyderik
2016-01-24swaybar: Move swaybar_teardown to free_stateMikkel Oscar Lyderik
2016-01-24swaybar: move ipc stuff to ipc.{h,c}Mikkel Oscar Lyderik
2016-01-24swaybar: feactor render, statuslineMikkel Oscar Lyderik
2016-01-24swaybar: Separate configMikkel Oscar Lyderik