summaryrefslogtreecommitdiffstats
path: root/swaybar
Commit message (Collapse)AuthorAge
* Merge branch 'master' into trayLibravatar Drew DeVault2017-06-14
|\
| * swaybar: Group child processes for signallingLibravatar Yury Krivopalov2017-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes child proccess killing, when status_command is a complex command like "i3status | wrapper.sh". Set the process group id of the child process by calling `setpgid` after forking and before calling `exec`. The process group ID will be set to the process ID of the forked process. Processes spawned by this child process will also have this group ID. Send signals to the process group with `killpg`. This will send the signal to all of the process group.
* | Remove Xembed SupportLibravatar Calvin Lee2017-06-13
| | | | | | | | | | | | | | Xembed support is premature in sway and should be postponed. This commit only removes swaybar starting xembedsniproxy, if users would like, they can still start xembedsniproxy manually, however there will be no official support.
* | Fix Catching NewIcon SignalLibravatar Calvin Lee2017-06-08
| | | | | | | | | | The unique name was not copied out of the wire marshalled DBus message data so `sni_uniq_cmp` would always match against junk data.
* | Reorganize Tray CodeLibravatar Calvin Lee2017-06-07
| | | | | | | | Remove tray code from bar.c and render.c
* | Fix cairo blending on tray iconsLibravatar Drew DeVault2017-06-07
| |
* | Implement Tray IconsLibravatar Calvin Lee2017-06-07
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements the StatusNotifierItem protocol, and enables swaybar to show tray icons. It also uses `xembedsniproxy` in order to communicate with xembed applications. The tray is completely optional, and can be disabled on compile time with the `enable-tray` option. Or on runtime with the bar config option `tray_output none`. Overview of changes: In swaybar very little is changed outside the tray subfolder except that all events are now polled in `event_loop.c`, this creates no functional difference. Six bar configuration options were added, these are detailed in sway-bar(5) The tray subfolder is where all protocol implementation takes place and is organised as follows: tray/sni_watcher.c: This file contains the StatusNotifierWatcher. It keeps track of items and hosts and reports when they come or go. tray/tray.c This file contains the StatusNotifierHost. It keeps track of sway's version of the items and represents the tray itself. tray/sni.c This file contains the StatusNotifierItem struct and all communication with individual items. tray/icon.c This file implements the icon theme protocol. It allows for finding icons by name, rather than by pixmap. tray/dbus.c This file allows for asynchronous DBus communication. See #986 #343
* Add -DVERSION flag for release version numbersLibravatar Sebastian Noack2017-04-26
|
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* Handle malloc failure in ipc_recv_responseLibravatar Drew DeVault2016-12-15
|
* add bar colours for focused_(workspace|statusline|separator)Libravatar D.B2016-11-02
| | | | | If these aren't defined in config, color settings without 'focused_' prefix are used as a fallback.
* config: set pango_markup default to falseLibravatar Mykyta Holubakha2016-10-20
|
* Use CAIRO_OPERATOR_SOURCE for swaybarLibravatar Drew DeVault2016-10-12
|
* parse pango markup in workspace names (and bugfix)Libravatar D.B2016-10-07
| | | | | | 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.
* Correctly scale swaybarLibravatar D.B2016-09-29
| | | | Fixes #910. There were some missing multiplications with window->scale.
* Fix swaybar when running on named outputs.Libravatar Ryan Dwyer2016-09-17
| | | | | | | | | | 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.
* swaybar sends workspace name in quotesLibravatar D.B2016-09-12
| | | | fixes #894
* Fix constant scale factor in font codeLibravatar Drew DeVault2016-09-05
|
* Add client support for HiDPILibravatar Drew DeVault2016-09-05
| | | | This adds HiDPI support to swaybar, swaybg, and swaylock.
* Initial testing on hidpi clientsLibravatar Drew DeVault2016-09-05
|
* Reorganize includesLibravatar Drew DeVault2016-09-01
|
* implement solid color rendering for swaybgLibravatar Zandr Martin2016-07-30
|
* Fix a warningLibravatar Hummer120072016-07-18
|
* Implement configurable wrapping on bar ws scrollLibravatar Drew DeVault2016-07-17
|
* Fix #753Libravatar Drew DeVault2016-07-16
|
* Change workspace when mouse wheel is scrolled while hovering over the barLibravatar David Eklov2016-07-15
|
* Rename pointer_input::notify to indicate that is called on button clicksLibravatar David Eklov2016-07-15
|
* Send command to sway to change workspace when workspace button is clickedLibravatar David Eklov2016-07-14
|
* Compute what workspace button is clickedLibravatar David Eklov2016-07-14
| | | | This commit does not do anything with this information other than logging it.
* Extract workspace size computation from render_workspace_button()Libravatar David Eklov2016-07-14
| | | | Also remove some unnecessary strtup()s and rename a few variables and functions.
* Setup to receive mouse click events and log themLibravatar David Eklov2016-07-14
|
* swaybar: Make swaybar a shell surfaceLibravatar David Eklov2016-07-04
|
* Fix another -Wunused-resultLibravatar Drew DeVault2016-04-29
|
* Fix missing include pathsLibravatar Tomáš Čech2016-04-28
| | | | | | When headers were installed in more sofisticated places (but package config knows it right), it revealed missing paths in CMake configuration. Lets fix it.
* Renamed to pango_markupLibravatar Mykyta Holubakha2016-04-24
|
* Fix line length calculationLibravatar Mykyta Holubakha2016-04-24
|
* Added plaintext_markup to swaybar IPCLibravatar Mykyta Holubakha2016-04-24
|
* Added plaintext markup configurationLibravatar Mykyta Holubakha2016-04-24
|
* Merge pull request #598 from Hummer12007/pango_fixLibravatar Drew DeVault2016-04-24
|\ | | | | Passing missing argument to get_text_size
| * Passing missing argument to get_text_sizeLibravatar Mykyta Holubakha2016-04-24
| |
* | Use i3bar format for markup field.Libravatar Mikkel Oscar Lyderik2016-04-24
|/ | | | | | | | 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
* Flesh out pango markup implementationLibravatar Drew DeVault2016-04-17
|
* Stop swaybar crashing without argsLibravatar crondog2016-03-31
|
* Handle swaybar using sway fontLibravatar Mikkel Oscar Lyderik2016-03-30
|
* Make client/pango.h not depend on client/window.hLibravatar Mikkel Oscar Lyderik2016-03-30
|
* Poll before wl_display_dispatchLibravatar Mikkel Oscar Lyderik2016-02-27
|
* Differentiate between all or no outputsLibravatar Mikkel Oscar Lyderik2016-02-27
|
* Make single bar handle multiple outputsLibravatar Mikkel Oscar Lyderik2016-02-27
|
* Correctly exit sway on errors.Libravatar Mikkel Oscar Lyderik2016-02-26
| | | | | | | | 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.
* extract cairo_set_source_u32()Libravatar Christoph Gysin2016-01-25
|