summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-04-24 20:20:34 -0400
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-04-24 20:20:34 -0400
commit876f726668fc028a81e6bc47bf87af6cd1e6b344 (patch)
tree3b157cb0f22840e534a4e942969fb52ff9c88ea7
parentdb524d7c43c65699b4c0fc4813821bc12babe5ff (diff)
README
-rw-r--r--dwm/README.md7
-rw-r--r--dwm/config.h152
-rwxr-xr-xdwm/dwmbin133624 -> 133704 bytes
-rw-r--r--dwm/thesiah-default.mom182
-rw-r--r--dwm/thesiah.mom191
-rw-r--r--dwmblocks/config.h2
-rwxr-xr-xdwmblocks/dwmblocksbin26320 -> 26320 bytes
-rw-r--r--st/config.h19
8 files changed, 425 insertions, 128 deletions
diff --git a/dwm/README.md b/dwm/README.md
index 1c15d73..52dcb5c 100644
--- a/dwm/README.md
+++ b/dwm/README.md
@@ -6,7 +6,7 @@
This is suckless, mmmbud, the source code is the documentation! Check out [config.h](config.h).
-Okay, okay, actually I keep a readme in `larbs.mom` for my whole system, including the binds here.
+Okay, okay, actually I keep a readme in `thesiah.mom` for my whole system, including the binds here.
Press <kbd>super+F1</kbd> to view it in dwm (zathura is required for that binding).
I haven't kept `man dwm`/`dwm.1` updated though. PRs welcome on that, lol.
@@ -24,12 +24,11 @@ I haven't kept `man dwm`/`dwm.1` updated though. PRs welcome on that, lol.
- [vanitygaps](https://dwm.suckless.org/patches/vanitygaps/): Gaps allowed across all layouts.
- [swallow patch](https://dwm.suckless.org/patches/swallow/): if a program run from a terminal would make it inoperable, it temporarily takes its place to save space.
-
## Installation for newbs
```bash
-git clone https://github.com/LukeSmithxyz/dwm.git
-cd dwm
+git clone https://github.com/TheSiahxyz/suckless.git
+cd suckless/dwm
sudo make install
```
diff --git a/dwm/config.h b/dwm/config.h
index f7c3c98..d9b3a9a 100644
--- a/dwm/config.h
+++ b/dwm/config.h
@@ -1,36 +1,36 @@
/* See LICENSE file for copyright and license details. */
/* constants */
-#define TERMINAL "st"
-#define TERMCLASS "St"
-#define BROWSER "firefox"
-#define BROWSERCLASS "Firefox"
-#define GAP 6
+#define TERMINAL "st"
+#define TERMCLASS "St"
+#define BROWSER "firefox"
+#define BROWSERCLASS "Firefox"
+#define GAP 8
/* appearance */
-static unsigned int borderpx = 3; /* border pixel of windows */
-static unsigned int snap = 32; /* snap pixel */
-static unsigned int gappih = GAP; /* horiz inner gap between windows */
-static unsigned int gappiv = GAP; /* vert inner gap between windows */
-static unsigned int gappoh = GAP; /* horiz outer gap between windows and screen edge */
-static unsigned int gappov = GAP; /* vert outer gap between windows and screen edge */
-static int swallowfloating = 0; /* 1 means swallow floating windows by default */
-static int smartgaps = 0; /* 1 means no outer gap when there is only one window */
-static int showbar = 1; /* 0 means no bar */
-static int topbar = 1; /* 0 means bottom bar */
-static const int vertpad = GAP; /* vertical padding of bar */
-static const int sidepad = GAP; /* horizontal padding of bar */
+static unsigned int borderpx = 3; /* border pixel of windows */
+static unsigned int snap = 32; /* snap pixel */
+static unsigned int gappih = GAP; /* horiz inner gap between windows */
+static unsigned int gappiv = GAP; /* vert inner gap between windows */
+static unsigned int gappoh = GAP; /* horiz outer gap between windows and screen edge */
+static unsigned int gappov = GAP; /* vert outer gap between windows and screen edge */
+static int swallowfloating = 0; /* 1 means swallow floating windows by default */
+static int smartgaps = 0; /* 1 means no outer gap when there is only one window */
+static int showbar = 1; /* 0 means no bar */
+static int topbar = 1; /* 0 means bottom bar */
+static const int vertpad = GAP; /* vertical padding of bar */
+static const int sidepad = GAP; /* horizontal padding of bar */
static char *fonts[] = {
"monospace:size=10",
"NotoColorEmoji:pixelsize=10:antialias=true:autohint=true" };
-static char normbgcolor[] = "#222222";
-static char normbordercolor[] = "#555555";
-static char normfgcolor[] = "#bbbbbb";
-static char selfgcolor[] = "#eeeeee";
-static char selbordercolor[] = "#4CBB17";
-static char selbgcolor[] = "#005577";
-static const unsigned int baralpha = 0xd0;
-static const unsigned int borderalpha = OPAQUE;
+static char normbgcolor[] = "#222222";
+static char normbordercolor[] = "#444444";
+static char normfgcolor[] = "#bbbbbb";
+static char selfgcolor[] = "#eeeeee";
+static char selbordercolor[] = "#770000";
+static char selbgcolor[] = "#005577";
+static const unsigned int baralpha = 0xd0;
+static const unsigned int borderalpha = OPAQUE;
static char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { normfgcolor, normbgcolor, normbordercolor },
@@ -180,11 +180,11 @@ ResourcePref resources[] = {
};
static const Key keys[] = {
- /* STACKKEYS */
+ // STACKKEYS
STACKKEYS(MODKEY, focus)
STACKKEYS(MODKEY | ShiftMask, push)
- /* TAGKEYS */
+ // TAGKEYS
TAGKEYS(XK_1, 0)
TAGKEYS(XK_2, 1)
TAGKEYS(XK_3, 2)
@@ -196,27 +196,27 @@ static const Key keys[] = {
TAGKEYS(XK_9, 8)
/* modifier key function argument */
- /* AUDIO CONTROL */
+ // AUDIO CONTROLS
{ MODKEY, XK_m, spawn, SHCMD("mpc random on; mpc load entire; mpc play; pkill -RTMIN+11 dwmblocks") },
{ MODKEY | ShiftMask, XK_m, spawn, SHCMD("mpdmenu; pkill -RTMIN+11 dwmblocks") },
{ MODKEY | ControlMask, XK_m, spawn, SHCMD("mpc stop; pkill -RTMIN+11 dwmblocks") },
{ MODKEY | ShiftMask | ControlMask, XK_m, spawn, { .v = (const char *[]){ "delmusic", NULL } } },
- { MODKEY, XK_p, spawn, { .v = (const char *[]){ "mpc", "toggle", NULL } } },
+ { MODKEY, XK_p, spawn, SHCMD("mpc toggle; pkill -RTMIN+11 dwmblocks") },
{ MODKEY | ShiftMask, XK_p, spawn, SHCMD("mpc pause; pauseallmpv") },
{ MODKEY | ControlMask, XK_p, spawn, SHCMD("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle; kill -44 $(pidof dwmblocks)") },
- { MODKEY, XK_bracketleft, spawn, { .v = (const char *[]){ "mpc", "prev", NULL } } },
- { MODKEY, XK_bracketright, spawn, { .v = (const char *[]){ "mpc", "next", NULL } } },
- { MODKEY | ShiftMask, XK_bracketleft, spawn, { .v = (const char *[]){ "mpc", "seek", "-10", NULL } } },
- { MODKEY | ShiftMask, XK_bracketright, spawn, { .v = (const char *[]){ "mpc", "seek", "+10", NULL } } },
- { MODKEY | ControlMask, XK_bracketleft, spawn, { .v = (const char *[]){ "mpc", "seek", "-60", NULL } } },
- { MODKEY | ControlMask, XK_bracketright, spawn, { .v = (const char *[]){ "mpc", "seek", "+60", NULL } } },
- { MODKEY | ShiftMask | ControlMask, XK_bracketleft, spawn, { .v = (const char *[]){ "mpc", "seek", "0%", NULL } } },
- { MODKEY | ShiftMask | ControlMask, XK_bracketright, spawn, { .v = (const char *[]){ "mpc", "repeat", NULL } } },
- { MODKEY , XK_backslash, spawn, SHCMD("mpc single on; mpc random off; mpc repeat on") },
- { MODKEY | ShiftMask, XK_backslash, spawn, SHCMD("mpc single off; mpc random on; mpc repeat on") },
- { MODKEY | ControlMask, XK_backslash, spawn, SHCMD("mpc repeat off; mpc random off; mpc single off; pkill -RTMIN+11 dwmblocks") },
-
- /* LAYOUT SIZE */
+ { MODKEY, XK_comma, spawn, { .v = (const char *[]){ "mpc", "prev", NULL } } },
+ { MODKEY, XK_period, spawn, { .v = (const char *[]){ "mpc", "next", NULL } } },
+ { MODKEY | ShiftMask, XK_comma, spawn, { .v = (const char *[]){ "mpc", "seek", "-10", NULL } } },
+ { MODKEY | ShiftMask, XK_period, spawn, { .v = (const char *[]){ "mpc", "seek", "+10", NULL } } },
+ { MODKEY | ControlMask, XK_comma, spawn, { .v = (const char *[]){ "mpc", "seek", "-60", NULL } } },
+ { MODKEY | ControlMask, XK_period, spawn, { .v = (const char *[]){ "mpc", "seek", "+60", NULL } } },
+ { MODKEY | ShiftMask | ControlMask, XK_comma, spawn, { .v = (const char *[]){ "mpc", "seek", "0%", NULL } } },
+ { MODKEY | ShiftMask | ControlMask, XK_period, spawn, { .v = (const char *[]){ "mpc", "repeat", NULL } } },
+ { MODKEY , XK_slash, spawn, SHCMD("mpc single on; mpc random off; mpc repeat on") },
+ { MODKEY | ShiftMask, XK_slash, spawn, SHCMD("mpc single off; mpc random on; mpc repeat on") },
+ { MODKEY | ControlMask, XK_slash, spawn, SHCMD("mpc repeat off; mpc random off; mpc single off; pkill -RTMIN+11 dwmblocks") },
+
+ // LAYOUT SIZES
{ MODKEY | ShiftMask, XK_n, incnmaster, { .i = -1 } },
{ MODKEY | ControlMask, XK_n, incnmaster, { .i = +1 } },
{ MODKEY, XK_f, togglefullscr, {0} },
@@ -244,7 +244,7 @@ static const Key keys[] = {
{ MODKEY | ShiftMask, XK_t, togglegaps, {0} },
{ MODKEY | ControlMask, XK_t, defaultgaps, {0} },
- /* FLOATING SIZE */
+ // FLOATING SIZES
{ MODKEY2 | ControlMask, XK_h, exresize, { .v = (int []){ -25, 0 } } },
{ MODKEY2 | ControlMask, XK_l, exresize, { .v = (int []){ 25, 0 } } },
{ MODKEY2 | ControlMask, XK_j, exresize, { .v = (int []){ 0, 25 } } },
@@ -252,7 +252,7 @@ static const Key keys[] = {
{ MODKEY2 | ControlMask, XK_comma, exresize, { .v = (int []){ -25, -25 } } },
{ MODKEY2 | ControlMask, XK_period, exresize, { .v = (int []){ 25, 25 } } },
- /* MEDIA CONTROL */
+ // MEDIA CONTROLS
{ 0, XF86XK_Battery, spawn, SHCMD("pkill -RTMIN+3 dwmblocks") },
{ 0, XF86XK_WWW, spawn, { .v = (const char *[]){ BROWSER, NULL } } },
{ 0, XF86XK_DOS, spawn, { .v = termcmd } },
@@ -282,10 +282,10 @@ static const Key keys[] = {
{ 0, XF86XK_MonBrightnessUp, spawn, { .v = (const char *[]){ "brillo", "-U", "5", "-q", NULL } } },
{ 0, XF86XK_MonBrightnessDown, spawn, { .v = (const char *[]){ "brillo", "-A", "5", "-q", NULL } } },
- /* MODE */
+ // MODE
{ MODKEY, XK_Escape, setkeymode, { .ui = ModeCommand } },
- /* PROGRAM */
+ // PROGRAMS
{ MODKEY, XK_d, spawn, { .v = (const char *[]){ "dmenu_run", NULL } } },
{ MODKEY, XK_e, spawn, SHCMD(TERMINAL " -e neomutt ; pkill -RTMIN+12 dwmblocks; rmdir ~/.abook 2>/dev/null") },
{ MODKEY, XK_n, spawn, SHCMD(TERMINAL " -e newsboat ; pkill -RTMIN+6 dwmblocks") },
@@ -298,7 +298,7 @@ static const Key keys[] = {
{ MODKEY | ShiftMask, XK_Return, spawn, { .v = (const char *[]){ "sd", NULL } } },
{ MODKEY | ControlMask, XK_Return, togglescratch, { .ui = 0 } }, /* terminal */
- /* SCRIPT */
+ // SCRIPTS
{ MODKEY | ShiftMask, XK_d, spawn, { .v = (const char *[]){ "passmenu", NULL } } },
{ MODKEY | ControlMask, XK_d, spawn, { .v = (const char *[]){ "passmenu2", NULL } } },
{ MODKEY | ShiftMask, XK_f, spawn, { .v = (const char *[]){ "fecrypt", NULL } } },
@@ -316,12 +316,13 @@ static const Key keys[] = {
{ MODKEY, XK_F3, spawn, { .v = (const char *[]){ "displayselect", NULL } } },
{ MODKEY, XK_F4, spawn, SHCMD(TERMINAL " -e pulsemixer; kill -44 $(pidof dwmblocks)") },
{ MODKEY, XK_F5, xrdb, { .v = NULL } },
- { MODKEY | ShiftMask, XK_F5, spawn, SHCMD("stw ~/.dotfiles/arch -d") },
- { MODKEY | ControlMask, XK_F5, spawn, { .v = (const char *[]){ "pacupgrade", NULL } } },
+ { MODKEY | ShiftMask, XK_F5, spawn, { .v = (const char *[]){ "stw", NULL } } },
+ { MODKEY | ControlMask, XK_F5, spawn, { .v = (const char *[]){ "rbackup", NULL } } },
+ { MODKEY | ShiftMask | ControlMask, XK_F5, spawn, { .v = (const char *[]){ "pacupgrade", NULL } } },
{ MODKEY, XK_F6, spawn, { .v = (const char *[]){ "qndl", "-v", NULL } } },
{ MODKEY | ShiftMask, XK_F6, spawn, { .v = (const char *[]){ "qndl", "-m", NULL } } },
- { MODKEY, XK_F7, spawn, { .v = (const char *[]){ "td-toggle", NULL } } },
- { MODKEY | ShiftMask, XK_F7, spawn, { .v = (const char *[]){ "transadd", NULL } } },
+ { MODKEY, XK_F7, spawn, { .v = (const char *[]){ "transadd", "-l", NULL } } },
+ { MODKEY | ControlMask, XK_F7, spawn, { .v = (const char *[]){ "td-toggle", NULL } } },
{ MODKEY, XK_F8, spawn, { .v = (const char *[]){ "mailsync", NULL } } },
{ MODKEY, XK_F9, spawn, { .v = (const char *[]){ "mounter", NULL } } },
{ MODKEY, XK_F10, spawn, { .v = (const char *[]){ "unmounter", NULL } } },
@@ -329,7 +330,7 @@ static const Key keys[] = {
{ MODKEY, XK_F12, spawn, SHCMD("remaps") },
{ MODKEY | ShiftMask, XK_F12, spawn, { .v = (const char *[]){ "fcitx5-configtool", NULL } } },
- /* SYSTEM */
+ // SYSTEMS
{ MODKEY | ControlMask, XK_f, spawn, SHCMD("pkill -f firefox") },
{ MODKEY | ControlMask, XK_k, spawn, SHCMD("pkill -f kakaotalk") },
{ MODKEY, XK_q, killclient, {0} },
@@ -347,20 +348,21 @@ static const Key keys[] = {
{ ControlMask, XK_F5, quit, {1} },
{ ShiftMask | ControlMask, XK_F5, spawn, SHCMD("killall -q dwmblocks; setsid -f dwmblocks") },
- /* TRAVERSAL */
+ // TRAVERSALS
+ { MODKEY, XK_0, view, { .ui = ~0 } },
{ MODKEY | ShiftMask, XK_0, tag, { .ui = ~0 } },
- { MODKEY2, XK_comma, shiftview, { .i = -1 } },
- { MODKEY2, XK_period, shiftview, { .i = 1 } },
- { MODKEY2 | ShiftMask, XK_comma, shifttag, { .i = -1 } },
- { MODKEY2 | ShiftMask, XK_period, shifttag, { .i = 1 } },
- { MODKEY, XK_comma, shiftviewclients, { .i = -1 } },
- { MODKEY, XK_period, shiftviewclients, { .i = +1 } },
- { MODKEY | ShiftMask, XK_comma, shifttagclients, { .i = -1 } },
- { MODKEY | ShiftMask, XK_period, shifttagclients, { .i = +1 } },
- { MODKEY | ControlMask, XK_comma, shiftboth, { .i = -1 } },
- { MODKEY | ControlMask, XK_period, shiftboth, { .i = +1 } },
- { MODKEY | ShiftMask | ControlMask, XK_comma, shiftswaptags, { .i = -1 } },
- { MODKEY | ShiftMask | ControlMask, XK_period, shiftswaptags, { .i = +1 } },
+ { MODKEY2, XK_bracketleft, shiftview, { .i = -1 } },
+ { MODKEY2, XK_bracketright, shiftview, { .i = 1 } },
+ { MODKEY2 | ShiftMask, XK_bracketleft, shifttag, { .i = -1 } },
+ { MODKEY2 | ShiftMask, XK_bracketright, shifttag, { .i = 1 } },
+ { MODKEY, XK_bracketleft, shiftviewclients, { .i = -1 } },
+ { MODKEY, XK_bracketright, shiftviewclients, { .i = +1 } },
+ { MODKEY | ShiftMask, XK_bracketleft, shifttagclients, { .i = -1 } },
+ { MODKEY | ShiftMask, XK_bracketright, shifttagclients, { .i = +1 } },
+ { MODKEY | ControlMask, XK_bracketleft, shiftboth, { .i = -1 } },
+ { MODKEY | ControlMask, XK_bracketright, shiftboth, { .i = +1 } },
+ { MODKEY | ShiftMask | ControlMask, XK_bracketleft, shiftswaptags, { .i = -1 } },
+ { MODKEY | ShiftMask | ControlMask, XK_bracketright, shiftswaptags, { .i = +1 } },
{ MODKEY, XK_Left, focusmon, { .i = -1 } },
{ MODKEY, XK_Right, focusmon, { .i = +1 } },
{ MODKEY | ShiftMask, XK_Left, tagmon, { .i = -1 } },
@@ -373,17 +375,18 @@ static const Key keys[] = {
static Key cmdkeys[] = {
/* modifier keys function argument */
+ // COMMANDS
{ 0, XK_Escape, clearcmd, {0} },
{ ControlMask, XK_c, clearcmd, {0} },
{ ControlMask, XK_x, setkeymode, { .ui = ModeInsert } },
};
static Command commands[] = {
- /* STACKKEYS */
+ // STACKKEYS
CSTACKKEYS(MODKEY, focus)
CSTACKKEYS(MODKEY | ShiftMask, push)
- /* TAGKEYS */
+ // TAGKEYS
CTAGKEYS(XK_1, 0)
CTAGKEYS(XK_2, 1)
CTAGKEYS(XK_3, 2)
@@ -395,7 +398,7 @@ static Command commands[] = {
CTAGKEYS(XK_9, 8)
/* Modifier (4 keys) keysyms (4 keys) function argument */
- /* APPEARANCE */
+ // APPEARANCES
{ { ShiftMask, 0, 0, 0 }, { XK_b, 0, 0, 0 }, togglebar, {0} },
{ { ControlMask, 0, 0, 0 }, { XK_b, 0, 0, 0 }, togglebar, { .i = 1 } },
{ { ShiftMask, 0, 0, 0 }, { XK_o, 0, 0, 0 }, toggleborder, {0} },
@@ -403,7 +406,7 @@ static Command commands[] = {
{ { ShiftMask, 0, 0, 0 }, { XK_g, 0, 0, 0 }, togglegaps, {0} },
{ { ControlMask, 0, 0, 0 }, { XK_g, 0, 0, 0 }, defaultgaps, {0} },
- /* LAYOUT */
+ // LAYOUTS
{ { 0, 0, 0, 0 }, { XK_l, XK_t, 0, 0 }, setlayout, { .v = &layouts[0] } },
{ { 0, 0, 0, 0 }, { XK_l, XK_m, 0, 0 }, setlayout, { .v = &layouts[1] } },
{ { 0, 0, 0, 0 }, { XK_l, XK_c, XK_l, 0 }, setlayout, { .v = &layouts[2] } },
@@ -429,14 +432,13 @@ static Command commands[] = {
{ { 0, 0, 0, 0 }, { XK_f, XK_comma, 0, 0 }, explace, { .ui = EX_S } },
{ { 0, 0, 0, 0 }, { XK_f, XK_period, 0, 0 }, explace, { .ui = EX_SE } },
- /* FLOATING SIZE */
+ // FLOATING SIZES
{ { ControlMask, 0, 0, 0 }, { XK_j, 0, 0, 0 }, exresize, { .v = (int []){ 0, 25 } } },
{ { ControlMask, 0, 0, 0 }, { XK_k, 0, 0, 0 }, exresize, { .v = (int []){ 0, -25 } } },
{ { ControlMask, 0, 0, 0 }, { XK_l, 0, 0, 0 }, exresize, { .v = (int []){ 25, 0 } } },
{ { ControlMask, 0, 0, 0 }, { XK_h, 0, 0, 0 }, exresize, { .v = (int []){ -25, 0 } } },
{ { ControlMask, 0, 0, 0 }, { XK_comma, 0, 0, 0 }, exresize, { .v = (int []){ -25, -25 } } },
{ { ControlMask, 0, 0, 0 }, { XK_period, 0, 0, 0 }, exresize, { .v = (int []){ 25, 25 } } },
-
{ { ControlMask, 0, 0, 0 }, { XK_f, XK_i, XK_h, 0 }, togglehorizontalexpand, { .i = +1 } },
{ { ControlMask, 0, 0, 0 }, { XK_f, XK_r, XK_h, 0 }, togglehorizontalexpand, { .i = 0 } },
{ { ControlMask, 0, 0, 0 }, { XK_f, XK_d, XK_h, 0 }, togglehorizontalexpand, { .i = -1 } },
@@ -447,8 +449,8 @@ static Command commands[] = {
{ { ControlMask, 0, 0, 0 }, { XK_f, XK_r, XK_m, 0 }, togglemaximize, { .i = 0 } },
{ { ControlMask, 0, 0, 0 }, { XK_f, XK_d, XK_m, 0 }, togglemaximize, { .i = -1 } },
- /* PROGRAM */
- { { 0, 0, 0, 0 }, { XK_a, 0, 0, 0 }, spawn, SHCMD(TERMINAL " -e abook -C ~/.abook/abookrc --datafile ~/.abook/addressbook") },
+ // PROGRAMS
+ { { 0, 0, 0, 0 }, { XK_a, 0, 0, 0 }, spawn, SHCMD(TERMINAL " -e abook -C ~/.config/abook/abookrc --datafile ~/.config/abook/addressbook") },
{ { 0, 0, 0, 0 }, { XK_e, 0, 0, 0 }, spawn, SHCMD(TERMINAL " -e neomutt ; pkill -RTMIN+12 dwmblocks; rmdir ~/.abook 2>/dev/null") },
{ { 0, 0, 0, 0 }, { XK_g, 0, 0, 0 }, spawn, { .v = (const char *[]){ "gimp", NULL } } },
{ { 0, 0, 0, 0 }, { XK_h, 0, 0, 0 }, spawn, { .v = (const char *[]){ TERMINAL, "-e", "htop", NULL } } },
@@ -469,7 +471,8 @@ static Command commands[] = {
/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle,
* ClkClientWin, or ClkRootWin */
static const Button buttons[] = {
-/* click event mask button function argument */
+ /* click event mask button function argument */
+ // MOUSE BUTTONS
#ifndef __OpenBSD__
{ ClkWinTitle, 0, Button2, zoom, {0} },
{ ClkStatusText, 0, Button1, sigdwmblocks, { .i = 1 } },
@@ -492,4 +495,5 @@ static const Button buttons[] = {
{ ClkTagBar, 0, Button4, shiftview, { .i = -1 } },
{ ClkTagBar, 0, Button5, shiftview, { .i = 1 } },
{ ClkRootWin, 0, Button2, togglebar, {0} },
+ { ClkRootWin, MODKEY, Button2, togglebar, { .i = 1 } },
};
diff --git a/dwm/dwm b/dwm/dwm
index e223dd7..949a99c 100755
--- a/dwm/dwm
+++ b/dwm/dwm
Binary files differ
diff --git a/dwm/thesiah-default.mom b/dwm/thesiah-default.mom
new file mode 100644
index 0000000..6c130b2
--- /dev/null
+++ b/dwm/thesiah-default.mom
@@ -0,0 +1,182 @@
+.de LI
+.LIST
+.SHIFT_LIST 10p
+..
+.PARA_SPACE 1m
+.TITLE "\s+(10A Friendly Guide to THESIAH!\s0"
+.AUTHOR "\s+5Soomin Im\s0"
+.DOCTYPE DEFAULT
+.COPYSTYLE FINAL
+.PRINTSTYLE TYPESET
+.PT_SIZE 12
+.START
+Use vim keys (\f(CWh/j/k/l\fP) to navigate this document.
+Pressing \f(CWs\fP will fit it to window width (\f(CWa\fP to revert).
+\f(CWK\fP and \f(CWJ\fP zoom in and out.
+\f(CWSuper+f\fP to toggle fullscreen.
+\f(CWq\fP to quit.
+\f(CW/\fP to search for text.
+(These are general binds set for \fBzathura\fP, the pdf reader.)
+.LI
+.ITEM
+\f(CWMod+F1\fP will show this document at any time.
+.ITEM
+By \f(CWMod\fP, I mean the Super Key, usually known as "the Windows Key."
+.LIST OFF
+.PP
+FAQs are at the end of this document.
+.HEADING 1 "Welcome!"
+.HEADING 2 "Basic goals and principles of this system:"
+.LI
+.ITEM
+\fBNaturalness\fP \(en
+Remove the border between mind and matter:
+everything important should be as few keypresses as possible away from you,
+and you shouldn't have to think about what you're doing.
+Immersion.
+.ITEM
+\fBEconomy\fP \(en
+Programs should be simple and light on system resources and highly extensible.
+Because of this, many are terminal or small ncurses programs that have all the magic inside of them.
+.ITEM
+\fBKeyboard/vim-centrality\fP \(en
+All terminal programs (and other programs) use vim keys when possible.
+Your hands never need leave the home row or thereabout.
+.ITEM
+\fBDecentralization\fP \(en
+This system is a web of small, modifiable and replaceable programs that users can easily customize.
+.LIST OFF
+.HEADING 2 "General keyboard changes"
+.LI
+.ITEM
+Capslock is a useless key in high quality space.
+It's now remapped.
+If you press it alone, it will function as escape, making vimcraft much more natural,
+but you can also hold it down and it will act as another Windows/super/mod key.
+.ITEM
+The menu button (usually between the right Alt and Ctrl) is an alternative Super/Mod button.
+This is to make one-handing on laptops easier.
+.LIST OFF
+.PP
+If you'd like to change any of these keyboard changes, you need only open and change the \f(CWremaps\fP script.
+All custom scripts in THESIAH are located in \f(CW~/.local/bin/\fP.
+Actually, this should go without saying, but \fIeverything\fP here can easily be changed.
+Below in this document, there is information about where to change programs/components.
+.PP
+Additionally, while this isn't a part of the desktop environment, the default editing mode in the shell is using vi bindings.
+If you want to learn more of this, run \f(CWMod+F2\fP and type and select the option for "vi mode in shell".
+This setting can be changed if you don't like it by deleting or commenting out the contents of \f(CW~/.config/shell/inputrc\fP.
+.HEADING 2 "The Status Bar"
+.PP
+To the left, you'll see the numbers of your current workspace/tag(s).
+On the right, you'll see various system status notifiers, the date, volume, even music and local weather if possible, etc.
+Each module on the right of the statusbar is a script located in \f(CW~/.local/bin/statusbar/\fP.
+You can see what they do and modify them from there.
+I'm sure you can figure it out.
+You can also right click on the module to see what it does.
+.PP
+The program dwmblocks is what is run to generate the statusbar from those scripts.
+You can edit its config/source code in \f(CW~/.local/src/suckless/dwmblocks/\fP to tell it what scripts/commands you want it to display.
+.HEADING 3 "HiDPI and 4K Displays"
+.PP
+If you have a screen with a very high dots-per-inch, the interface, particularly the status bar at the top may be very small. To change this, you can run \f(CWxrandr --dpi 96\fP, replacing 96 with a higher number, then you can refresh the window manager in the menu at \f(CWsuper+backspace\fP. To make this change persistent after reboot, edit \f(CW~/.xprofile\fP and you will see that same command which you can change to have the dots-per-inch value you want.
+.HEADING 2 "Deeper Tutorials"
+.PP
+Press \f(CWmod+F2\fP at any time to get a menu of programs to watch videos about streaming directly from YouTube.
+You can also check the config files for programs which detail a lot of the specific bindings.
+.HEADING 1 "Key Bindings"
+.PP
+The window manager dwm abstractly orders all of your windows into a stack from most important to least based on when you last manipulated it.
+dwm is an easy to use window manager, but you should understand that it makes use of that stack layout.
+If you're not familiar, I recommend you press \f(CWMod+F2\fP and select the "dwm" option to watch my brief tutorial (note that the bindings I discuss in the video are the default dwm binds, which are different (inferior) to those here).
+.PP
+Notice also the case sensitivity of the shortcuts\c
+.FOOTNOTE
+To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound like an obvious and condescending thing to tell you, but there have literally been multiple people (Boomers) who have emailed me asking how to type a capital letter since caps lock isn't enabled.
+.FOOTNOTE OFF
+ , Be sure you play around with these. Be flexible with the basic commands and the system will grow on you quick.
+.HEADING 2 "Suckless"
+.HEADING 2 "Other buttons"
+.PP
+I've mapped those extra buttons that some keyboards have (play and pause
+buttons, screen brightness, email, web browsing buttons, etc.) to what you
+would expect.
+.HEADING 1 "Configuration"
+.PP
+Dotfiles/settings files are located in \f(CW~/.config/\fP.
+.PP
+Suckless programs, dwm (the window manager), st (the terminal) and dmenu among others do not have traditional config files, but have their source code location in \f(CW~/.local/src/suckless/\fP (press \f(CWrr\fP to jump to that directory).
+There you can modify their \f(CWconfig.h\fP files or other source code, then \f(CWsudo make install\fP to reinstall.
+.PP
+vim is set to automatically recompile and install these programs whenever you save changes to any \f(CWconfig.h\fP file
+(compilation will be nearly instantaneous).
+You'll have to restart the program to see its effects obviously.
+.HEADING 1 "Frequently Asked Questions (FAQs)"
+.HEADING 2 "My keyboard isn't working as expected!"
+.PP
+As mentioned above, THESIAH makes some keyboard changes with the \f(CWremaps\fP script.
+These settings may override your preferred settings, so you should open this file and comment out troublesome lines if you have issues.
+.HEADING 2 "My audio isn't working!"
+.PP
+On fresh install, the Linux audio system often mutes outputs.
+You may also need to set your preferred default output sink which you can do by the command line, or by selecting one with \f(CWpulsemixer\fP (\f(CWMod+F4\fP).
+.HEADING 2 "How do I copy and paste?"
+.PP
+Copying and pasting is always program-specific on any system.
+In most graphical programs, copy and paste will be the same as they are on Windows: \f(CWctrl-c\fP and \f(CWctrl-v\fP.
+In the Linux terminal, those binds have other more important purposes, so you can run \f(CWman st\fP to see how to copy and paste in my terminal build.
+.PP
+Additionally, I've set vim to use the clipboard as the default buffer, which means when you yank or delete something in vim, it will be in your system clipboard as well, so you can \f(CWctrl-v\fP it into your browser instance, etc. You can also paste material copied from other programs into vim with the typical vim bindings.
+.HEADING 2 "How do I change the background/wallpaper?"
+.PP
+The system will always read the file \f(CW~/.local/share/bg\fP as the wallpaper.
+The script \f(CWsetbg\fP, if run on an image will set it as the persistent background.
+When using the file manager, you can simply hover over an image name and type \f(CWb\fP and this will run \f(CWsetbg\fP.
+.HEADING 2 "How I change the colorscheme?"
+.PP
+THESIAH no longer deploys Xresources by default, but check \f(CW~/.config/x11/xresources\fP for a list of color schemes you can activate or add your own. When you save the file, vim will automatically update the colorscheme. If you'd like these colors activated by default on login, there is a line in \f(CW~/.config/x11/xprofile\fP you can uncomment to allow that.
+.PP
+Or, if you want to use \f(CWwal\fP to automatically generate colorschemes from your wallpapers, just install it and \f(CWsetbg\fP will automatically detect and run it on startup and wallpaper change.
+.HEADING 2 "How do I set up my email?"
+.PP
+THESIAH comes with mutt-wizard, which gives the ability to receive and send all your email and keep an offline store of it all in your terminal, without the need for browser.
+You can add email accounts by running \f(CWmw -a your@email.com\fP.
+See \f(CWman mw\fP for all the information you need about mutt-wizard.
+.PP
+Once you have successfully added your email address(es), you can open your mail with \f(CWneomutt\fP which is also bound to \f(CWMod+e\fP.
+You can sync your mail by pressing \f(CWMod+F8\fP and you can set a cronjob to sync mail every 10 minutes by running \f(CWmw -t 10\fP.
+.PP
+You may also want to install \f(CWpam-gnupg-git\fP, which can be set up to automatically unlock your GPG key on login, which will allow you avoid having put in a password to sync and send, all while keeping your password safe and encrypted on your machine.
+.HEADING 2 "How do I set up my music?"
+.PP
+By default, mpd, the music daemon assumes that \f(CW~/Music\fP is your music directory.
+This can be changed in \f(CW~/.config/mpd/mpd.conf\fP.
+When you add music to your music folder, you may have to run \f(CWmpc up\fP in the terminal to update the database.
+mpd is controlled by ncmpcpp, which is accessible by \f(CWMod+m\fP.
+.HEADING 2 "How do I update THESIAH?"
+.PP
+THESIAH is deployed as a git repository in your home directory.
+You can use it as such to fetch, diff and merge changes from the remote repository.
+If you don't want to do that or don't know how to use git, you can actually just rerun the script (as root) and reinstall THESIAH and it will automatically update an existing install if you select the same username.
+This will overwrite the original config files though, including changes you made for them, but this is an easier brute force approach that will also install any new dependencies.
+.HEADING 1 "Important Links"
+.PP
+You can follow links via the keyboard in this pdf reader by pressing \f(CWf\fP followed by the number that appears on the desired link.
+.LI
+.ITEM
+.PDF_WWW_LINK "mailto:si@thesiah.xyz" "si@thesiah.xyz"
+\(en For questions!
+.ITEM
+.PDF_WWW_LINK "http://thesiah.xyz" "https://thesiah.xyz"
+\(en For stalking!
+.ITEM
+.PDF_WWW_LINK "https://thesiah.xyz/donate" "https://thesiah.xyz/donate"
+\(en To incentivize more development of THESIAH!
+.ITEM
+.PDF_WWW_LINK "https://github.com/TheSiahxyz" "https://github.com/TheSiahxyz"
+\(en For the code behind it!
+.ITEM
+.PDF_WWW_LINK "http://thesiah.xyz/rss.xml" "RSS"
+\(en For updates!
+.LIST OFF
+.END
diff --git a/dwm/thesiah.mom b/dwm/thesiah.mom
index 65e584e..9774e7e 100644
--- a/dwm/thesiah.mom
+++ b/dwm/thesiah.mom
@@ -95,11 +95,14 @@ Notice also the case sensitivity of the shortcuts\c
To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound like an obvious and condescending thing to tell you, but there have literally been multiple people (Boomers) who have emailed me asking how to type a capital letter since caps lock isn't enabled.
.FOOTNOTE OFF
, Be sure you play around with these. Be flexible with the basic commands and the system will grow on you quick.
-.HEADING 2 "Programs"
-.HEADING 3 "dwm"
+.HEADING 2 "Suckless"
+.HEADING 3 "DWM"
.LI
.LIST OFF
-.HEADING 4 "Insert Mode"
+.HEADING 8 "INSERT MODE"
+.LI
+.LIST OFF
+.HEADING 9 "Audio Controls"
.LI
.ITEM
\f(CWMOD+m\fP \(en spawn SHCMD("mpcrandomon;mpcloadentire;mpcplay;pkill-RTMIN+11dwmblocks")
@@ -110,33 +113,36 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
.ITEM
\f(CWMOD+Shift+Ctrl+m\fP \(en spawn {.v=(constchar*[]){"delmusic",NULL}}
.ITEM
-\f(CWMOD+p\fP \(en spawn {.v=(constchar*[]){"mpc","toggle",NULL}}
+\f(CWMOD+p\fP \(en spawn SHCMD("mpctoggle;pkill-RTMIN+11dwmblocks")
.ITEM
\f(CWMOD+Shift+p\fP \(en spawn SHCMD("mpcpause;pauseallmpv")
.ITEM
\f(CWMOD+Ctrl+p\fP \(en spawn SHCMD("wpctlset-mute@DEFAULT_AUDIO_SINK@toggle;kill-44$(pidofdwmblocks)")
.ITEM
-\f(CWMOD+bracketleft\fP \(en spawn {.v=(constchar*[]){"mpc","prev",NULL}}
+\f(CWMOD+comma\fP \(en spawn {.v=(constchar*[]){"mpc","prev",NULL}}
.ITEM
-\f(CWMOD+bracketright\fP \(en spawn {.v=(constchar*[]){"mpc","next",NULL}}
+\f(CWMOD+period\fP \(en spawn {.v=(constchar*[]){"mpc","next",NULL}}
.ITEM
-\f(CWMOD+Shift+bracketleft\fP \(en spawn {.v=(constchar*[]){"mpc","seek","-10",NULL}}
+\f(CWMOD+Shift+comma\fP \(en spawn {.v=(constchar*[]){"mpc","seek","-10",NULL}}
.ITEM
-\f(CWMOD+Shift+bracketright\fP \(en spawn {.v=(constchar*[]){"mpc","seek","+10",NULL}}
+\f(CWMOD+Shift+period\fP \(en spawn {.v=(constchar*[]){"mpc","seek","+10",NULL}}
.ITEM
-\f(CWMOD+Ctrl+bracketleft\fP \(en spawn {.v=(constchar*[]){"mpc","seek","-60",NULL}}
+\f(CWMOD+Ctrl+comma\fP \(en spawn {.v=(constchar*[]){"mpc","seek","-60",NULL}}
.ITEM
-\f(CWMOD+Ctrl+bracketright\fP \(en spawn {.v=(constchar*[]){"mpc","seek","+60",NULL}}
+\f(CWMOD+Ctrl+period\fP \(en spawn {.v=(constchar*[]){"mpc","seek","+60",NULL}}
.ITEM
-\f(CWMOD+Shift+Ctrl+bracketleft\fP \(en spawn {.v=(constchar*[]){"mpc","seek","0%",NULL}}
+\f(CWMOD+Shift+Ctrl+comma\fP \(en spawn {.v=(constchar*[]){"mpc","seek","0%",NULL}}
.ITEM
-\f(CWMOD+Shift+Ctrl+bracketright\fP \(en spawn {.v=(constchar*[]){"mpc","repeat",NULL}}
+\f(CWMOD+Shift+Ctrl+period\fP \(en spawn {.v=(constchar*[]){"mpc","repeat",NULL}}
.ITEM
-\f(CWMOD+backslash\fP \(en spawn SHCMD("mpcsingleon;mpcrandomoff;mpcrepeaton")
+\f(CWMOD+slash\fP \(en spawn SHCMD("mpcsingleon;mpcrandomoff;mpcrepeaton")
.ITEM
-\f(CWMOD+Shift+backslash\fP \(en spawn SHCMD("mpcsingleoff;mpcrandomon;mpcrepeaton")
+\f(CWMOD+Shift+slash\fP \(en spawn SHCMD("mpcsingleoff;mpcrandomon;mpcrepeaton")
.ITEM
-\f(CWMOD+Ctrl+backslash\fP \(en spawn SHCMD("mpcrepeatoff;mpcrandomoff;mpcsingleoff;pkill-RTMIN+11dwmblocks")
+\f(CWMOD+Ctrl+slash\fP \(en spawn SHCMD("mpcrepeatoff;mpcrandomoff;mpcsingleoff;pkill-RTMIN+11dwmblocks")
+.LIST OFF
+.HEADING 9 "Layout Sizes"
+.LI
.ITEM
\f(CWMOD+Shift+n\fP \(en incnmaster {.i=-1}
.ITEM
@@ -189,6 +195,9 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
\f(CWMOD+Shift+t\fP \(en togglegaps {0}
.ITEM
\f(CWMOD+Ctrl+t\fP \(en defaultgaps {0}
+.LIST OFF
+.HEADING 9 "Floating Sizes"
+.LI
.ITEM
\f(CWMOD2+Ctrl+h\fP \(en exresize {.v=(int[]){-25}}
.ITEM
@@ -201,6 +210,9 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
\f(CWMOD2+Ctrl+comma\fP \(en exresize {.v=(int[]){-25,-25}}
.ITEM
\f(CWMOD2+Ctrl+period\fP \(en exresize {.v=(int[]){25+25}}
+.LIST OFF
+.HEADING 9 "Media Controls"
+.LI
.ITEM
\f(CWXF86Battery\fP \(en spawn SHCMD("pkill-RTMIN+3dwmblocks")
.ITEM
@@ -257,8 +269,14 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
\f(CWXF86MonBrightnessUp\fP \(en spawn {.v=(constchar*[]){"brillo","-U","5","-q",NULL}}
.ITEM
\f(CWXF86MonBrightnessDown\fP \(en spawn {.v=(constchar*[]){"brillo","-A","5","-q",NULL}}
+.LIST OFF
+.HEADING 9 "Mode"
+.LI
.ITEM
-\f(CWMOD+Escape\fP \(en setkeymode {.ui=ModeCommand}
+\f(CWMOD+Esc\fP \(en setkeymode {.ui=ModeCommand}
+.LIST OFF
+.HEADING 9 "Programs"
+.LI
.ITEM
\f(CWMOD+d\fP \(en spawn {.v=(constchar*[]){"dmenu_run",NULL}}
.ITEM
@@ -277,6 +295,9 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
\f(CWMOD+Return\fP \(en spawn {.v=termcmd}
.ITEM
\f(CWMOD+Shift+Return\fP \(en spawn {.v=(constchar*[]){"sd",NULL}}
+.LIST OFF
+.HEADING 9 "Scripts"
+.LI
.ITEM
\f(CWMOD+Shift+d\fP \(en spawn {.v=(constchar*[]){"passmenu",NULL}}
.ITEM
@@ -286,8 +307,6 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
.ITEM
\f(CWMOD+v\fP \(en spawn {.v=(constchar*[]){"mpvplay",NULL}}
.ITEM
-\f(CWMOD+Insert\fP \(en spawn SHCMD("xdotooltype$(grep-v'^#'~/.local/share/thesiah/snippets+dmenu-i-l50+cut-d''-f1)")
-.ITEM
\f(CWPrint\fP \(en spawn SHCMD("maim+tee~/Pictures/screenshot-$(date'+%y%m%d-%H%M-%S').png+xclip-selectionclipboard")
.ITEM
\f(CWShift+Print\fP \(en spawn {.v=(constchar*[]){"maimpick",NULL}}
@@ -312,17 +331,19 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
.ITEM
\f(CWMOD+F5\fP \(en xrdb {.v=NULL}
.ITEM
-\f(CWMOD+Shift+F5\fP \(en spawn SHCMD("stw~/.dotfiles/arch-d")
+\f(CWMOD+Shift+F5\fP \(en spawn {.v=(constchar*[]){"stw",NULL}}
+.ITEM
+\f(CWMOD+Ctrl+F5\fP \(en spawn {.v=(constchar*[]){"rbackup",NULL}}
.ITEM
-\f(CWMOD+Ctrl+F5\fP \(en spawn {.v=(constchar*[]){"pacupgrade",NULL}}
+\f(CWMOD+Shift+Ctrl+F5\fP \(en spawn {.v=(constchar*[]){"pacupgrade",NULL}}
.ITEM
\f(CWMOD+F6\fP \(en spawn {.v=(constchar*[]){"qndl","-v",NULL}}
.ITEM
\f(CWMOD+Shift+F6\fP \(en spawn {.v=(constchar*[]){"qndl","-m",NULL}}
.ITEM
-\f(CWMOD+F7\fP \(en spawn {.v=(constchar*[]){"td-toggle",NULL}}
+\f(CWMOD+F7\fP \(en spawn {.v=(constchar*[]){"transadd","-l",NULL}}
.ITEM
-\f(CWMOD+Shift+F7\fP \(en spawn {.v=(constchar*[]){"transadd",NULL}}
+\f(CWMOD+Ctrl+F7\fP \(en spawn {.v=(constchar*[]){"td-toggle",NULL}}
.ITEM
\f(CWMOD+F8\fP \(en spawn {.v=(constchar*[]){"mailsync",NULL}}
.ITEM
@@ -335,6 +356,9 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
\f(CWMOD+F12\fP \(en spawn SHCMD("remaps")
.ITEM
\f(CWMOD+Shift+F12\fP \(en spawn {.v=(constchar*[]){"fcitx5-configtool",NULL}}
+.LIST OFF
+.HEADING 9 "Systems"
+.LI
.ITEM
\f(CWMOD+Ctrl+f\fP \(en spawn SHCMD("pkill-ffirefox")
.ITEM
@@ -367,32 +391,37 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
\f(CWCtrl+F5\fP \(en quit {1}
.ITEM
\f(CWShift+Ctrl+F5\fP \(en spawn SHCMD("killall-qdwmblocks;setsid-fdwmblocks")
+.LIST OFF
+.HEADING 9 "Traversals"
+.LI
+.ITEM
+\f(CWMOD+view\fP \(en {.ui=~0}
.ITEM
\f(CWMOD+Shift+tag\fP \(en {.ui=~0}
.ITEM
-\f(CWMOD2+comma\fP \(en shiftview {.i=-1}
+\f(CWMOD2+bracketleft\fP \(en shiftview {.i=-1}
.ITEM
-\f(CWMOD2+period\fP \(en shiftview {.i=1}
+\f(CWMOD2+bracketright\fP \(en shiftview {.i=1}
.ITEM
-\f(CWMOD2+Shift+comma\fP \(en shifttag {.i=-1}
+\f(CWMOD2+Shift+bracketleft\fP \(en shifttag {.i=-1}
.ITEM
-\f(CWMOD2+Shift+period\fP \(en shifttag {.i=1}
+\f(CWMOD2+Shift+bracketright\fP \(en shifttag {.i=1}
.ITEM
-\f(CWMOD+comma\fP \(en shiftviewclients {.i=-1}
+\f(CWMOD+bracketleft\fP \(en shiftviewclients {.i=-1}
.ITEM
-\f(CWMOD+period\fP \(en shiftviewclients {.i=+1}
+\f(CWMOD+bracketright\fP \(en shiftviewclients {.i=+1}
.ITEM
-\f(CWMOD+Shift+comma\fP \(en shifttagclients {.i=-1}
+\f(CWMOD+Shift+bracketleft\fP \(en shifttagclients {.i=-1}
.ITEM
-\f(CWMOD+Shift+period\fP \(en shifttagclients {.i=+1}
+\f(CWMOD+Shift+bracketright\fP \(en shifttagclients {.i=+1}
.ITEM
-\f(CWMOD+Ctrl+comma\fP \(en shiftboth {.i=-1}
+\f(CWMOD+Ctrl+bracketleft\fP \(en shiftboth {.i=-1}
.ITEM
-\f(CWMOD+Ctrl+period\fP \(en shiftboth {.i=+1}
+\f(CWMOD+Ctrl+bracketright\fP \(en shiftboth {.i=+1}
.ITEM
-\f(CWMOD+Shift+Ctrl+comma\fP \(en shiftswaptags {.i=-1}
+\f(CWMOD+Shift+Ctrl+bracketleft\fP \(en shiftswaptags {.i=-1}
.ITEM
-\f(CWMOD+Shift+Ctrl+period\fP \(en shiftswaptags {.i=+1}
+\f(CWMOD+Shift+Ctrl+bracketright\fP \(en shiftswaptags {.i=+1}
.ITEM
\f(CWMOD+Left\fP \(en focusmon {.i=-1}
.ITEM
@@ -405,14 +434,20 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
\f(CWMOD+Shift+Tab\fP \(en view {0}
.ITEM
\f(CWstaticKeycmdkeys[]={+\fP \(en staticKeycmdkeys[]={
+.LIST OFF
+.HEADING 9 "Commands"
+.LI
.ITEM
-\f(CWEscape\fP \(en clearcmd {0}
+\f(CWEsc\fP \(en clearcmd {0}
.ITEM
\f(CWCtrl+c\fP \(en clearcmd {0}
.ITEM
\f(CWCtrl+x\fP \(en setkeymode {.ui=ModeInsert}
.LIST OFF
-.HEADING 4 "Command Mode"
+.HEADING 8 "COMMAND MODE"
+.LI
+.LIST OFF
+.HEADING 9 "Appearances"
.LI
.ITEM
\f(CWShift+b\fP \(en togglebar {0}
@@ -426,6 +461,9 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
\f(CWShift+g\fP \(en togglegaps {0}
.ITEM
\f(CWCtrl+g\fP \(en defaultgaps {0}
+.LIST OFF
+.HEADING 9 "Layouts"
+.LI
.ITEM
\f(CWlt\fP \(en setlayout {.v=&layouts[0]}
.ITEM
@@ -472,6 +510,9 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
\f(CWfcomma\fP \(en explace {.ui=EX_S}
.ITEM
\f(CWfperiod\fP \(en explace {.ui=EX_SE}
+.LIST OFF
+.HEADING 9 "Floating Sizes"
+.LI
.ITEM
\f(CWCtrl+j\fP \(en exresize {.v=(int[]){25}}
.ITEM
@@ -502,8 +543,11 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
\f(CWCtrl+frm\fP \(en togglemaximize {.i=0}
.ITEM
\f(CWCtrl+fdm\fP \(en togglemaximize {.i=-1}
+.LIST OFF
+.HEADING 9 "Programs"
+.LI
.ITEM
-\f(CWa\fP \(en spawn SHCMD(TERMINAL"-eabook-C~/.abook/abookrc--datafile~/.abook/addressbook")
+\f(CWa\fP \(en spawn SHCMD(TERMINAL"-eabook-C~/.config/abook/abookrc--datafile~/.config/abook/addressbook")
.ITEM
\f(CWe\fP \(en spawn SHCMD(TERMINAL"-eneomutt;pkill-RTMIN+12dwmblocks;rmdir~/.abook2>/dev/null")
.ITEM
@@ -533,10 +577,62 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
.ITEM
\f(CWwf\fP \(en spawn {.v=(constchar*[]){TERMINAL,"-e","sudo","nmtui",NULL}}
.LIST OFF
-.HEADING 3 "st"
+.HEADING 8 "INSERT MODE"
.LI
+.LIST OFF
+.HEADING 9 "Mouse Buttons"
+.LI
+.ITEM
+\f(CWClkWinTitle+Button2\fP \(en zoom {0}
+.ITEM
+\f(CWClkStatusText+Button1\fP \(en sigdwmblocks {.i=1}
.ITEM
-\f(CWstaticShortcutshortcuts[]={+\fP \(en staticShortcutshortcuts[]={
+\f(CWClkStatusText+Button2\fP \(en sigdwmblocks {.i=2}
+.ITEM
+\f(CWClkStatusText+Button3\fP \(en sigdwmblocks {.i=3}
+.ITEM
+\f(CWClkStatusText+Button4\fP \(en sigdwmblocks {.i=4}
+.ITEM
+\f(CWClkStatusText+Button5\fP \(en sigdwmblocks {.i=5}
+.ITEM
+\f(CWClkStatusText+Shift\fP \(en Button1 sigdwmblocks,{.i=6}
+.ITEM
+\f(CWClkStatusText+Shift\fP \(en Button3 spawn,SHCMD(TERMINAL"-envim~/.local/src/suckless/dwmblocks/config.h")
+.ITEM
+\f(CWClkClientWin+MOD\fP \(en Button1 movemouse,{0}
+.ITEM
+\f(CWClkClientWin+MOD\fP \(en Button2 defaultgaps,{0}
+.ITEM
+\f(CWClkClientWin+MOD\fP \(en Button3 resizemouse,{0}
+.ITEM
+\f(CWClkClientWin+MOD\fP \(en Button4 incrgaps,{.i=+1}
+.ITEM
+\f(CWClkClientWin+MOD\fP \(en Button5 incrgaps,{.i=-1}
+.ITEM
+\f(CWClkTagBar+Button1\fP \(en view {0}
+.ITEM
+\f(CWClkTagBar+Button3\fP \(en toggleview {0}
+.ITEM
+\f(CWClkTagBar+MOD\fP \(en Button1 tag,{0}
+.ITEM
+\f(CWClkTagBar+MOD\fP \(en Button3 toggletag,{0}
+.ITEM
+\f(CWClkTagBar+Button4\fP \(en shiftview {.i=-1}
+.ITEM
+\f(CWClkTagBar+Button5\fP \(en shiftview {.i=1}
+.ITEM
+\f(CWClkRootWin+Button2\fP \(en togglebar {0}
+.ITEM
+\f(CWClkRootWin+MOD\fP \(en Button2 togglebar,{.i=1}
+.LIST OFF
+.HEADING 3 "ST"
+.LI
+.LIST OFF
+.HEADING 8 "INSERT MODE"
+.LI
+.LIST OFF
+.HEADING 9 "Appeareances"
+.LI
.ITEM
\f(CWMOD+a\fP \(en changealpha {.f=+0.05}
.ITEM
@@ -559,6 +655,9 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
\f(CWTERMMOD+U\fP \(en zoom {.f=+2}
.ITEM
\f(CWTERMMOD+parenright\fP \(en zoomreset {.f=0}
+.LIST OFF
+.HEADING 9 "Copies"
+.LI
.ITEM
\f(CWMOD+y\fP \(en clipcopy {.i=0}
.ITEM
@@ -567,6 +666,9 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
\f(CWMOD+c\fP \(en externalpipe {.v=copyurlcmd}
.ITEM
\f(CWMOD+o\fP \(en externalpipe {.v=copyoutput}
+.LIST OFF
+.HEADING 9 "Pastes"
+.LI
.ITEM
\f(CWMOD+p\fP \(en clippaste {.i=0}
.ITEM
@@ -577,12 +679,18 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
\f(CWShift+Insert\fP \(en selpaste {.i=0}
.ITEM
\f(CWMOD+v\fP \(en externalpipe {.v=openurlcmd}
+.LIST OFF
+.HEADING 9 "Printers"
+.LI
.ITEM
\f(CWShift+Print\fP \(en printscreen {.i=0}
.ITEM
\f(CWANY_MOD+Print\fP \(en printsel {.i=0}
.ITEM
\f(CWCtrl+Print\fP \(en toggleprinter {.i=0}
+.LIST OFF
+.HEADING 9 "Traversals"
+.LI
.ITEM
\f(CWMOD+k\fP \(en kscrollup {.i=1}
.ITEM
@@ -603,6 +711,9 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
\f(CWShift+Page_Up\fP \(en kscrollup {.i=-1}
.ITEM
\f(CWShift+Page_Down\fP \(en kscrolldown {.i=-1}
+.LIST OFF
+.HEADING 9 "Extras/"
+.LI
.ITEM
\f(CWTERMMOD+Num_Lock\fP \(en numlock {.i=0}
.ITEM
@@ -685,7 +796,7 @@ You can follow links via the keyboard in this pdf reader by pressing \f(CWf\fP f
.PDF_WWW_LINK "https://thesiah.xyz/donate" "https://thesiah.xyz/donate"
\(en To incentivize more development of THESIAH!
.ITEM
-.PDF_WWW_LINK "https://github.com/THESIAH" "https://github.com/THESIAH"
+.PDF_WWW_LINK "https://github.com/TheSiahxyz" "https://github.com/TheSiahxyz"
\(en For the code behind it!
.ITEM
.PDF_WWW_LINK "http://thesiah.xyz/rss.xml" "RSS"
diff --git a/dwmblocks/config.h b/dwmblocks/config.h
index 648cdfe..0b08d26 100644
--- a/dwmblocks/config.h
+++ b/dwmblocks/config.h
@@ -13,7 +13,7 @@ static const Block blocks[] = {
/* {"", "sb-price eth Ethereum 🍸 23", 9000, 23}, */
/* {"", "sb-price btc Bitcoin 💰 21", 9000, 21}, */
{"", "sb-doppler", 0, 13},
- {"", "sb-forecast", 10800, 5},
+ {"", "sb-forecast", 3600, 5},
{"", "sb-cpu", 60, 18},
{"", "sb-memory", 60, 14},
{"", "sb-disk", 10800, 20},
diff --git a/dwmblocks/dwmblocks b/dwmblocks/dwmblocks
index 13082c0..021c9de 100755
--- a/dwmblocks/dwmblocks
+++ b/dwmblocks/dwmblocks
Binary files differ
diff --git a/st/config.h b/st/config.h
index 0eb1dbd..c5dc1c7 100644
--- a/st/config.h
+++ b/st/config.h
@@ -248,7 +248,7 @@ static char *copyoutput[] = { "/bin/sh", "-c", "st-copyout", "externalpipe", NUL
static Shortcut shortcuts[] = {
/* mask keysym function argument */
- /* APPEAREANCE */
+ // APPEAREANCES
{ MODKEY, XK_a, changealpha, { .f = +0.05 } },
{ MODKEY, XK_s, changealpha, { .f = -0.05 } },
{ TERMMOD, XK_Down, zoom, { .f = -1 } },
@@ -261,25 +261,25 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_U, zoom, { .f = +2 } },
{ TERMMOD, XK_parenright, zoomreset, { .f = 0 } },
- /* COPY */
+ // COPIES
{ MODKEY, XK_y, clipcopy, { .i = 0 } },
{ TERMMOD, XK_Y, clipcopy, { .i = 0 } },
{ MODKEY, XK_c, externalpipe, { .v = copyurlcmd } },
{ MODKEY, XK_o, externalpipe, { .v = copyoutput } },
- /* PASTE */
+ // PASTES
{ MODKEY, XK_p, clippaste, { .i = 0 } },
{ TERMMOD, XK_P, clippaste, { .i = 0 } },
{ ShiftMask, XK_Insert, clippaste, { .i = 0 } },
{ ShiftMask, XK_Insert, selpaste, { .i = 0 } },
{ MODKEY, XK_v, externalpipe, { .v = openurlcmd } },
- /* PRINTER */
+ // PRINTERS
{ ShiftMask, XK_Print, printscreen, { .i = 0 } },
{ XK_ANY_MOD, XK_Print, printsel, { .i = 0 } },
{ ControlMask, XK_Print, toggleprinter, { .i = 0 } },
- /* TRAVERSAL */
+ // TRAVERSALS
{ MODKEY, XK_k, kscrollup, { .i = 1 } },
{ MODKEY, XK_j, kscrolldown, { .i = 1 } },
{ MODKEY, XK_u, kscrollup, { .i = -1 } },
@@ -291,7 +291,7 @@ static Shortcut shortcuts[] = {
{ ShiftMask, XK_Page_Up, kscrollup, { .i = -1 } },
{ ShiftMask, XK_Page_Down, kscrolldown, { .i = -1 } },
- /* EXTRA */
+ // EXTRAS/
{ TERMMOD, XK_Num_Lock, numlock, { .i = 0 } },
{ XK_ANY_MOD, XK_Break, sendbreak, { .i = 0 } },
@@ -562,6 +562,7 @@ static uint selmasks[] = {
* Printable characters in ASCII, used to estimate the advance width
* of single wide characters.
*/
-static char ascii_printable[] = " !\"#$%&'()*+,-./0123456789:;<=>?"
- "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
- "`abcdefghijklmnopqrstuvwxyz{|}~";
+static char ascii_printable[] =
+ " !\"#$%&'()*+,-./0123456789:;<=>?"
+ "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
+ "`abcdefghijklmnopqrstuvwxyz{|}~";