diff --git a/src/config.h b/src/config.h index 5c742ea..da0770a 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"; @@ -59,8 +59,8 @@ static const int resizehints = 1; /* 1 means respect size hints in tiled resi static const Layout layouts[] = { /* symbol arrange function */ - { "[]=", tile }, /* first entry is default */ - { "><>", NULL }, /* no layout function means floating behavior */ + { "><>", NULL }, /* first entry is default */ + { "[]=", tile }, { "[M]", monocle }, }; @@ -77,11 +77,10 @@ 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 *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 *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", bg_color, "-nf", text_color, "-sb", col_cyan, "-sf", col_gray4, NULL }; + static const char *termcmd[] = { "urxvt", NULL }; static const char *betterlockscreencmd[] = { "betterlockscreen", "--lock", "blur" }; @@ -92,7 +91,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 } }, @@ -104,8 +103,8 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, { MODKEY|ShiftMask, XK_q, killclient, {0} }, - { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, - { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, + { MODKEY, XK_t, setlayout, {.v = &layouts[1]} }, + { MODKEY, XK_f, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} },