From e19fb9a4958f03e4df07cb6a7f0d11a25f5eb86c Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Mon, 3 Aug 2020 03:11:53 +0530 Subject: Fixes no cwd issue --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.h') diff --git a/config.h b/config.h index 3b919de..ac19c0a 100644 --- a/config.h +++ b/config.h @@ -62,7 +62,7 @@ Key keys[] = { // Mod Key // Command // Application {{{ - { Super, XK_Return, cmd("sensible-terminal -d $(xcwd)") }, + { Super, XK_Return, cmd("sensible-terminal -d $(xcwd || echo '~')") }, { Super|ShiftMask, XK_Return, cmd("~/.bin/tst -d $(xcwd)") }, { Super, XK_c, cmd("sensible-browser") }, -- cgit v1.3.1