aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
AgeCommit message (Collapse)Author
2018-01-30Implement workspacesDrew DeVault
2018-01-22commands/reload: remove unimplemented 'load_swaybars' callDominique Martinet
2018-01-22config reload: destroy old seat when removed from configDominique Martinet
This adds new sway_seat_destroy and sway_cursor_destroy helpers and compare new and old config on free
2018-01-22commands: add 'reload' commandDominique Martinet
2018-01-22Merge pull request #1574 from acrisci/config-refactoremersion
Command criteria
2018-01-20seat config handler contextTony Crisci
2018-01-20input config handler contextTony Crisci
2018-01-17copy config references for input and seatTony Crisci
2018-01-05sway: change all sway_log to wlr_logDominique Martinet
2018-01-05config: add 'set' commandDominique Martinet
2018-01-05fixup free config use free_sway_bindingDominique Martinet
2018-01-05config: leak sanitizer passDominique Martinet
Add free for everything that's implemented right now. Will need to add more as the implementations are re-added.
2018-01-05fix typos in comments/messages; add shutting down messageDominique Martinet
2017-12-27binding configTony Crisci
2017-12-16put seat and input config in their own filesTony Crisci
2017-12-15xkb configTony Crisci
2017-12-14basic configurationTony Crisci
2017-12-12seat configurationTony Crisci
2017-12-12config cleanupTony Crisci
2017-12-12sway input deviceTony Crisci
2017-12-11input configTony Crisci
2017-12-05Add include commandemersion
2017-12-05Add minimal config subsystememersion
2017-11-18Move everything to sway/old/Drew DeVault
2017-11-11Initial (awful) pass on xdg shell supportDrew DeVault
2017-11-11Initialize outputs from backend and add to treeDrew DeVault
2017-10-14Add scale to merge_output_configDavid Hurst
2017-10-06Security config: skip hidden fileslbonn
Also: fix a small memory leak
2017-10-05Clean up output commandCalvin Lee
Plugs memory leaks during failure of the output command and in other circumstances and fixes `bg` option. Fixes #1381
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
2017-06-06FreeBSD fixesjohalun
Increase _POSIX_SOURCE value where needed. Increase _XOPEN_SOURCE value where needed. Conditionally link to libcap (only on Linux). Possibly some trailing whitespace fixes (automatic).
2017-04-26Implement no_focusDrew DeVault
Ref #2
2017-04-19explicitly ignore unused return valueTomáš Čech
fixes issue#1182
2017-04-18Prevent sway from duplicating on a failed forkCalvin Lee
Also remove a useless `sway_log` and replace it with a pipe
2017-04-03Impliment i3-style marksCalvin Lee
This commit adds three commands to sway: `show_marks`, `mark` and `unmark`. Marks are displayed right-aligned in the window border as i3 does. Marks may be found using criteria. Fixes #1007
2017-03-16Allow also 444 for security file modeJaanus Torp
2017-03-10UnGNUify the codebaseDrew DeVault
2017-03-10Further indentation correctionsDrew DeVault
2017-02-20Read configs from /etc/sway/security.d/*Drew DeVault
2017-02-20Add initial support code for new IPC securityDrew DeVault
2017-01-08Fix format errorDrew DeVault
2016-12-23Update default swaybar commandDrew DeVault
Fixes #988
2016-12-17Change how security config is loadedDrew DeVault
2016-12-15Handle calloc failuresDrew DeVault
2016-12-15Handle config-related allocation failuresDrew DeVault
2016-12-15Handle malloc failures from read_lineDrew DeVault
2016-12-02Add IPC security policy command handlersDrew DeVault
2016-12-02Add IPC policy to configDrew DeVault
Also reduces enum abuse, cc @minus7
2016-12-02Add support for command policies in config fileDrew DeVault
2016-12-01Add config related code and initial headersDrew DeVault