diff options
| author | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2024-10-04 22:21:12 -0400 |
|---|---|---|
| committer | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2024-10-04 22:21:12 -0400 |
| commit | 577ee09ce9a992373eaf803324d7750c213a75ba (patch) | |
| tree | 8ecd5053aa7bd474dfd4a6d51c6c654aebc04a3f /config.def.h | |
| parent | ddeafbf1d8adbeda1bda6bbaa84ce8a43fd62eb0 (diff) | |
| download | dwm-577ee09ce9a992373eaf803324d7750c213a75ba.tar.gz | |
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h index 03079c4..84bccfb 100644 --- a/config.def.h +++ b/config.def.h @@ -169,11 +169,13 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, static const char *termcmd[] = { "tabbed", "-c", "-n", "tabbed_st", "-r", "2", D_TERM, "-w", "''", NULL}; //"''", "-e", "tmux", "-u", NULL }; static const char *termcmd_tmux[] = { "tabbed", "-c", "-n", "tabbed_st", "-r", "2", D_TERM, "-w", "''", "-e", "tmux", "-u", NULL }; -static const char *browsercmd1[] = {"tabbed", "-c", D_BROWSER, "-e", NULL}; -static const char *browsercmd2[] = {"qutebrowser", NULL}; +static const char *browsercmd2[] = {"firefox", "--private-window", NULL}; +static const char *browsercmd1[] = {"firefox", NULL}; static const char *vpncmd1[] = { "vpn-connect", NULL}; +static const char *suspendcmd[] = { "systemctl", "suspend" }; + static const char *screenshotcmd1[] = {"maim", "-sl", "-c", ".27,.5214,.5333,.8", "~/pictures/screenshots/$(date +%s).png", NULL}; static const char *screenshotcmd2[] = {"maim", "~/pictures/screenshots/$(date +%s).png", NULL}; @@ -302,7 +304,7 @@ static Key keys[] = { { MODKEY, XK_i, setlayout, {.v = &layouts[11]} }, { MODKEY, XK_o, setlayout, {.v = &layouts[7]} }, { MODKEY, XK_p, spawn, SHCMD("toggle-picom") }, - { MODKEY, XK_bracketleft, spawn, SHCMD("st -e search -y") }, + { MODKEY, XK_bracketleft, spawn, SHCMD(D_TERM " -e search -y") }, //{ MODKEY, XK_bracketright, <stuff>, {} }, //{ MODKEY, XK_backslash, <stuff>, {} }, @@ -430,6 +432,7 @@ static Key keys[] = { { 0|ShiftMask, XF86XK_AudioLowerVolume, spawn, {.v = sndinput_down }}, { 0|ShiftMask, XF86XK_AudioLowerVolume, spawn, {.v = snd_update_bar }}, + { 0, XF86XK_Sleep, spawn, {.v = suspendcmd }}, /* { 0, XF86XK_AudioPrev, spawn, SHCMD("mpc prev") }, { 0, XF86XK_AudioNext, spawn, SHCMD("mpc next") }, |