From cf411a24afb1b9fa879329fafb8de0893fc903ff Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Tue, 5 Jan 2021 15:21:39 +0100 Subject: [PATCH] Switched to dmenu --- src/config.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config.h b/src/config.h index c259664..af8ca26 100644 --- a/src/config.h +++ b/src/config.h @@ -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 *altbarcmd = "$HOME/.config/polybar/launch"; /* Alternate bar launch command */ 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_bar[] = "#111015"; @@ -77,9 +77,9 @@ static const Layout layouts[] = { /* commands */ -/* Not using dmenu, but this needs to be here I guess */ 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 *termcmd[] = { "urxvt", NULL }; @@ -92,7 +92,7 @@ static const char *cmuspausecmd[] = { "cmus-remote", "--pause" }; static Key keys[] = { /* modifier key function argument */ - { MODKEY, XK_d, spawn, {.v = roficmd } }, + { MODKEY, XK_d, spawn, {.v = dmenucmd } }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } },