@ -164,7 +164,9 @@ static void handle_button_release(xcb_connection_t *conn, xcb_button_release_eve
|
||||
char *link_path;
|
||||
char *exe_path = get_exe_path(argv0);
|
||||
sasprintf(&link_path, "%s.nagbar_cmd", script_path);
|
||||
symlink(exe_path, link_path);
|
||||
if (symlink(exe_path, link_path) == -1) {
|
||||
err(EXIT_FAILURE, "Failed to symlink %s to %s", link_path, exe_path);
|
||||
}
|
||||
|
||||
char *terminal_cmd;
|
||||
sasprintf(&terminal_cmd, "i3-sensible-terminal -e %s", link_path);
|
||||
|
Reference in New Issue
Block a user