From a18eab1c73dc36579613f12a1c961a63f52cacb1 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 30 Mar 2024 10:27:58 -0500 Subject: adding htop at mod+h, removing uneeded TODO.org --- TODO.org | 12 ------------ config.def.h | 18 +++++++++++------- todo.org | 7 +++++++ 3 files changed, 18 insertions(+), 19 deletions(-) delete mode 100644 TODO.org 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 -- cgit v1.2.3