summaryrefslogtreecommitdiffstats
path: root/swaybar/CMakeLists.txt
Commit message (Collapse)AuthorAge
* [swaybar] fix non-dbus buildLibravatar Tobias Blass2017-07-20
| | | | | Swaybar's CMakeLists.txt uses the enable-tray option directly to decide whether to build the tray. This leads to a compilation error if dbus is not installed. This patch uses the ENABLE_TRAY variable instead, which is only true if the user enabled the tray *and* dbus is available.
* 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
* 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.
* extract cairo_set_source_u32()Libravatar Christoph Gysin2016-01-25
|
* swaybar: cleanup CmakeLists.txtLibravatar Mikkel Oscar Lyderik2016-01-24
|
* swaybar: rename state to barLibravatar Mikkel Oscar Lyderik2016-01-24
|
* swaybar: move ipc stuff to ipc.{h,c}Libravatar Mikkel Oscar Lyderik2016-01-24
|
* swaybar: feactor render, statuslineLibravatar Mikkel Oscar Lyderik2016-01-24
|
* swaybar: Separate configLibravatar Mikkel Oscar Lyderik2016-01-24
|
* Display workspaces on swaybarLibravatar Drew DeVault2015-12-13
|
* cmake: build common code only onceLibravatar Christoph Gysin2015-12-02
| | | | This creates (static) libraries for protocols/, common/, and wayland/.
* cmake: remove subprojectsLibravatar Christoph Gysin2015-12-01
|
* cmake: remove unnecessary quotesLibravatar Christoph Gysin2015-12-01
|
* cmake: use out-of-source buildLibravatar Christoph Gysin2015-12-01
|
* cmake: use tabs instead of spacesLibravatar Christoph Gysin2015-12-01
|
* cmake: style consistencyLibravatar Christoph Gysin2015-12-01
|
* cmake: convert all cmake commands to lowercaseLibravatar Christoph Gysin2015-12-01
|
* Add swaybar subprojectLibravatar Drew DeVault2015-11-29