aboutsummaryrefslogtreecommitdiff
path: root/swaybar/CMakeLists.txt
AgeCommit message (Collapse)Author
2017-06-07Implement Tray IconsCalvin Lee
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
2016-04-28Fix missing include pathsTomáš Čech
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-01-25extract cairo_set_source_u32()Christoph Gysin
2016-01-24swaybar: cleanup CmakeLists.txtMikkel Oscar Lyderik
2016-01-24swaybar: rename state to barMikkel Oscar Lyderik
2016-01-24swaybar: move ipc stuff to ipc.{h,c}Mikkel Oscar Lyderik
2016-01-24swaybar: feactor render, statuslineMikkel Oscar Lyderik
2016-01-24swaybar: Separate configMikkel Oscar Lyderik
2015-12-13Display workspaces on swaybarDrew DeVault
2015-12-02cmake: build common code only onceChristoph Gysin
This creates (static) libraries for protocols/, common/, and wayland/.
2015-12-01cmake: remove subprojectsChristoph Gysin
2015-12-01cmake: remove unnecessary quotesChristoph Gysin
2015-12-01cmake: use out-of-source buildChristoph Gysin
2015-12-01cmake: use tabs instead of spacesChristoph Gysin
2015-12-01cmake: style consistencyChristoph Gysin
2015-12-01cmake: convert all cmake commands to lowercaseChristoph Gysin
2015-11-29Add swaybar subprojectDrew DeVault