summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/config.def.h b/config.def.h
index 1eae4aa..c42a492 100644
--- a/config.def.h
+++ b/config.def.h
@@ -49,6 +49,7 @@ const char *spcmd4[] = {"st", "-n", "spbt", "-g", "120x35", "-e", "tremc",
const char *spcmd5[] = {"st", "-n", "spterm", "-g", "120x35", "-e", "tmux", NULL };
const char *spcmd6[] = {"st", "-n", "spfm", "-g", "120x35", "-e", "ranger", NULL };
const char *spcmd7[] = { "qalculate-gtk", NULL };
+const char *spcmd8[] = {"st", "-n", "sptop", "-g", "120x35", "-e", "htop", NULL };
static Sp scratchpads[] = {
@@ -60,6 +61,7 @@ static Sp scratchpads[] = {
{"spterm", spcmd5},
{"spfm", spcmd6},
{"spcalc", spcmd7},
+ {"sptop", spcmd8},
/* {"keepassxc", spcmd3}, */
};
@@ -97,6 +99,7 @@ static const Rule rules[] = {
{ NULL, NULL, "Qalculate!", SPTAG(6), 1, 0, 0, -1 },
{ NULL, "spcalc", NULL, SPTAG(6), 1, 0, 0, -1 },
{ "qalculate-gtk", NULL, NULL, SPTAG(6), 1, 0, 0, -1 },
+ { NULL, "sptop", NULL, SPTAG(7), 1, 0, 0, -1 },
{ NULL, NULL, "Event Tester", 0, 1, 0, 1, -1 }, /* xev */
};
@@ -136,13 +139,13 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont,
#define TERMINAL_ENVVAR "TERMINAL"
#define BROWSER_ENVVAR "BROWSER"
#define EDITOR_ENVVAR "VISUAL"
-static const char *termcmd[] = { "st", NULL }; // default terminal; respects $TERMINAL env variable
-static const char *browsercmd[] = { "firefox", NULL }; // default browser; respects $BROWSER env variable
-static const char *editorcmd[] = { "emacs", NULL }; // default editor; respects $VISUAL env variable
-static const char *torbrowsercmd[] = { "tor-browser", NULL };
-static const char *bluetoothcmd[] = { "blueman-manager", NULL };
-static const char *screenshotcmd[] = { "screenshotmenu", NULL };
-static const char *exitcmd[] = { "dmenuexitmenu", NULL }; // script that provides exit options
+static const char *termcmd[] = { "st", NULL }; // default terminal; respects $TERMINAL env variable
+static const char *browsercmd[] = { "firefox", NULL }; // default browser; respects $BROWSER env variable
+static const char *editorcmd[] = { "emacs", NULL }; // default editor; respects $VISUAL env variable
+static const char *torbrowsercmd[] = { "tor-browser", NULL };
+static const char *bluetoothcmd[] = { "blueman-manager", NULL };
+static const char *screenshotcmd[] = { "screenshotmenu", NULL };
+static const char *exitcmd[] = { "dmenuexitmenu", NULL }; // script that provides exit options
/* volume control */
static const char *upvol[] = { "pactl", "set-sink-volume", "0", "+5%", NULL };
@@ -203,6 +206,7 @@ static Key keys[] = {
{ MODKEY, XK_f, togglescratch, {.ui = 5 } },
{ MODKEY, XK_x, togglescratch, {.ui = 6 } },
{ MODKEY, XK_c, togglescratch, {.ui = 6 } },
+ { MODKEY, XK_h, togglescratch, {.ui = 7 } },
{ 0, XF86XK_AudioMute, spawn, {.v = mutevol } },
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } },
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },