summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <craigmartinjennings@gmail.com>2024-03-30 10:27:58 -0500
committerCraig Jennings <craigmartinjennings@gmail.com>2024-03-30 10:27:58 -0500
commita18eab1c73dc36579613f12a1c961a63f52cacb1 (patch)
tree4d9eeec49858b02209715b901bb1469d0b44e1cd
parent166a297d946870caa1d3213881fc4e98a7dc5bb9 (diff)
adding htop at mod+h, removing uneeded TODO.org
-rw-r--r--TODO.org12
-rw-r--r--config.def.h18
-rw-r--r--todo.org7
3 files changed, 18 insertions, 19 deletions
diff --git a/TODO.org b/TODO.org
deleted file mode 100644
index 974f644..0000000
--- a/TODO.org
+++ /dev/null
@@ -1,12 +0,0 @@
-
-=== DWM ===
-
-* Open Work
-** TODO Rebuild DWM without unneeded patches
-- center-window: unused functionality
-- alwayscenter: don't always want window at center
-- centeredmaster: unused layout
-- cool-autostart: unused functionality; using .xinitrc
-- self-restart: broken functionality
-
-* Completed Work
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 } },
diff --git a/todo.org b/todo.org
index e8977bf..0030111 100644
--- a/todo.org
+++ b/todo.org
@@ -1,4 +1,11 @@
* DWM - Open Work
+** TODO Rebuild DWM without unneeded patches
+- center-window: unused functionality
+- alwayscenter: don't always want window at center
+- centeredmaster: unused layout
+- cool-autostart: unused functionality; using .xinitrc
+- self-restart: broken functionality
+
** VERIFY [#C] Add dwm restart patch
Added -- DWM should restart with super + shift + r
** DOING [#C] List and download all dwm patches applied along with description