summaryrefslogtreecommitdiffstats
path: root/sway/ipc-json.c
Commit message (Collapse)AuthorAge
* Fix crash on swaygrab with scratchpad populatedLibravatar Drew DeVault2017-10-08
| | | | Fixes #1217
* ipc/tree: populate `focus` fieldsLibravatar lbonn2017-10-08
| | | | Ids of children, by order of focus
* ipc/tree: output mandatory fields for all nodesLibravatar lbonn2017-10-08
| | | | Still missing: focus
* 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
|
* Remain compat with libinput < 1.7.0Libravatar Jerzi Kaminsky2017-04-14
|
* Add pretty printing to swaymsgLibravatar Drew DeVault2017-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If stdout is a tty, it will pretty print unless -r (--raw) is given. Sample outputs: ``` ~/s/s/build > ./bin/swaymsg fullscreen toggle Error: Permission denied for fullscreen toggle via IPC ~/s/s/build > ./bin/swaymsg -t get_workspaces Workspace 3:三 Output: DVI-I-1 Layout: splith Workspace 1:一 (off-screen) Output: HDMI-A-1 Layout: splith Workspace 5:五 (focused) Output: HDMI-A-1 Layout: splith ~/s/s/build > ./bin/swaymsg -t get_inputs Input device Metadot - Das Keyboard Das Keyboard Type: Keyboard Sway ID: 9456:320:Metadot_-_Das_Keyboard_Das_Keyb Input device Wacom Intuos S 2 Pen Type: Tablet tool Sway ID: 1386:827:Wacom_Intuos_S_2 Input device Wacom Intuos S 2 Pad Type: Tablet pad Sway ID: 1386:827:Wacom_Intuos_S_2 Input device Logitech Gaming Mouse G502 Type: Keyboard, Mouse Sway ID: 1133:49277:Logitech_Gaming_Mous ~/s/s/build > ./bin/swaymsg -t get_outputs Output DVI-I-1 Geometry: 1920x1080 @ 3840,0 Scale factor: 1x Workspace: 3:三 Output DVI-D-1 Geometry: 1920x1080 @ 0,0 Scale factor: 1x Workspace: 4:四 Output HDMI-A-1 Geometry: 1920x1080 @ 1920,0 Scale factor: 1x Workspace: 5:五 ```
* Add window instance supportLibravatar Mykyta Holubakha2017-01-19
|
* Fix workspace layouts in json dataLibravatar Hummer120072017-01-06
|
* Handle calloc failuresLibravatar Drew DeVault2016-12-15
|
* change bar colors from char[10] to *charLibravatar D.B2016-11-02
| | | | | This commit removes has_* booleans from bar color struct. It also generalizes of functions in commands/bar/colors.c.
* 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.
* use urgent_ws color in swaybar if binding_mode is undefinedLibravatar D.B2016-11-02
|
* consolidate nodes jsonLibravatar Zandr Martin2016-10-02
|
* add unique IDs to containersLibravatar Zandr Martin2016-09-21
|
* implement "focused container" feature for swaygrabLibravatar Zandr Martin2016-09-18
|
* take four!Libravatar Zandr Martin2016-09-17
|
* Reorganize includesLibravatar Drew DeVault2016-09-01
|
* ipc: always include nodes in viewsLibravatar Tony Crisci2016-08-04
| | | | This is for i3 (and i3ipc library) compatability.
* Use uintptr_t for ipc container idLibravatar Tony Crisci2016-08-03
| | | | This is for compatability with i3.
* remove unmanaged nodes from get_treeLibravatar Zandr Martin2016-08-02
|
* Update IPC JSON responses for HiDPI setupsLibravatar Drew DeVault2016-07-28
|
* Handle transient_forLibravatar Mykyta Holubakha2016-07-21
|
* Unite describe_view and describe_windowLibravatar Mykyta Holubakha2016-07-21
|
* More progress on window eventsLibravatar Mykyta Holubakha2016-07-21
|
* Implement configurable wrapping on bar ws scrollLibravatar Drew DeVault2016-07-17
|
* Fix a memory leakLibravatar Hummer120072016-07-17
|
* Fix build on x86Libravatar Mykyta Holubakha2016-07-12
|
* get_tree json fixesLibravatar Zandr Martin2016-07-05
| | | | | | - null pointer check against container names - use actual json null values instead of "null" strings - add "visible" property to all containers
* fix typo in ipc-json.cLibravatar Zandr Martin2016-07-04
|
* implement `get_tree` commandLibravatar Zandr Martin2016-07-04