diff --git a/config.h b/config.h index a0d9032..512557e 100644 --- a/config.h +++ b/config.h @@ -36,6 +36,9 @@ static const Rule rules[] = { { "LibreWolf", NULL, NULL, 1<<7, 0, -1 }, { NULL, "emacs", NULL, 1<<8, 0, -1 }, { "dlt-viewer", NULL, NULL, 1<<5, 0, -1 }, + { "Emulator", NULL, "", 1<<9, 1, -1 }, + { "Emulator", NULL, "Android Emulator - MB_V530E_MB.EA-M_14_0_CID_Central_Information_Display:5554", 1<<5, 1, -1 }, + }; @@ -85,6 +88,7 @@ static void webbookmark(const Arg* unused){ static const Key keys[] = { /* modifier key function argument */ + { MODKEY|ShiftMask, XK_s, vene_screenshot, {0} }, // Take a screenshot, located in ~/screenshots and in clipboard { MODKEY, XK_v, vene_clip_history,{0} }, // Clip history { ShiftMask, XK_Insert, spawn, { .v = simulate_mmb } }, // Paste what the mouse selection by simulating a MMB click diff --git a/config.mk b/config.mk index 42211dc..200e584 100644 --- a/config.mk +++ b/config.mk @@ -11,8 +11,8 @@ X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib # Xinerama, comment if you don't want it -# XINERAMALIBS = -lXinerama -# XINERAMAFLAGS = -DXINERAMA +XINERAMALIBS = -lXinerama +XINERAMAFLAGS = -DXINERAMA # freetype FREETYPELIBS = -lfontconfig -lXft diff --git a/vene.cpp b/vene.cpp index adab150..a6ee4ca 100644 --- a/vene.cpp +++ b/vene.cpp @@ -303,13 +303,11 @@ extern "C" Cmd list_dirs ("ls", bm_root.c_str()); + // Initial bookmark directory + string dir = "Luxoft"; + while(true) { - // Choose bookmark directory - string dir = $(list_dirs | dmenu); - if( dir.empty() ) - return; - string bm_dir = bm_root + dir; // Read content of bookmarks file and choose @@ -323,6 +321,11 @@ extern "C" detach(open_bookmark); break; } + + // Choose bookmark directory + dir = $(list_dirs | dmenu); + if( dir.empty() ) + return; } }