|
@@ -32,7 +32,6 @@ static int tag_preview = 0; /* 1 means enable, 0 is off */
|
|
static const char *fonts[] = { "JetBrainsMono Nerd Font:style:medium:size=10",
|
|
static const char *fonts[] = { "JetBrainsMono Nerd Font:style:medium:size=10",
|
|
"Material Design Icons-Regular:size=10",
|
|
"Material Design Icons-Regular:size=10",
|
|
};
|
|
};
|
|
-static const char dmenufont[] = "monospace:size=10";
|
|
|
|
static const int colorfultag = 1; /* 0 means use SchemeSel for selected non vacant tag */
|
|
static const int colorfultag = 1; /* 0 means use SchemeSel for selected non vacant tag */
|
|
|
|
|
|
// theme
|
|
// theme
|
|
@@ -57,7 +56,14 @@ static const char *colors[][3] = {
|
|
};
|
|
};
|
|
|
|
|
|
/* tagging */
|
|
/* tagging */
|
|
-static char *tags[] = {" ", " ", " ", " ", " "};
|
|
|
|
|
|
+static char *tags[] = {"", "", "", "", ""};
|
|
|
|
+
|
|
|
|
+static const char* eww[] = { "eww", "open" , "eww", NULL };
|
|
|
|
+
|
|
|
|
+static const Launcher launchers[] = {
|
|
|
|
+ /* command name to display */
|
|
|
|
+ { eww, "" },
|
|
|
|
+};
|
|
|
|
|
|
static const int tagschemes[] = { SchemeTag1, SchemeTag2, SchemeTag3,
|
|
static const int tagschemes[] = { SchemeTag1, SchemeTag2, SchemeTag3,
|
|
SchemeTag4, SchemeTag5
|
|
SchemeTag4, SchemeTag5
|
|
@@ -119,9 +125,7 @@ static const Layout layouts[] = {
|
|
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
|
|
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
|
|
|
|
|
|
/* commands */
|
|
/* commands */
|
|
-static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
|
|
|
-static const char *dmenucmd[] = { "dmenu_run", NULL };
|
|
|
|
-static const char *termcmd[] = { "st", NULL }; // change this to your term
|
|
|
|
|
|
+static const char *term[] = { "st", NULL }; // change this to your term
|
|
static const char *rofi[] = {"rofi", "-show", "drun", NULL };
|
|
static const char *rofi[] = {"rofi", "-show", "drun", NULL };
|
|
static const char *xi[] = {"xbacklight", "-inc", "7", NULL};
|
|
static const char *xi[] = {"xbacklight", "-inc", "7", NULL};
|
|
static const char *xd[] = {"xbacklight", "-dec", "7", NULL};
|
|
static const char *xd[] = {"xbacklight", "-dec", "7", NULL};
|
|
@@ -129,7 +133,8 @@ static const char *xd[] = {"xbacklight", "-dec", "7", NULL};
|
|
static Key keys[] = {
|
|
static Key keys[] = {
|
|
/* modifier key function argument */
|
|
/* modifier key function argument */
|
|
{ MODKEY, XK_c, spawn, {.v = rofi } },
|
|
{ MODKEY, XK_c, spawn, {.v = rofi } },
|
|
- { MODKEY, XK_Return, spawn, {.v = termcmd }},
|
|
|
|
|
|
+ { MODKEY, XK_Return, spawn, {.v = term }},
|
|
|
|
+ { MODKEY, XK_Return, spawn, SHCMD("st_pad && st")},
|
|
|
|
|
|
{MODKEY | ControlMask, XK_u, spawn, SHCMD("maim | xclip -selection clipboard -t image/png")},
|
|
{MODKEY | ControlMask, XK_u, spawn, SHCMD("maim | xclip -selection clipboard -t image/png")},
|
|
{MODKEY, XK_u, spawn, SHCMD("maim --select | xclip -selection clipboard -t image/png")},
|
|
{MODKEY, XK_u, spawn, SHCMD("maim --select | xclip -selection clipboard -t image/png")},
|