aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
AgeCommit message (Collapse)Author
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
2016-11-03swap unnecessary function for strndupD.B
2016-11-02change bar colors from char[10] to *charD.B
This commit removes has_* booleans from bar color struct. It also generalizes of functions in commands/bar/colors.c.
2016-11-02use urgent_ws color in swaybar if binding_mode is undefinedD.B
2016-10-25Add left_handed support for input devicesMichał Winiarski
Some users may want to switch buttons on their input devices, turns out libinput already supports it. Let's add a support for it in our config. Signed-off-by: Michał Winiarski <knr@hardline.pl>
2016-10-20config: set pango_markup default to falseMykyta Holubakha
2016-09-17Fix swaybar when running on named outputs.Ryan Dwyer
When using a bar on a named output, load_swaybars() requires the output to be active (ie. in the root container), but this is not the case if the bar is added to the last output. To fix this, load_swaybars() is now called after the output has been added to the root container. After fixing that, swaybar would segfault due to using the wrong index variable when loading outputs and config.
2016-09-01Reorganize includesDrew DeVault
2016-08-20Avoid dereferencing null configurationJames Murphy
Fixes: https://github.com/SirCmpwn/sway/issues/865
2016-08-10Handle output disabling during runtimeD.B
Output now gets disabled if disable command is invoked via bindsym or IPC.
2016-08-02fixed uninitialized bar.wrap_scrollminus
2016-07-28Update hidpi support to latest wlc APIDrew DeVault
2016-07-28Initial pass on HiDPI supportDrew DeVault
2016-07-18clean up apply_input_configminus
2016-07-17Turn swaybg into a shell surfaceDrew DeVault