summaryrefslogtreecommitdiff
path: root/swaybar/render.c
AgeCommit message (Collapse)AuthorLines
2016-11-02add bar colours for focused_(workspace|statusline|separator)D.B-5/+19
If these aren't defined in config, color settings without 'focused_' prefix are used as a fallback.
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-05Fix constant scale factor in font codeDrew DeVault-11/+21
2016-09-05Add client support for HiDPIDrew DeVault-9/+12
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-09-01Reorganize includesDrew DeVault-3/+3
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-04-24Renamed to pango_markupMykyta Holubakha-2/+2
2016-04-24Fix line length calculationMykyta Holubakha-1/+1
2016-04-24Added plaintext markup configurationMykyta Holubakha-1/+1
2016-04-24Passing missing argument to get_text_sizeMykyta Holubakha-5/+5
2016-04-17Flesh out pango markup implementationDrew DeVault-6/+7
2016-03-30Make client/pango.h not depend on client/window.hMikkel Oscar Lyderik-11/+11
2016-01-25extract cairo_set_source_u32()Christoph Gysin-8/+1
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-3/+3
2016-01-24swaybar: rename state to barMikkel Oscar Lyderik-4/+4
2016-01-24swaybar: move ipc stuff to ipc.{h,c}Mikkel Oscar Lyderik-24/+41
2016-01-24swaybar: feactor render, statuslineMikkel Oscar Lyderik-0/+311