Expand ~ in launcher_item_app
git-svn-id: http://tint2.googlecode.com/svn/trunk@726 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
committed by
mrovi9000@gmail.com
parent
0d1b78d808
commit
ba40b0752f
@@ -43,6 +43,13 @@ int parse_line (const char *line, char **key, char **value);
|
||||
// execute a command by calling fork
|
||||
void tint_exec(const char* command);
|
||||
|
||||
// Returns a copy of s in which "~" is expanded to the path to the user's home directory.
|
||||
// The returned string must be freed by the caller.
|
||||
char *expand_tilde(char *s);
|
||||
|
||||
// The opposite of expand_tilde: replaces the path to the user's home directory with "~".
|
||||
// The returned string must be freed by the caller.
|
||||
char *contract_tilde(char *s);
|
||||
|
||||
// conversion
|
||||
int hex_char_to_int (char c);
|
||||
|
||||
Reference in New Issue
Block a user