aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-08-03 03:11:53 +0530
committerAkshay Nair <phenax5@gmail.com>2020-08-03 03:11:53 +0530
commite19fb9a4958f03e4df07cb6a7f0d11a25f5eb86c (patch)
tree364f066d74a7230f086b2283b40cf5bdf3cb98b5 /config.h
parenteb8a63354e4391b8c30314dc16c58c35944480db (diff)
downloadshotkey-e19fb9a4958f03e4df07cb6a7f0d11a25f5eb86c.tar.gz
shotkey-e19fb9a4958f03e4df07cb6a7f0d11a25f5eb86c.zip
Fixes no cwd issue
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 1 insertions, 1 deletions
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") },