summaryrefslogtreecommitdiffstats
path: root/swaybar/bar.c
Commit message (Collapse)AuthorAge
* Reorganize Tray CodeLibravatar Calvin Lee2017-06-07
| | | | Remove tray code from bar.c and render.c
* 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
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* 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
|
* 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
|
* Compute what workspace button is clickedLibravatar David Eklov2016-07-14
| | | | This commit does not do anything with this information other than logging it.
* 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
|
* Stop swaybar crashing without argsLibravatar crondog2016-03-31
|
* Poll before wl_display_dispatchLibravatar Mikkel Oscar Lyderik2016-02-27
|
* Make single bar handle multiple outputsLibravatar Mikkel Oscar Lyderik2016-02-27
|
* swaybar: move headers to include/barLibravatar Mikkel Oscar Lyderik2016-01-24
|
* swaybar: rename state to barLibravatar Mikkel Oscar Lyderik2016-01-24