summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoadAlami <moadalami40@gmail.com>2023-10-23 22:56:42 +0100
committermoadAlami <moadalami40@gmail.com>2023-10-23 22:56:42 +0100
commit32074e30a88d1b6c2c9da53b36ad8642192d7fd5 (patch)
treebf81d688251558944219f7df6d8b7a006bda6fcf
parent8a942f660d2968785d48db66628ab44efdb1885d (diff)
mod+e for bookmarks
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index 2187ba7..765d3d4 100644
--- a/config.h
+++ b/config.h
@@ -163,6 +163,8 @@ static const Key keys[] = {
{0, XK_Pause, spawn, SHCMD("playerctl play-pause")},
{0, XF86XK_AudioPlay, spawn, SHCMD("playerctl play-pause")},
+ {MODKEY, XK_e, spawn, SHCMD("xdotool type $(grep -Ev '^($|#)' ~/.config/bookmarks | dmenu -i -l 50 | cut -d' ' -f1)")},
+
/* screenshot */
{MODKEY, XK_F12, spawn, SHCMD("scrot -e 'mv $f /home/mouad/Pictures/Screenshots/' && notify-send '📸 Screenshot taken'")},
};