summaryrefslogtreecommitdiff
path: root/.config/guix/modules/dwm/config.def.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2024-06-04 03:22:05 -0600
committerbd <bdunahu@operationnull.com>2024-06-04 03:22:05 -0600
commit46f42bd82df4a2de6615754b1af177580630574a (patch)
treef9d1d1185bfe7d734a0c641e6ca91238788b1b87 /.config/guix/modules/dwm/config.def.h
parente29207c3a5be5f3c17a187c4fa3a256f1c2a8e1f (diff)
Fix dwm/dwl zoom functionality
Diffstat (limited to '.config/guix/modules/dwm/config.def.h')
-rw-r--r--.config/guix/modules/dwm/config.def.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/.config/guix/modules/dwm/config.def.h b/.config/guix/modules/dwm/config.def.h
index 1bda28b..defcde5 100644
--- a/.config/guix/modules/dwm/config.def.h
+++ b/.config/guix/modules/dwm/config.def.h
@@ -74,7 +74,6 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
/* tools */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_black, "-sf", col_gray4, NULL };
-static const char *termcmd[] = { "emacsclient", "-nce", "(bd/contextual-shell)", NULL };
static const char *slockcmd[] = { "slock", NULL };
/* brightness control */
static const char *lowerbgt[] = { "brightnessctl", "set", "5%-", NULL };
@@ -92,15 +91,14 @@ static const char *flameall[] = { "flameshot", "full", NULL };
/* other applications */
static const char *icecmd[] = { "icecat", NULL };
static const char *wolfcmd[] = { "librewolf", NULL };
-static const char *emacscmd[] = { "emacsclient", "-nce", "(switch-to-buffer nil)", NULL };
+static const char *emacscmd[] = { "emacsclient", "-nc", NULL };
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_x, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_l, spawn, {.v = slockcmd } },
- { MODKEY, XK_Return, spawn, {.v = emacscmd } },
- { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
+ { MODKEY|ShiftMask, XK_Return, spawn, {.v = emacscmd } },
{ MODKEY|ShiftMask, XK_b, spawn, {.v = icecmd } },
{ MODKEY|ShiftMask, XK_c, spawn, {.v = wolfcmd } },
{ MODKEY|ShiftMask, XK_o, spawn, SHCMD("ydotool type $(grep -v '^#' /home/bdunahu/.local/bin/bookmarks.txt | dmenu -i -l 4 | awk '{print $NF}')") },