summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2022-11-18 00:20:30 +0100
committeryuzu-eva <stevenhu@web.de>2022-11-18 00:20:30 +0100
commit360b5a2ff5dddfc92e134a8e7456785307b4f44f (patch)
tree78db79bf053635e6100b7c0d4395d0ee31e23aca /config.h
parent4adbbf8b563aac825e3f5ca341ac30a1fbda50d9 (diff)
changed bookmark command
Diffstat (limited to 'config.h')
-rwxr-xr-xconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h b/config.h
index e1af52d..ec521a1 100755
--- a/config.h
+++ b/config.h
@@ -108,7 +108,7 @@ static Key keys[] = {
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
- { MODKEY|ControlMask, XK_b, spawn, SHCMD("xdotool type $( cat ~/Documents/random/bookmarks.txt | dmenu -i -l 50)")},
+ { MODKEY|ControlMask, XK_b, spawn, SHCMD("xdotool type $( grep -v '^#' ~/Documents/random/bookmarks.txt | dmenu -i -l 50 | cut -d' ' -f1)")},
{ MODKEY, XK_b, spawn, SHCMD("firefox") },
{ MODKEY, XK_Print, spawn, SHCMD("sleep 0.3s; scrot -s -e 'mv $f ~/Pictures/'") },
{ 0, XK_Print, spawn, SHCMD("scrot -u -e 'mv $f ~/Pictures/'") },