aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar/config.c
Commit message (Collapse)AuthorAge
* swaybar: disallow left and right position and print error on defaultLibravatar Rouven Czerwinski2018-10-20
| | | | | | | | The positions "left" and "right" are not allowed by the man page, remove them from the allowed positions. Also print an error to stderr if we default to the bottom position. Fixes #2878
* swaybar: handle mode/hidden_state changesLibravatar Ian Fan2018-10-14
| | | | | | | | | As well as adding the hidden_state property to the bar config struct, this commit handles barconfig_update events when the mode or hidden_state changes, and uses a new function determine_bar_visibility to hide or show the bar as required, using, respectively, destroy_layer_surface, which is also newly added, and add_layer_surface, which has been changed to allow dynamically adding the surface.
* bar-bindsym: address ianyfan's commentsLibravatar Brian Ashworth2018-10-09
|
* Implement bar bindsymLibravatar Brian Ashworth2018-10-09
|
* Turn funcs() into funcs(void)Libravatar Arkadiusz Hiler2018-09-30
| | | | If they really do not take undefined number of arguments.
* Fix a bunch of swaybar memory leaksLibravatar emersion2018-04-24
|
* Implement status lineLibravatar Drew DeVault2018-03-29
| | | | Does not yet support i3bar json protocol
* Pixel-perfect renderingLibravatar Drew DeVault2018-03-29
|
* Wire up basic IPC supportLibravatar Drew DeVault2018-03-29
|
* Start port of swaybar to layer shellLibravatar Drew DeVault2018-03-29
| | | | | | This starts up the event loop and wayland display and shims out the basic top level rendering concepts. Also includes some changes to incorporate pango into the 1.x codebase properly.
* 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
|
* config: set pango_markup default to falseLibravatar Mykyta Holubakha2016-10-20
|
* Reorganize includesLibravatar Drew DeVault2016-09-01
|
* implement solid color rendering for swaybgLibravatar Zandr Martin2016-07-30
|
* Implement configurable wrapping on bar ws scrollLibravatar Drew DeVault2016-07-17
|
* Renamed to pango_markupLibravatar Mykyta Holubakha2016-04-24
|
* Added plaintext markup configurationLibravatar Mykyta Holubakha2016-04-24
|
* Handle swaybar using sway fontLibravatar Mikkel Oscar Lyderik2016-03-30
|
* Differentiate between all or no outputsLibravatar 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
|
* swaybar: move ipc stuff to ipc.{h,c}Libravatar Mikkel Oscar Lyderik2016-01-24
|
* swaybar: Separate configLibravatar Mikkel Oscar Lyderik2016-01-24