summaryrefslogtreecommitdiff
path: root/.config/guix/modules/dwm/config.def.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2024-06-04 15:06:02 -0600
committerbd <bdunahu@operationnull.com>2024-06-04 15:06:02 -0600
commit6cb9d3eef852670a2252db8156d2d51ad8e8b26a (patch)
tree5213a288d54f5b8716ad1b326cdcec98f3311a38 /.config/guix/modules/dwm/config.def.h
parent46f42bd82df4a2de6615754b1af177580630574a (diff)
gpg timeout increase, xss-lock to auto-lock
Diffstat (limited to '.config/guix/modules/dwm/config.def.h')
-rw-r--r--.config/guix/modules/dwm/config.def.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/.config/guix/modules/dwm/config.def.h b/.config/guix/modules/dwm/config.def.h
index defcde5..821998d 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 *slockcmd[] = { "slock", NULL };
/* brightness control */
static const char *lowerbgt[] = { "brightnessctl", "set", "5%-", NULL };
static const char *upperbgt[] = { "brightnessctl", "set", "5%+", NULL };
@@ -91,17 +90,17 @@ 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", "-nc", NULL };
+static const char *termcmd[] = { "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|ShiftMask, XK_Return, spawn, {.v = emacscmd } },
+ { MODKEY|ShiftMask, XK_l, spawn, SHCMD("xset s activate; slock") },
+ { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ 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}')") },
+ { MODKEY|ShiftMask, XK_o, spawn, SHCMD("xdotool type $(grep -v '^#' /home/bdunahu/.local/bin/bookmarks.txt | dmenu -i -l 4 | awk '{print $NF}')") },
{ MODKEY|ShiftMask, XK_p, spawn, SHCMD("passmenu --type") },
{ 0, XK_F2, spawn, {.v = lowerbgt } },
{ 0, XK_F3, spawn, {.v = upperbgt } },