aboutsummaryrefslogtreecommitdiff
path: root/swaybar
AgeCommit message (Collapse)AuthorLines
2016-12-15Handle malloc failure in ipc_recv_responseDrew DeVault-0/+3
2016-11-02add bar colours for focused_(workspace|statusline|separator)D.B-5/+42
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-1/+1
2016-10-12Use CAIRO_OPERATOR_SOURCE for swaybarDrew DeVault-0/+2
2016-10-07parse pango markup in workspace names (and bugfix)D.B-2/+2
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-6/+6
Fixes #910. There were some missing multiplications with window->scale.
2016-09-17Fix swaybar when running on named outputs.Ryan Dwyer-1/+1
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-2/+2
fixes #894
2016-09-05Fix constant scale factor in font codeDrew DeVault-11/+21
2016-09-05Add client support for HiDPIDrew DeVault-12/+18
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-09-05Initial testing on hidpi clientsDrew DeVault-1/+1
2016-09-01Reorganize includesDrew DeVault-16/+14
2016-07-30implement solid color rendering for swaybgZandr Martin-13/+1
2016-07-18Fix a warningHummer12007-1/+1
2016-07-17Implement configurable wrapping on bar ws scrollDrew DeVault-1/+38
2016-07-16Fix #753Drew DeVault-2/+6
2016-07-15Change workspace when mouse wheel is scrolled while hovering over the barDavid Eklov-1/+9
2016-07-15Rename pointer_input::notify to indicate that is called on button clicksDavid Eklov-1/+1
2016-07-14Send command to sway to change workspace when workspace button is clickedDavid Eklov-1/+6
2016-07-14Compute what workspace button is clickedDavid Eklov-1/+32
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-15/+19
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-0/+7
2016-07-04swaybar: Make swaybar a shell surfaceDavid Eklov-0/+2
2016-04-29Fix another -Wunused-resultDrew DeVault-1/+4
2016-04-28Fix missing include pathsTomáš Čech-1/+2
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-5/+5
2016-04-24Fix line length calculationMykyta Holubakha-1/+1
2016-04-24Added plaintext_markup to swaybar IPCMykyta Holubakha-0/+6
2016-04-24Added plaintext markup configurationMykyta Holubakha-1/+2
2016-04-24Merge pull request #598 from Hummer12007/pango_fixDrew DeVault-5/+5
Passing missing argument to get_text_size
2016-04-24Use i3bar format for markup field.Mikkel Oscar Lyderik-1/+5
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-5/+5
2016-04-17Flesh out pango markup implementationDrew DeVault-7/+13
2016-03-31Stop swaybar crashing without argscrondog-3/+11
2016-03-30Handle swaybar using sway fontMikkel Oscar Lyderik-1/+3
2016-03-30Make client/pango.h not depend on client/window.hMikkel Oscar Lyderik-11/+11
2016-02-27Poll before wl_display_dispatchMikkel Oscar Lyderik-15/+31
2016-02-27Differentiate between all or no outputsMikkel Oscar Lyderik-1/+5
2016-02-27Make single bar handle multiple outputsMikkel Oscar Lyderik-64/+145
2016-02-26Correctly exit sway on errors.Mikkel Oscar Lyderik-2/+2
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-8/+7
2016-01-25swaybar: Fix plaintext handling.Mikkel Oscar Lyderik-1/+1
Fix #473
2016-01-25Fix colors off by oneMikkel Oscar Lyderik-4/+4
2016-01-24swaybar: move headers to include/barMikkel Oscar Lyderik-222/+14
2016-01-24swaybar: cleanup CmakeLists.txtMikkel Oscar Lyderik-1/+0
2016-01-24swaybar: rename state to barMikkel Oscar Lyderik-273/+274
2016-01-24swaybar: move core functionality to state.cMikkel Oscar Lyderik-119/+124
2016-01-24swaybar: Move swaybar_teardown to free_stateMikkel Oscar Lyderik-49/+87
2016-01-24swaybar: move ipc stuff to ipc.{h,c}Mikkel Oscar Lyderik-301/+359
2016-01-24swaybar: feactor render, statuslineMikkel Oscar Lyderik-840/+968