aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
AgeCommit message (Collapse)Author
2018-05-13Idle handling for dpms/lockscreen et alMattias Eriksson
Swayidle handles idle events and allows for dpms and lockscreen handling. It also handles systemd sleep events, and can raise a lockscreen on sleep Fixes #541
2018-05-10Use reasonable default for font heightRyan Dwyer
Fixes #1949
2018-05-05Move code for re-arranging after font height change into a common placeRyan Dwyer
2018-05-03Fix unfocused.text defaultDrew DeVault
2018-05-03Convert border_colors.text to float[4]Drew DeVault
2018-05-03Calculate config->font_height based on existing container titlesRyan Dwyer
2018-05-03Render titlesRyan Dwyer
2018-05-01Remove unnecessary pointersRyan Dwyer
2018-04-30Implement bordersRyan Dwyer
Implements rendering of borders. Title text is still to do. Implements the following configuration directives: * client.focused * client.focused_inactive * client.unfocused * client.urgent * border * default_border
2018-04-02rename seat functionsTony Crisci
2018-03-31Implement focus_follows_mouseDrew DeVault
Also contains two other small changes: - Clicking any button will focus the container clicked (not just left) - Remove seamless_mouse (doesn't make sense on wlroots)
2018-03-31Free bar configs on reload and exitDrew DeVault
2018-03-30Merge remote-tracking branch 'origin/wlroots' into swaybar-layersDrew DeVault
2018-03-29Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"Tony Crisci
This reverts commit 472e81f35d689d67cda241acafda91c688d61046, reversing changes made to 6b7841b11ff4cd35f54d69dc92029855893e5ce0.
2018-03-29Revert "Refactor tree"Drew DeVault
2018-03-29Move bar config into its own fileDrew DeVault
2018-03-29Add bar configuration commandsDrew DeVault
2018-03-29Implement enough IPC for swaybar to workDrew DeVault
2018-03-29move tree includes to their own directoryTony Crisci
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).