[wiki] [sites] [dwm][patches][flyschemes] Added ST optionscheme and alpha patch integration || faradayawerty
commit 113f54e895b422fe88828357df395b6fe2c7a4b7
Author: faradayawerty <faradayawerty_AT_gmail.com>
Date: Wed Dec 24 23:16:32 2025 +0300
[dwm][patches][flyschemes] Added ST optionscheme and alpha patch integration
diff --git a/dwm.suckless.org/patches/flyschemes/dwm-flyschemes-6.6-st-optionscheme-alpha-integration.diff b/dwm.suckless.org/patches/flyschemes/dwm-flyschemes-6.6-st-optionscheme-alpha-integration.diff
new file mode 100644
index 00000000..684ec4b8
--- /dev/null
+++ b/dwm.suckless.org/patches/flyschemes/dwm-flyschemes-6.6-st-optionscheme-alpha-integration.diff
_AT_@ -0,0 +1,47 @@
+diff -up dwm-6.6-flyscheme/config.def.h dwm-6.6-flyscheme-st-optionscheme-alpha-integration/config.def.h
+--- dwm-6.6-flyscheme/config.def.h 2025-12-24 23:06:06.253357321 +0300
++++ dwm-6.6-flyscheme-st-optionscheme-alpha-integration/config.def.h 2025-12-24 23:09:43.483360328 +0300
+_AT_@ -116,7 +116,28 @@ static const char *dmenucmd[] = {
+ "-sf", "#eeeeee", /* changed as dmenucmd[12] in cycle_flyschemes */
+ NULL
+ };
+-static const char *termcmd[] = { "st", NULL };
++
++static const char *st_optionschemes[] = {
++ "default",
++ "light",
++ "plan9",
++ "dracula",
++ "solarized",
++ "nord",
++ "gruvbox",
++ "cyberpunk"
++};
++
++static const char *st_alphas[] = {
++ "0.8", "0.7", "0.9", "0.8", "0.9", "0.6", "0.7", "0.8"
++};
++
++static const char *termcmd[] = {
++ "st",
++ "-S", "default", /* changed as termcmd[2] in cycle_flyschemes */
++ "-A", "0.8", /* changed as termcmd[4] in cycle_flyschemes */
++ NULL
++};
+
+ static const Key keys[] = {
+ /* modifier key function argument */
+diff -up dwm-6.6-flyscheme/dwm.c dwm-6.6-flyscheme-st-optionscheme-alpha-integration/dwm.c
+--- dwm-6.6-flyscheme/dwm.c 2025-12-24 23:06:06.256690655 +0300
++++ dwm-6.6-flyscheme-st-optionscheme-alpha-integration/dwm.c 2025-12-24 23:10:07.423360660 +0300
+_AT_@ -2151,6 +2151,10 @@ update_scheme()
+ dmenucmd[8] = flyschemes[iflysch][SchemeNorm][0];
+ dmenucmd[10] = flyschemes[iflysch][SchemeSel][1];
+ dmenucmd[12] = flyschemes[iflysch][SchemeSel][0];
++ int optschlen = LENGTH(st_optionschemes);
++ int alphaslen = LENGTH(st_alphas);
++ termcmd[2] = st_optionschemes[iflysch % optschlen];
++ termcmd[4] = st_alphas[iflysch % alphaslen];
+ Client *cl = selmon->sel;
+ Client *c;
+ Monitor *m;
diff --git a/dwm.suckless.org/patches/flyschemes/index.md b/dwm.suckless.org/patches/flyschemes/index.md
index 4b06f1bb..6ec8e57c 100644
--- a/dwm.suckless.org/patches/flyschemes/index.md
+++ b/dwm.suckless.org/patches/flyschemes/index.md
_AT_@ -10,6 +10,7 @@ Download
* [dwm-flyschemes-6.6.diff](dwm-flyschemes-6.6.diff)
* [dwm-flyschemes-alpha-6.6.diff](dwm-flyschemes-6.6-alpha.diff)
* [dwm-flyschemes-6.6-st-optionscheme-integration.diff](dwm-flyschemes-6.6-st-optionscheme-integration.diff)
+* [dwm-flyschemes-6.6-st-optionscheme-alpha-integration.diff](dwm-flyschemes-6.6-st-optionscheme-alpha-integration.diff)
Authors
-------
Received on Wed Dec 24 2025 - 21:19:29 CET
This archive was generated by hypermail 2.3.0
: Wed Dec 24 2025 - 21:24:48 CET