aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
AgeCommit message (Collapse)Author
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).
2016-03-30Add border <none|normal|toggle|pixel> configMikkel Oscar Lyderik
2016-03-30Implement parsing of hide_edge_bordersMikkel Oscar Lyderik
2016-03-30Make pango: prefix optional for font configMikkel Oscar Lyderik
2016-03-30Add default border colorsMikkel Oscar Lyderik
2016-03-26Don't try to read config if not a file.Mikkel Oscar Lyderik
2016-03-26Add config path to error msgMikkel Oscar Lyderik
2016-03-26Implement include commandMikkel Oscar Lyderik
The include command (`include <path>`) makes it possible to include sub config files from the main config file (or from within other sub config files). The include command uses the following rules for including config files: * the `path` can be either a full path or a path that is relative to the parent config. Shell expansion is supported, so it's possible to do `include ~/.config/sway.d/*`. * The same config file can only be included once (to prevent include cycles). If a config is included multiple times it will just be ignored after it has been included once. * Including a sub config file is the same as inserting the content of that file into the parent config, thus rules about overwriting bindsyms etc. works the same as for a single config. Implement #542
2016-03-24Gracefully exit when config is not foundMikkel Oscar Lyderik
This makes sure that sway will gracefully exit if the config is not found or sway is unable to read it.
2016-03-20Implement 'smart_gaps' feature from i3-gapsMikkel Oscar Lyderik
2016-02-27Free config before exiting sway.Mikkel Oscar Lyderik
Apart from freeing the sway_config struct, this also terminates the swaybars spawned by sway, since they are linked by PID to the bar config structs.
2016-02-27Improve how swaybars are spawnedMikkel Oscar Lyderik
2016-02-27Make sway spawn only one bar per bar configMikkel Oscar Lyderik
2016-01-27font: Allow adding font to the config. In prep for border titlescrondog
v2: Give default font and make bar use it if no bar font
2016-01-21Fix issue #455Yacine Hmito
CMAKE_INSTALL_FULL_SYSCONFIG is not actually passed to the C preprocessor. I remember it working, so I must have messed up somewhere last time I touched this. This is fixed by manually passing its value to the C preprocessor through the SYSCONFDIR definition
2016-01-21Fix memory leak in config.cDrew DeVault
Thanks @jollywho
2016-01-19libinputCole Mickens
2016-01-09Add support for bincode commandMikkel Oscar Lyderik
If a bindsym and bincode maps to the same combination, the last one will overwrite any previous mappings.
2016-01-08Add function for duplication a sway_bindingMikkel Oscar Lyderik
2016-01-05Only send modifier event once for active modifiersMikkel Oscar Lyderik
This makes sure that a modifier event is only sent for active bar modifiers, and that it is only sent once for each of those modifiers. An active bar modifier is a modifier defined for a bar with `mode hide` and `hidden_state hide`.