summaryrefslogtreecommitdiff
path: root/common/stringop.c
AgeCommit message (Collapse)AuthorLines
2016-04-29common/stringop.c: a premature decrement meant an element of argv was never ↵Furkan Sahin-1/+1
released
2016-04-02Fix spelling mistakesFurkan Sahin-1/+1
2016-01-25Add quotes to multiword arguments.Furkan Sahin-0/+26
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 lineFurkan Sahin-20/+0
This is necessary because i3 config files use CSS notation for colors (i.e. #rrggbb).
2015-11-26Parse command line args for swaymsgFurkan Sahin-0/+382