summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Rumbaugh <doug@douglasrumbaugh.com>2022-02-03 18:39:11 -0500
committerDouglas Rumbaugh <doug@douglasrumbaugh.com>2022-02-03 18:39:11 -0500
commit73b3868c52c6efc3e93a404fc20d03c8c8af395f (patch)
tree12d3262ba7e26553f6abe92e6ba41207a2c7a3f5
parent5a83b1d7fb477fe12bfe6892e1d76c1391d6fa67 (diff)
parentbab3b75b9a4f9fc1f7bf2d586da126fbaf7a1f59 (diff)
downloaddwm-73b3868c52c6efc3e93a404fc20d03c8c8af395f.tar.gz
Merge branch 'master' of github.com:dbrumbaugh/dwm
-rw-r--r--README19
-rw-r--r--config.def.h8
2 files changed, 25 insertions, 2 deletions
diff --git a/README b/README
index 95d4fd0..649f184 100644
--- a/README
+++ b/README
@@ -2,6 +2,25 @@ dwm - dynamic window manager
============================
dwm is an extremely fast, small, and dynamic window manager for X.
+Tasks to Complete
+-----------------
+1. Update the status bar on all monitors, even if not active, rather
+ than only on the active monitor.
+2. Pulling up Tag 0 automatically switches to grid-view
+3. Pulling up Tag 0 operates on all monitors, not just the active one.
+ Leaving Tag 0 on one monitor leaves it on all of them
+4. Clean rebuild. There are surely some patches that I applied
+ but do not use. Rebuilding from the ground up would result in
+ a cleaner code-base.
+5. Update the man-page to reflect usage.
+6. Update Makefile to suppress common warnings (like unused functions)
+7. Keybinding to suppress screenlocker, with possible statusbar icon
+
+Long-term Goals
+---------------
+* Centralize code across the suckless utilities that I use,
+ do I really need two XRBD implementations, two font-rendering
+ implementations, etc., for dwm and dmenu?
Requirements
------------
diff --git a/config.def.h b/config.def.h
index 95596e3..c99dcf4 100644
--- a/config.def.h
+++ b/config.def.h
@@ -77,6 +77,8 @@ const char *spcmd2[] = {"kitty", "--name", "spterm", NULL };
const char *spcmd3[] = {"kitty", "--name", "spnvim", "-e", "nvim", NULL };
const char *spcmd4[] = {"kitty", "--name", "spmixer", "-e", "pulsemixer", NULL};
const char *spcmd5[] = {"kitty", "--name", "spmusic", "-e", "ncmpcpp", NULL};
+const char *spcmd6[] = {"kitty", "--name", "sptop", "-e", "htop", NULL};
+
static Sp scratchpads[] = {
/* name cmd */
{"spcalc", spcmd1},
@@ -84,6 +86,7 @@ static Sp scratchpads[] = {
{"spnvim", spcmd3},
{"spmixer", spcmd4},
{"spmusic", spcmd5},
+ {"sptop", spcmd6},
};
/* tagging */
@@ -104,6 +107,7 @@ static const Rule rules[] = {
{ NULL, "spnvim", NULL, SPTAG(2), 1, 1, 0, -1 },
{ NULL, "spmixer", NULL, SPTAG(3), 1, 1, 0, -1 },
{ NULL, "spmusic", NULL, SPTAG(4), 1, 1, 0, -1 },
+ { NULL, "sptop", NULL, SPTAG(5), 1, 1, 0, -1 },
};
/* layout(s) */
@@ -252,9 +256,9 @@ static Key keys[] = {
{ MODKEY, XK_F2, spawn, SHCMD("kitty neomutt")},
{ MODKEY, XK_F3, spawn, SHCMD("kitty newsboat -u /home/douglas/.local/share/feeds -c /home/douglas/.cache/newsboat/cache -C /home/douglas/.config/newsboat/config")},
{ MODKEY, XK_F4, spawn, SHCMD("kitty khal interactive")},
- { MODKEY, XK_F5, spawn, SHCMD("")},
+ { MODKEY, XK_F5, spawn, SHCMD("kitty weechat")},
{ MODKEY, XK_F6, spawn, SHCMD("")},
- { MODKEY, XK_F7, spawn, SHCMD("")},
+ { MODKEY, XK_F7, togglescratch, {.ui = 5 } },
{ MODKEY, XK_F8, togglescratch, {.ui = 4 } },
{ MODKEY, XK_F9, togglescratch, {.ui = 3 } },
{ MODKEY, XK_F10, togglescratch, {.ui = 0 } },