|
|
@ -11,7 +11,7 @@ static const char *altbarclass = "Polybar"; /* Alternate bar class name */ |
|
|
|
static const char *alttrayname = "tray"; /* Polybar tray instance name */ |
|
|
|
static const char *alttrayname = "tray"; /* Polybar tray instance name */ |
|
|
|
static const char *altbarcmd = "$HOME/.config/polybar/launch"; /* Alternate bar launch command */ |
|
|
|
static const char *altbarcmd = "$HOME/.config/polybar/launch"; /* Alternate bar launch command */ |
|
|
|
static const char *fonts[] = { "Source Code Pro:size=10" }; |
|
|
|
static const char *fonts[] = { "Source Code Pro:size=10" }; |
|
|
|
static const char dmenufont[] = "monospace:size=10"; |
|
|
|
static const char dmenufont[] = "Source Code Pro:size=12"; |
|
|
|
|
|
|
|
|
|
|
|
static const char bg_color[] = "#111015"; |
|
|
|
static const char bg_color[] = "#111015"; |
|
|
|
static const char bg_color_bar[] = "#111015"; |
|
|
|
static const char bg_color_bar[] = "#111015"; |
|
|
@ -77,9 +77,9 @@ static const Layout layouts[] = { |
|
|
|
|
|
|
|
|
|
|
|
/* commands */ |
|
|
|
/* commands */ |
|
|
|
|
|
|
|
|
|
|
|
/* Not using dmenu, but this needs to be here I guess */ |
|
|
|
|
|
|
|
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ |
|
|
|
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ |
|
|
|
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; |
|
|
|
|
|
|
|
|
|
|
|
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", bg_color, "-nf", text_color, "-sb", col_cyan, "-sf", col_gray4, NULL }; |
|
|
|
|
|
|
|
|
|
|
|
static const char *roficmd[] = { "rofi", "-show", "drun", "-lines", "4", "-eh", "2", "-width", "100", "-padding", "800", "-opacity", "75", "-bw", "0", "-bc", bg_color, "-bg", bg_color, "-fg", text_color, "-hlbg", bg_color, "-hlfg", "#9575cd", "-font", "System Ubuntu Mono Display 18", "-theme", "onedark" }; |
|
|
|
static const char *roficmd[] = { "rofi", "-show", "drun", "-lines", "4", "-eh", "2", "-width", "100", "-padding", "800", "-opacity", "75", "-bw", "0", "-bc", bg_color, "-bg", bg_color, "-fg", text_color, "-hlbg", bg_color, "-hlfg", "#9575cd", "-font", "System Ubuntu Mono Display 18", "-theme", "onedark" }; |
|
|
|
static const char *termcmd[] = { "urxvt", NULL }; |
|
|
|
static const char *termcmd[] = { "urxvt", NULL }; |
|
|
@ -92,7 +92,7 @@ static const char *cmuspausecmd[] = { "cmus-remote", "--pause" }; |
|
|
|
|
|
|
|
|
|
|
|
static Key keys[] = { |
|
|
|
static Key keys[] = { |
|
|
|
/* modifier key function argument */ |
|
|
|
/* modifier key function argument */ |
|
|
|
{ MODKEY, XK_d, spawn, {.v = roficmd } }, |
|
|
|
{ MODKEY, XK_d, spawn, {.v = dmenucmd } }, |
|
|
|
{ MODKEY, XK_Return, spawn, {.v = termcmd } }, |
|
|
|
{ MODKEY, XK_Return, spawn, {.v = termcmd } }, |
|
|
|
{ MODKEY, XK_b, togglebar, {0} }, |
|
|
|
{ MODKEY, XK_b, togglebar, {0} }, |
|
|
|
{ MODKEY, XK_j, focusstack, {.i = +1 } }, |
|
|
|
{ MODKEY, XK_j, focusstack, {.i = +1 } }, |
|
|
|