aboutsummaryrefslogtreecommitdiff
path: root/include/commands.h
AgeCommit message (Collapse)AuthorLines
2016-01-19libinputCole Mickens-1/+2
2015-11-29Add framework for switching command setsDrew DeVault-1/+1
This will allow the bar {} block to have a different command set (and also bar { colors { } }.
2015-11-29Add bar config struct and defaultsDrew DeVault-0/+2
2015-11-08Add some documentation commentsDrew DeVault-7/+33
This is mostly setting a precedent, I hope that others will continue to write docs for more headers. Ref #218
2015-10-29commands: Learn mouse_warping.S. Christoffer Eliesen-0/+1
Place mouse at center of focused view when changing to a workspace on a different output, if option is enabled. (This replicates existing i3 option.) This can be triggered in multiple ways: A) via `workspace <name>` which changes output B) via `focus <direction>` which changes output C) via `focus output <name>` which (obviously) changes output
2015-10-23commands: cmd_results->input is duplicated/freed.S. Christoffer Eliesen-2/+1
2015-10-22ipc,commands,config: Replace cmd_status enum with cmd_results struct.S. Christoffer Eliesen-4/+16
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-09-14multi command keybindstaiyu-7/+9
2015-09-13Revert "new_workspace null behavior + testmap functions + regex"Drew DeVault-9/+7
This reverts commit e1d18e42a8f3a597b9bf5f1bb2ab6c346e4e7983. Fixes #180 cc @taiyu-len
2015-09-12new_workspace null behavior + testmap functions + regextaiyu-7/+9
2015-09-10cmd status + workspace ws output optaiyu-8/+7
2015-09-08mode supports multi token namestaiyu-1/+0
2015-09-08var replacement changestaiyu-0/+2
2015-09-07config modestaiyu-2/+2
2015-09-04remove outdated commenttaiyu-3/+0
2015-09-04enum for command typetaiyu-1/+5
2015-09-04better handling of commands during configtaiyu-0/+5
2015-08-29Made scratchpad handling identical to i3Luminarys-0/+2
2015-08-16Move headers to include/Drew DeVault-0/+13