[wiki] [sites] [dwm][patch][solarized] solarized theme for dwm || GasparVardanyan

From: <git_AT_suckless.org>
Date: Tue, 24 Sep 2024 21:31:21 +0200

commit 708948d6c0cbaa58c54313d4427b28c80045d407
Author: GasparVardanyan <gaspar_pm_AT_proton.me>
Date: Tue Sep 24 23:30:57 2024 +0400

    [dwm][patch][solarized] solarized theme for dwm

diff --git a/dwm.suckless.org/patches/solarized/dwm-solarized-6.5.diff b/dwm.suckless.org/patches/solarized/dwm-solarized-6.5.diff
new file mode 100644
index 00000000..421fa05c
--- /dev/null
+++ b/dwm.suckless.org/patches/solarized/dwm-solarized-6.5.diff
_AT_@ -0,0 +1,41 @@
+diff --git a/config.def.h b/config.def.h
+index 9efa774..2e3ac31 100644
+--- a/config.def.h
++++ b/config.def.h
+_AT_@ -1,17 +1,17 @@
+ /* See LICENSE file for copyright and license details. */
+
+ /* appearance */
+-static const unsigned int borderpx = 1; /* border pixel of windows */
++static const unsigned int borderpx = 6; /* 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=10" };
+ static const char dmenufont[] = "monospace:size=10";
+-static const char col_gray1[] = "#222222";
+-static const char col_gray2[] = "#444444";
+-static const char col_gray3[] = "#bbbbbb";
+-static const char col_gray4[] = "#eeeeee";
+-static const char col_cyan[] = "#005577";
++static const char col_gray1[] = "#002b36";
++static const char col_gray2[] = "#073642";
++static const char col_gray3[] = "#839496";
++static const char col_gray4[] = "#93a1a1";
++static const char col_cyan[] = "#174956";
+ static const char *colors[][3] = {
+ /* fg bg border */
+ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
+diff --git a/dwm.c b/dwm.c
+index f1d86b2..2cb8b01 100644
+--- a/dwm.c
++++ b/dwm.c
+_AT_@ -736,7 +736,7 @@ drawbar(Monitor *m)
+
+ if ((w = m->ww - tw - x) > bh) {
+ if (m->sel) {
+- drw_setscheme(drw, scheme[m == selmon ? SchemeSel : SchemeNorm]);
++ drw_setscheme(drw, scheme[SchemeNorm]);
+ drw_text(drw, x, 0, w, bh, lrpad / 2, m->sel->name, 0);
+ if (m->sel->isfloating)
+ drw_rect(drw, x + boxs, boxs, boxw, boxw, m->sel->isfixed, 0);
diff --git a/dwm.suckless.org/patches/solarized/dwm-solarized.png b/dwm.suckless.org/patches/solarized/dwm-solarized.png
new file mode 100644
index 00000000..0c174bf2
Binary files /dev/null and b/dwm.suckless.org/patches/solarized/dwm-solarized.png differ
diff --git a/dwm.suckless.org/patches/solarized/index.md b/dwm.suckless.org/patches/solarized/index.md
new file mode 100644
index 00000000..d8d60f16
--- /dev/null
+++ b/dwm.suckless.org/patches/solarized/index.md
_AT_@ -0,0 +1,24 @@
+solarized
+=========
+
+Description
+-----------
+Solarized color scheme for dwm.
+Original Solarized colors don't satisfy the count to theme dwm, so this patch
+includes some additional colors.
+
+![dwm-solarized screenshot](dwm-solarized.png)
+
+Download
+--------
+* [dwm-solarized-6.5.diff](dwm-solarized-6.5.diff)
+
+With xtheme patch
+-----------------
+With [xtheme](https://dwm.suckless.org/patches/xtheme/) patches you can use this
+[additional setup](https://gitlab.com/GasparVardanyan/themes/-/blob/master/solarized-dark.xdefaults?ref_type=heads) to solarize dwm, st, dmenu and tabbed together.
+
+Authors
+-------
+* [Ethan Schoonover](https://ethanschoonover.com/) (the original color palette)
+* [Gaspar Vardanyan](https://gasparvardanyan.github.io/) (dwm theme)
Received on Tue Sep 24 2024 - 21:31:21 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 24 2024 - 21:36:51 CEST