aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
AgeCommit message (Collapse)Author
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
2016-06-11couple small fixesZandr Martin
2016-06-11cleanup + add timeouts for pid_workspace listZandr Martin
2016-06-11Merge branch 'master' into assign-commandZandr Martin
2016-06-06Fix segfault when using include with *thuck
This should fix the issue #681
2016-06-06messy, unfinished versionZandr Martin
2016-06-02Initial implementation for floating_maximum_sizeDenis Doria
2016-06-01Clean up not used variablesDenis Doria
2016-06-01Included option floating_minimum_sizeDenis Doria
Values cannot be negative or 0; if so uses the default 75x50. Uses the same syntax as i3: floating_minimum_size <width> x <height>, although the x can be anything.
2016-05-31Initial work for floating view with sane valuesDenis Doria
2016-05-14Support floating_scroll sidewaysMykyta Holubakha
2016-05-08Remove FSB_GAPS_INNER and FSB_GAPS_OUTERMykyta Holubakha
2016-05-07Implemented configurable floating scroll behaviorMykyta Holubakha
2016-05-05sway/config.c: fix double free issue as we need to store path in listDaniel Lockyer
2016-05-01Add input cmd for setting pointer accel profile.Jasen Borisov
2016-04-30sway/config.c: Initialise struct valueDaniel Lockyer
2016-04-29sway/config.c: Move the wordfree call before the if statement so it is ↵Daniel Lockyer
always called
2016-04-29sway/config.c: Change to the useful free_cmd_results helper methodDaniel Lockyer
2016-04-29sway/config.c: move free call to after sway_logDaniel Lockyer
2016-04-29sway/config.c: Leading on from cdf017c, we need to free pathDaniel Lockyer
2016-04-29sway/config.c: res->input is a malloc'ed section which wasn't freedDaniel Lockyer
2016-04-29sway/config.c: wordexp has a corresponding wordfree which was never usedDaniel Lockyer
I had to change the assignment to path to be wrapped by strdup as we pass the data out of the method.
2016-04-29sway/config.c: config_home is the result of a malloc but was never freedDaniel Lockyer
2016-04-24Renamed to pango_markupMykyta Holubakha
2016-04-24Added plaintext markup configurationMykyta Holubakha
2016-03-31Add cmds new_window and new_floatMikkel Oscar Lyderik
Makes it possible to set default layout style for new windows and new floating windows. Close #556
2016-03-30New feature: adjust gaps with floating_mod+scrollDrew DeVault
I made this configurable but I didn't make the command for it. That's left as an exercise to an eager contributor. mod_scroll_behavior [gaps inner|gaps outer] Would merge implementions of more behaviors for mod+scroll, if anyone has some neato ideas.
2016-03-30Implement bordersMikkel Oscar Lyderik
The borders are implemented as a surface/buffer attached to each view which is sent to and rendered by wlc in the view_pre_render callback. All the drawing logic is handled in sway/border.c and all the logic for calculating the geometry of the border/view is handled in `update_geometry` in sway/layout.c (same place as gaps are calculated).