summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2024-10-04 22:21:12 -0400
committerDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2024-10-04 22:21:12 -0400
commit577ee09ce9a992373eaf803324d7750c213a75ba (patch)
tree8ecd5053aa7bd474dfd4a6d51c6c654aebc04a3f /config.def.h
parentddeafbf1d8adbeda1bda6bbaa84ce8a43fd62eb0 (diff)
downloaddwm-master.tar.gz
shift+F1 now launches a private browser windowHEADmaster
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h9
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") },