From 4860da82a0cbacd40c3bd251724397343190e703 Mon Sep 17 00:00:00 2001
From: Robert Timm <mail@rtti.de>
Date: Thu, 2 Mar 2017 10:06:54 +0100
Subject: [PATCH] allows shortcuts without parameters

---
 src/shortcut.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/shortcut.c b/src/shortcut.c
index af858ab..4e83e4b 100644
--- a/src/shortcut.c
+++ b/src/shortcut.c
@@ -202,6 +202,8 @@ static const char *shortcut_lookup(Client *c, const char *string, const char **q
             *query = p + 1;
         }
         g_free(key);
+    } else {
+        uri = g_hash_table_lookup(c->shortcut.table, string);
     }
 
     if (!uri && c->shortcut.fallback
-- 
2.20.1