Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71ee58ed76 |
@@ -36,6 +36,9 @@ static const Rule rules[] = {
|
|||||||
{ "LibreWolf", NULL, NULL, 1<<7, 0, -1 },
|
{ "LibreWolf", NULL, NULL, 1<<7, 0, -1 },
|
||||||
{ NULL, "emacs", NULL, 1<<8, 0, -1 },
|
{ NULL, "emacs", NULL, 1<<8, 0, -1 },
|
||||||
{ "dlt-viewer", NULL, NULL, 1<<5, 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[] = {
|
static const Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
|
|
||||||
{ MODKEY|ShiftMask, XK_s, vene_screenshot, {0} }, // Take a screenshot, located in ~/screenshots and in clipboard
|
{ 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
|
{ 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
|
{ ShiftMask, XK_Insert, spawn, { .v = simulate_mmb } }, // Paste what the mouse selection by simulating a MMB click
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ X11INC = /usr/X11R6/include
|
|||||||
X11LIB = /usr/X11R6/lib
|
X11LIB = /usr/X11R6/lib
|
||||||
|
|
||||||
# Xinerama, comment if you don't want it
|
# Xinerama, comment if you don't want it
|
||||||
# XINERAMALIBS = -lXinerama
|
XINERAMALIBS = -lXinerama
|
||||||
# XINERAMAFLAGS = -DXINERAMA
|
XINERAMAFLAGS = -DXINERAMA
|
||||||
|
|
||||||
# freetype
|
# freetype
|
||||||
FREETYPELIBS = -lfontconfig -lXft
|
FREETYPELIBS = -lfontconfig -lXft
|
||||||
|
|||||||
@@ -303,13 +303,11 @@ extern "C"
|
|||||||
|
|
||||||
Cmd list_dirs ("ls", bm_root.c_str());
|
Cmd list_dirs ("ls", bm_root.c_str());
|
||||||
|
|
||||||
|
// Initial bookmark directory
|
||||||
|
string dir = "Luxoft";
|
||||||
|
|
||||||
while(true)
|
while(true)
|
||||||
{
|
{
|
||||||
// Choose bookmark directory
|
|
||||||
string dir = $(list_dirs | dmenu);
|
|
||||||
if( dir.empty() )
|
|
||||||
return;
|
|
||||||
|
|
||||||
string bm_dir = bm_root + dir;
|
string bm_dir = bm_root + dir;
|
||||||
|
|
||||||
// Read content of bookmarks file and choose
|
// Read content of bookmarks file and choose
|
||||||
@@ -323,6 +321,11 @@ extern "C"
|
|||||||
detach(open_bookmark);
|
detach(open_bookmark);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Choose bookmark directory
|
||||||
|
dir = $(list_dirs | dmenu);
|
||||||
|
if( dir.empty() )
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user