Quality of Life

This commit is contained in:
riomoo 2025-01-27 05:48:41 -05:00
parent 162f3c32f2
commit 5eb2db4061
Signed by: riomoo
SSH key fingerprint: SHA256:IidVcrEqw4r/6zlIASTgxRmFBmyRiZ/31wjlNkFzVG0

View file

@ -5,23 +5,33 @@ static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "monospace:size=16" };
/*static const char *fonts[] = { "monospace:size=16" };
*/
static const char *fonts[] = {"Mononoki Nerd Font:size=16:antialias=true:autohint=true",
"Hack:size=14:antialias=true:autohint=true",
"JoyPixels:size=16:antialias=true:autohint=true"};
#include "/home/moo/.config/themes/using/colors-wal-dwm.h"
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
/*static const char *tags[] = { "", "", "", "", "", "", "7", "8", "9" };
*/
static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
static const Rule rules[] = {
/* xprop(1):
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 4, 0, -1 },
{ "Waterfox", NULL, NULL, 1, 0, -1 },
{ "Element", NULL, NULL, 8, 0, -1 },
{ "Discord", NULL, NULL, 8, 0, -1 },
/* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 1 << 6, 0, -1 },
{ NULL, NULL, "pulsemixer", 0, 1, -1 },
{ "waterfox", NULL, NULL, 1, 0, -1 },
{ "Element", NULL, NULL, 1 << 8, 0, -1 },
{ NULL, NULL, "LibreWolf", 1 << 0, 0, -1 },
{ NULL, NULL, "Waterfox", 1 << 0, 0, -1 },
{ NULL, NULL, "Discord", 1 << 8, 0, -1 },
{ "mpv", NULL, NULL, 1 << 5, 1, -1 },
};
/* layout(s) */
@ -52,11 +62,13 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-p", "Run: ", NULL };
static const char *termcmd[] = { "st", NULL };
static const char *volume[] = { "st", "-e", "pulsemixer", NULL };
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = dmenucmd } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = dmenucmd } },
{ MODKEY|Mod1Mask, XK_v, spawn, {.v = volume } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },