web bookmarks

This commit is contained in:
vrd
2026-07-30 11:54:49 +03:00
committed by Venelin Dechkov
parent 491e29fefa
commit 5b8797bccd
4 changed files with 53 additions and 25 deletions
+5 -3
View File
@@ -32,7 +32,7 @@ static const Rule rules[] = {
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
{ NULL, BROWSER, NULL, 1<<7, 0, -1 },
{ BROWSER, NULL, NULL, 1<<7, 0, -1 },
{ NULL, "emacs", NULL, 1<<8, 0, -1 }
};
@@ -72,7 +72,7 @@ static const char* screenshot [] = { "scrot", "-s", SCREEN_CAPS_DIR, NULL };
static void webbookmark(const Arg* arg){
const Arg tag = {.ui = 1<<7};
view(&tag);
/* view(&tag); */
vene_webbookmark();
}
@@ -113,7 +113,9 @@ static const Key keys[] = {
TAGKEYS( XK_5, 4)
TAGKEYS( XK_6, 5)
TAGKEYS( XK_7, 6)
TAGKEYS_NO_MOVE( XK_b, 7)
{ MODKEY, XK_b, vene_browser, {.ui = 1 << 7} },
{ MODKEY|ControlMask, XK_b, toggleview, {.ui = 1 << 7} },
{ MODKEY|ControlMask|ShiftMask, XK_b, toggletag, {.ui = 1 << 7} },
TAGKEYS_NO_MOVE( XK_e, 8)
};