aboutsummaryrefslogtreecommitdiff
path: root/sb.c
diff options
context:
space:
mode:
authormutantturkey <crazycal00@gmail.com>2010-05-29 06:44:57 -0400
committermutantturkey <crazycal00@gmail.com>2010-05-29 06:44:57 -0400
commit29984943512a81c67b899bbe52166cb476fb836e (patch)
tree8de24402f7d24986f314b1f7cc5c19e53fd5d20b /sb.c
parent34d05f5bbdfcdf2e178fc29719296344404083f2 (diff)
i fixed it lol, was a absolute path now it is relative
Diffstat (limited to 'sb.c')
-rw-r--r--sb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sb.c b/sb.c
index 7b2b262..418ba1f 100644
--- a/sb.c
+++ b/sb.c
@@ -198,7 +198,8 @@ gtk_widget_grab_focus(w.bar);
static void history_command() {
gchar *returned;
-g_spawn_command_line_sync("sh -c 'sort /home/calvin/.history | dmenu -l 15 -xs -c'", &returned, NULL, NULL, NULL);
+gchar *url;
+g_spawn_command_line_sync("sh -c 'sort ~/.history | dmenu -l 15 -xs -c'", &returned, NULL, NULL, NULL);
load_uri(returned);
g_free(returned);
}