dwm

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 18365f70b94cef75c88a0443405923010ece0658
parent f5532452291b6deabc51b75ac2ad86f3b2a4aee6
Author: AndrewLockVI <andrew@laack.co>
Date:   Wed, 19 Feb 2025 13:58:48 -0600

Updated config to minimize dmenu shortcuts

Diffstat:
Mconfig.h | 38++++++++++++++++++++++++++++++--------
1 file changed, 30 insertions(+), 8 deletions(-)

diff --git a/config.h b/config.h @@ -27,7 +27,18 @@ static const char *colors[][3] = { }; /* tagging */ -static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; +static const char *tags[] = { + "1: CS-370", + "2: ENSC-100", + "3: CS-498", + "4: WRIT-250", + "5: ENGL-328", + "6: COMM-370", + "7: HIST-152", + "8: MATH-421", + "9: SELF-HOSTING", + "10: SELF-STUDYING", +}; static const Rule rules[] = { /* xprop(1): @@ -80,19 +91,24 @@ static const char *dmenucmd[] = {"/home/andrew/bin/dmenu.sh", background, foregr static const char *endcmd[] = {"/home/andrew/bin/power.sh", background, foreground, highlight, NULL}; static const char *passcmd[] = {"/home/andrew/bin/pass.sh", background, foreground, highlight, NULL}; static const char *tmuxcmd[] = {"/home/andrew/bin/tmux.sh", background, foreground, highlight, NULL}; -static const char *attachcmd[] = {"/home/andrew/bin/attach.sh", background, foreground, highlight, NULL}; +//static const char *attachcmd[] = {"/home/andrew/bin/attach.sh", background, foreground, highlight, NULL}; //static const char *tabbedcmd[] = {"/home/andrew/bin/tabbed.sh", background, foreground, highlight, NULL}; //static const char *dvtmcmd[] = {"/home/andrew/bin/dvtm.sh", background, foreground, highlight, NULL}; -static const char *searchcmd[] = {"/home/andrew/bin/search.sh", background, foreground, highlight, NULL}; +//static const char *searchcmd[] = {"/home/andrew/bin/search.sh", background, foreground, highlight, NULL}; static const char *zathuracmd[] = {"/home/andrew/bin/zathura.sh", background, foreground, highlight, NULL}; static const char *musiccmd[] = {"/home/andrew/bin/find-music.sh", "/home/serverBackup/fileSharing/music/" , background, foreground, highlight, NULL}; -static const char *rangercmd[] = {"/home/andrew/bin/ranger.sh", "/home/andrew/" , background, foreground, highlight, NULL}; +//static const char *rangercmd[] = {"/home/andrew/bin/ranger.sh", "/home/" , background, foreground, highlight, NULL}; +static const char *workspacecmd[] = {"/home/andrew/bin/init-screen.sh", NULL}; +static const char *bookmarkscmd[] = {"/home/andrew/bin/bookmarks.sh", NULL}; +static const char *addbookmarkcmd[] = {"/home/andrew/bin/add-bookmark.sh", NULL}; static const char *screenshotcmd[] = {"/home/andrew/bin/screenshot.sh", NULL}; //static const char *suspendcmd[] = {"/home/andrew/bin/suspend.sh" , NULL}; static const char *termcmd[] = {"st", NULL}; +//static const char *browsercmd[] = {"xclip -o -sel clipboard | xargs qutebrowser --target window", NULL}; +static const char *browsercmd[] = {"qutebrowser", NULL}; #include "movestack.c" @@ -104,20 +120,25 @@ static const Key keys[] = { //{ MODKEY, XK_d, spawn, {.v = dvtmcmd } }, { MODKEY, XK_t, spawn, {.v = tmuxcmd } }, - { MODKEY, XK_a, spawn, {.v = attachcmd} }, - { MODKEY, XK_s, spawn, {.v = searchcmd } }, + // I didn't really use this. + //{ MODKEY, XK_a, spawn, {.v = attachcmd} }, + //{ MODKEY, XK_s, spawn, {.v = searchcmd } }, { MODKEY, XK_z, spawn, {.v = zathuracmd } }, { MODKEY, XK_m, spawn, {.v = musiccmd } }, //{ MODKEY, XK_t, spawn, {.v = tabbedcmd } }, - { MODKEY, XK_r, spawn, {.v = rangercmd } }, + //{ MODKEY, XK_r, spawn, {.v = rangercmd } }, + { MODKEY, XK_w, spawn, {.v = workspacecmd} }, + { MODKEY, XK_b, spawn, {.v = bookmarkscmd} }, + { MODKEY, XK_a, spawn, {.v = addbookmarkcmd} }, + { MODKEY, XK_h, togglebar, {0} }, + { MODKEY|ShiftMask, XK_b, spawn, {.v = browsercmd} }, { MODKEY|ShiftMask, XK_s, spawn, {.v = screenshotcmd } }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, - { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_Down, focusstack, {.i = +1 } }, { MODKEY, XK_Up, focusstack, {.i = -1 } }, @@ -146,6 +167,7 @@ static const Key keys[] = { TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) + TAGKEYS( XK_0, 9) { MODKEY|ShiftMask, XK_q, killclient, {0} },