From 32074e30a88d1b6c2c9da53b36ad8642192d7fd5 Mon Sep 17 00:00:00 2001 From: moadAlami Date: Mon, 23 Oct 2023 22:56:42 +0100 Subject: mod+e for bookmarks --- config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.h') 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'")}, }; -- cgit v1.2.3