aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
AgeCommit message (Collapse)Author
2015-11-16cmd_output: Replace existing config if called multiple times.S. Christoffer Eliesen
2015-11-13Revert "Try ~/.i3/config earlier than /etc/sway/config"Drew DeVault
This reverts commit f0ceb4e909bb0182d10ce09d34019497aa8d5715.
2015-11-13Try ~/.i3/config earlier than /etc/sway/configDrew DeVault
And ~/.config/i3/config, of course.
2015-11-12Fix gaps for views being incorrectDrew DeVault
2015-11-04Learn "gaps edge_gaps <on|off|toggle>".S. Christoffer Eliesen
When yes, the old behaviour of adding half the inner gap around each view is used. When no, don't add any gap when an edge of the view aligns with the workspace. The result is inner gap only between views, not against the workspace edge. The algorithm is not perfect because it means the extra space is distributed amongst edge-aligned views only, but it's simple, looks good and it works.
2015-10-22ipc,commands,config: Replace cmd_status enum with cmd_results struct.S. Christoffer Eliesen
In i3 the ipc reply will contain a human readable error message, and this patch replicates that behaviour. However, that error message is also useful for logging, which this patch takes advantage of. E.g. instead of logging errors directly in commands.c/checkargs, it is fed back to the caller which eventually ends up logging everything with maximum context available (config.c/read_config). So instead of logging e.g. "Error on line 'exit'" it will now log: "Error on line 'exit': Can't execute from config."
2015-10-22config: Add "seamless_mouse" to decide if pointer crosses output edges.S. Christoffer Eliesen
2015-10-21config: Don't try to apply bad output resolution.S. Christoffer Eliesen
2015-10-21config: Apply output config also during config reload.S. Christoffer Eliesen
2015-09-20fix config search pathstaiyu
2015-09-14multi command keybindstaiyu
2015-09-13Revert "new_workspace null behavior + testmap functions + regex"Drew DeVault
This reverts commit e1d18e42a8f3a597b9bf5f1bb2ab6c346e4e7983. Fixes #180 cc @taiyu-len
2015-09-12new_workspace null behavior + testmap functions + regextaiyu
2015-09-10cmd status + workspace ws output optaiyu
2015-09-08remove old thingstaiyu
2015-09-08var replacement changestaiyu
2015-09-08fix missing symbol bugtaiyu
2015-09-08escape check fixtaiyu
2015-09-08set variable changestaiyu
2015-09-08fix outut typoThomas Wouters
2015-09-07strdup + styletaiyu
2015-09-07put strip_whitespace backtaiyu
2015-09-07config modestaiyu
2015-09-07free config stufftaiyu
2015-09-06free config when reloadingtaiyu
2015-09-06config_path cleanuptaiyu
2015-09-05gap resizetaiyu
2015-09-04enum for command typetaiyu
2015-09-04styletaiyu
2015-09-04better handling of commands during configtaiyu
2015-08-30Added in workspace_auto_back_and_forthLuminarys
2015-08-28default floating_modtaiyu
2015-08-27Added in default_orientation handlingLuminarys
2015-08-23split_string memory leaks cleaneduptaiyu
2015-08-22Implement output configuration through configDrew DeVault
Do not use `output res WIDTHxHEIGHT` yet, wlc has issues with it (cc @Cloudef)
2015-08-21fixed #108 signed/unsigned comparisonminus
2015-08-20Reset key buffer on reloadDrew DeVault
To preserve my sanity
2015-08-20Add command line parsingDrew DeVault
Closes #6
2015-08-19Fixed config pathaouelete
2015-08-19Fixed config loadingLuminarys
2015-08-19Set test to NULL when appropriateDrew DeVault
Thanks @SyedAmerGilani
2015-08-19Free environment vars after loading configDrew DeVault
Thanks @SyedAmerGilani
2015-08-19Refactor config file loadingDrew DeVault
2015-08-19Merge pull request #80 from SyedAmerGilani/fix_memory_leaksDrew DeVault
fix a few possible memory leaks
2015-08-19fixed string building for XDG_CONFIG_HOME config loadingSyed Amer Gilani
2015-08-19fix a few possible memory leaksSyed Amer Gilani
2015-08-18Removed debugging, added in proper gap resets for config reloadsLuminarys
2015-08-18Merge pull request #73 from KoffeinFlummi/gapsDrew DeVault
Add support for gaps option
2015-08-19Merge remote-tracking branch 'upstream/master' into gapsKoffeinFlummi
2015-08-18Fix indented comments being weirdDrew DeVault