D.B
ad4d21d60b
add bar colours for focused_(workspace|statusline|separator)
...
If these aren't defined in config, color settings without 'focused_'
prefix are used as a fallback.
8 years ago
Drew DeVault
c0916f6138
Use CAIRO_OPERATOR_SOURCE for swaybar
8 years ago
D.B
6f2c39610e
parse pango markup in workspace names (and bugfix)
...
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.
8 years ago
D.B
fe89d7fba3
Correctly scale swaybar
...
Fixes #910 . There were some missing multiplications with window->scale.
8 years ago
Drew DeVault
af44154119
Fix constant scale factor in font code
8 years ago
Drew DeVault
b2226ac655
Add client support for HiDPI
...
This adds HiDPI support to swaybar, swaybg, and swaylock.
8 years ago
Drew DeVault
416417a54c
Reorganize includes
8 years ago
David Eklov
c805e42635
Extract workspace size computation from render_workspace_button()
...
Also remove some unnecessary strtup()s and rename a few variables and functions.
9 years ago
Mykyta Holubakha
0f1cfdec61
Renamed to pango_markup
9 years ago
Mykyta Holubakha
ee4e245f16
Fix line length calculation
9 years ago
Mykyta Holubakha
53b53dd8c2
Added plaintext markup configuration
9 years ago
Mykyta Holubakha
a25c35f859
Passing missing argument to get_text_size
9 years ago
Drew DeVault
84fae94ab9
Flesh out pango markup implementation
9 years ago
Mikkel Oscar Lyderik
cefcce48aa
Make client/pango.h not depend on client/window.h
9 years ago
Christoph Gysin
a5345e807e
extract cairo_set_source_u32()
9 years ago
Mikkel Oscar Lyderik
123de86001
swaybar: Fix plaintext handling.
...
Fix #473
9 years ago
Mikkel Oscar Lyderik
96935f2682
Fix colors off by one
9 years ago
Mikkel Oscar Lyderik
ed227f5664
swaybar: move headers to include/bar
9 years ago
Mikkel Oscar Lyderik
aa6ad09183
swaybar: rename state to bar
9 years ago
Mikkel Oscar Lyderik
fcc47cb3bd
swaybar: move ipc stuff to ipc.{h,c}
9 years ago
Mikkel Oscar Lyderik
a6349a2444
swaybar: feactor render, statusline
9 years ago