sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit a55f563a3fa908ddcff632fe09dd0cf5753c6749
parent b87cac58b367f0cc3e904f4f4cd83a60faaeb303
Author: Matteo Bini <matteobin@protonmail.com>
Date:   Thu, 24 Feb 2022 15:57:26 +0100

dwm patch and tips to mimic Windows 3.1 look

Diffstat:
Adwm.suckless.org/patches/win31theme/FSEX.ttf | 0
Adwm.suckless.org/patches/win31theme/dwm-win31theme-20220224-d39e2f3.diff | 34++++++++++++++++++++++++++++++++++
Adwm.suckless.org/patches/win31theme/index.md | 19+++++++++++++++++++
3 files changed, 53 insertions(+), 0 deletions(-)

diff --git a/dwm.suckless.org/patches/win31theme/FSEX.ttf b/dwm.suckless.org/patches/win31theme/FSEX.ttf Binary files differ. diff --git a/dwm.suckless.org/patches/win31theme/dwm-win31theme-20220224-d39e2f3.diff b/dwm.suckless.org/patches/win31theme/dwm-win31theme-20220224-d39e2f3.diff @@ -0,0 +1,34 @@ +--- a/config.def.h ++++ b/config.def.h +@@ -1,21 +1,21 @@ + /* See LICENSE file for copyright and license details. */ + + /* appearance */ +-static const unsigned int borderpx = 1; /* border pixel of windows */ ++static const unsigned int borderpx = 2; /* 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 *fonts[] = { "Fixedsys Excelsior:size=13:antialias=true:autohint=false" }; ++static const char dmenufont[] = "Fixedsys Excelsior:size=13:antialias=true:autohint=false"; ++static const char col_gray1[] = "#d3d7cf"; ++static const char col_gray2[] = "#d3d7cf"; ++static const char col_gray3[] = "#000000"; ++static const char col_gray4[] = "#ffffff"; ++static const char col_cyan[] = "#0000aa"; + static const char *colors[][3] = { + /* fg bg border */ +- [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, +- [SchemeSel] = { col_gray4, col_cyan, col_cyan }, ++ [SchemeNorm] = { col_gray3, col_gray1, col_cyan }, ++ [SchemeSel] = { col_gray4, col_cyan, col_gray2 }, + }; + + /* tagging */ diff --git a/dwm.suckless.org/patches/win31theme/index.md b/dwm.suckless.org/patches/win31theme/index.md @@ -0,0 +1,19 @@ +win31theme +================ + +Description +----------- +Border width, colours, and fonts config to mimic Windows 3.1 aesthetics. +You must have installed [Fixedsys Excelsior font](https://github.com/kika/fixedsys) by Darien Valentine. +If you use any GTK/Qt application, [B00merang Project theme](https://github.com/B00merang-Project/Windows-3.11) is a nice addition. +For icons you could use [Chicago95](https://github.com/Elbullazul/Chicago95) by Elbullazu, but I prefer [quadpixels's Classic95 edit](https://github.com/quadpixels/classic95). + + +Download +-------- +* [dwm-win31theme-20220224-d39e2f3.diff](dwm-win31theme-20220224-d39e2f3.diff) +* [FSEX.ttf](FSEX.ttf) + +Authors +------- +* Matteo Bini - <matteobin@protonmail.com>