diff --git a/config/dwm/config.def.h b/config/dwm/config.def.h index 9efa7744..9eb6161b 100644 --- a/config/dwm/config.def.h +++ b/config/dwm/config.def.h @@ -45,7 +45,7 @@ static const Layout layouts[] = { }; /* key definitions */ -#define MODKEY Mod1Mask +#define MODKEY Mod4Mask #define TAGKEYS(KEY,TAG) \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \ @@ -58,11 +58,12 @@ static const Layout layouts[] = { /* commands */ 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 *termcmd[] = { "st", NULL }; +static const char *roficmd[] = { "rofi", "-show-icons", "-show", "drun", NULL}; +static const char *termcmd[] = { "kitty", NULL }; static const Key keys[] = { /* modifier key function argument */ - { MODKEY, XK_p, spawn, {.v = dmenucmd } }, + { MODKEY, XK_p, spawn, {.v = roficmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, diff --git a/modules/desktop/dwm/default.nix b/modules/desktop/dwm/default.nix index 7c9c421d..7d780d8a 100644 --- a/modules/desktop/dwm/default.nix +++ b/modules/desktop/dwm/default.nix @@ -14,6 +14,9 @@ in { }; config = mkIf cfg.enable { + # this needs to be enabled for gtk apps + programs.dconf.enable = true; + # enable dwm services.xserver = { enable = true; windowManager = {