summaryrefslogtreecommitdiff
path: root/swaybar
AgeCommit message (Collapse)AuthorLines
2016-12-15Handle malloc failure in ipc_recv_responseFurkan Sahin-0/+3
2016-11-02add bar colours for focused_(workspace|statusline|separator)Furkan Sahin-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 falseFurkan Sahin-1/+1
2016-10-12Use CAIRO_OPERATOR_SOURCE for swaybarFurkan Sahin-0/+2
2016-10-07parse pango markup in workspace names (and bugfix)Furkan Sahin-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 swaybarFurkan Sahin-6/+6
Fixes #910. There were some missing multiplications with window->scale.
2016-09-17Fix swaybar when running on named outputs.Furkan Sahin-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 quotesFurkan Sahin-2/+2
fixes #894
2016-09-05Fix constant scale factor in font codeFurkan Sahin-11/+21
2016-09-05Add client support for HiDPIFurkan Sahin-12/+18
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-09-05Initial testing on hidpi clientsFurkan Sahin-1/+1
2016-09-01Reorganize includesFurkan Sahin-16/+14
2016-07-30implement solid color rendering for swaybgFurkan Sahin-13/+1
2016-07-18Fix a warningFurkan Sahin-1/+1
2016-07-17Implement configurable wrapping on bar ws scrollFurkan Sahin-1/+38
2016-07-16Fix #753Furkan Sahin-2/+6
2016-07-12Change workspace when mouse wheel is scrolled while hovering over the barFurkan Sahin-1/+9
2016-07-11Rename pointer_input::notify to indicate that is called on button clicksFurkan Sahin-1/+1
2016-07-11Send command to sway to change workspace when workspace button is clickedFurkan Sahin-1/+6
2016-07-11Compute what workspace button is clickedFurkan Sahin-1/+32
This commit does not do anything with this information other than logging it.
2016-07-10Extract workspace size computation from render_workspace_button()Furkan Sahin-15/+19
Also remove some unnecessary strtup()s and rename a few variables and functions.
2016-07-10Setup to receive mouse click events and log themFurkan Sahin-0/+7
2016-07-04swaybar: Make swaybar a shell surfaceFurkan Sahin-0/+2
2016-04-29Fix another -Wunused-resultFurkan Sahin-1/+4
2016-04-28Fix missing include pathsFurkan Sahin-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_markupFurkan Sahin-5/+5
2016-04-24Fix line length calculationFurkan Sahin-1/+1
2016-04-24Added plaintext_markup to swaybar IPCFurkan Sahin-0/+6
2016-04-24Added plaintext markup configurationFurkan Sahin-1/+2
2016-04-24Merge pull request #598 from Hummer12007/pango_fixFurkan Sahin-5/+5
Passing missing argument to get_text_size
2016-04-24Use i3bar format for markup field.Furkan Sahin-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_sizeFurkan Sahin-5/+5
2016-04-17Flesh out pango markup implementationFurkan Sahin-7/+13
2016-03-31Stop swaybar crashing without argsFurkan Sahin-3/+11
2016-03-29Handle swaybar using sway fontFurkan Sahin-1/+3
2016-03-28Make client/pango.h not depend on client/window.hFurkan Sahin-11/+11
2016-02-24Poll before wl_display_dispatchFurkan Sahin-15/+31
2016-02-23Differentiate between all or no outputsFurkan Sahin-1/+5
2016-02-22Make single bar handle multiple outputsFurkan Sahin-64/+145
2016-02-26Correctly exit sway on errors.Furkan Sahin-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()Furkan Sahin-8/+7
2016-01-25swaybar: Fix plaintext handling.Furkan Sahin-1/+1
Fix #473
2016-01-25Fix colors off by oneFurkan Sahin-4/+4
2016-01-24swaybar: move headers to include/barFurkan Sahin-222/+14
2016-01-24swaybar: cleanup CmakeLists.txtFurkan Sahin-1/+0
2016-01-24swaybar: rename state to barFurkan Sahin-273/+274
2016-01-24swaybar: move core functionality to state.cFurkan Sahin-119/+124
2016-01-24swaybar: Move swaybar_teardown to free_stateFurkan Sahin-49/+87
2016-01-24swaybar: move ipc stuff to ipc.{h,c}Furkan Sahin-301/+359
2016-01-23swaybar: feactor render, statuslineFurkan Sahin-840/+968