diff options
-rw-r--r-- | .config/dwl-guile/init.scm | 4 | ||||
-rw-r--r-- | .config/guix/modules/dwm/config.def.h | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/.config/dwl-guile/init.scm b/.config/dwl-guile/init.scm index 5b167a3..d23d793 100644 --- a/.config/dwl-guile/init.scm +++ b/.config/dwl-guile/init.scm @@ -59,7 +59,7 @@ (set-keys "s-x" '(dwl:spawn "bemenu-run") - "s-<return>" '(dwl:spawn "emacsclient" "-nc") + "s-S-<return>" '(dwl:spawn "emacsclient" "-nc") "s-S-b" '(dwl:spawn "icecat") "s-S-c" '(dwl:spawn "librewolf") ;; "s-S-o" '(dwl:spawn "BOOKMARKS!") @@ -85,7 +85,7 @@ "s-S-<up>" '(dwl:tag-monitor 'DIRECTION-UP) "s-S-<down>" '(dwl:tag-monitor 'DIRECTION-DOWN) "s-q" 'dwl:kill-client - "s-<space>" 'dwl:zoom + "s-<return>" 'dwl:zoom "s-<tab>" 'dwl:view "s-0" '(dwl:view 0) ;; 0 will show all tags "s-m" '(dwl:set-layout "monocle") 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}')") }, |