aboutsummaryrefslogtreecommitdiff
path: root/common/stringop.c
AgeCommit message (Collapse)Author
2016-04-29common/stringop.c: a premature decrement meant an element of argv was never ↵Daniel Lockyer
released
2016-04-02Fix spelling mistakesEric Engestrom
2016-01-25Add quotes to multiword arguments.Mikkel Oscar Lyderik
This adds quotes around multiword arguments before they are passed to `/bin/sh -c` in an exec command. Example: I connect to irc like this: exec termite -e "mosh server tmux a" Without this patch the arguments are passed to sh as: termite -e mosh server tmux a When it should be: termite -e "mosh server tmux a" For the command to work.
2015-11-29Only strip comments at the start of a lineDrew DeVault
This is necessary because i3 config files use CSS notation for colors (i.e. #rrggbb).
2015-11-26Parse command line args for swaymsgDrew DeVault