mirror of
https://github.com/alrayyes/dmenu
synced 2023-11-14 15:56:27 +00:00
feat: set hack as font
This commit is contained in:
parent
34224bd4d5
commit
7577edaaad
2
PKGBUILD
2
PKGBUILD
@ -10,7 +10,7 @@ license=('MIT')
|
|||||||
depends=('sh' 'glibc' 'coreutils' 'libx11' 'libxinerama' 'freetype2' 'fontconfig' 'libfontconfig.so' 'menu-calc' 'pass' 'yubikey-oath-dmenu')
|
depends=('sh' 'glibc' 'coreutils' 'libx11' 'libxinerama' 'freetype2' 'fontconfig' 'libfontconfig.so' 'menu-calc' 'pass' 'yubikey-oath-dmenu')
|
||||||
|
|
||||||
sha512sums=('2b6a7cdf5aefc5e7ca7a4944883c3c16ee6f5005d2a96b61482d4899ad395f9cb8926907681d88b9df3e1188cf421dad4cc17e343b752f6cb8b161d33384b3f3'
|
sha512sums=('2b6a7cdf5aefc5e7ca7a4944883c3c16ee6f5005d2a96b61482d4899ad395f9cb8926907681d88b9df3e1188cf421dad4cc17e343b752f6cb8b161d33384b3f3'
|
||||||
'9a9fb243aa799342378ff7dc89b2dd4fb369861549fc8f02d87335d176f0896cf5fefea1e3417a4a724e7b9f7bb5360fc2fe4bd77ef1418b7fe1f93683b6e38a'
|
'bccaf82c85ead27f0cb1bf21a5a4f53185b38c4a60794c1232a17a39e560f3a839038d42a4acae172c06d9a31d09d8834ace3935de28c92926ef284bd319c878'
|
||||||
'beed0f7725d84b4d73cb35fb7d78d7db90c7fa15ed0ac4d6cf19e6469caf83167bc3edae246c30a2f0a79e765b46d9a37997a9a72f5dec147cc0a904fa2ef790'
|
'beed0f7725d84b4d73cb35fb7d78d7db90c7fa15ed0ac4d6cf19e6469caf83167bc3edae246c30a2f0a79e765b46d9a37997a9a72f5dec147cc0a904fa2ef790'
|
||||||
'ce806c6481b20d5b2352fc387816878c75285162f6404b3a969a95f9dbd6c7476fd4c6571f260886fa30ccc40e4a388ea8f6902e40ff90447e04bec3faf0669d'
|
'ce806c6481b20d5b2352fc387816878c75285162f6404b3a969a95f9dbd6c7476fd4c6571f260886fa30ccc40e4a388ea8f6902e40ff90447e04bec3faf0669d'
|
||||||
'6ce4ce0ddb9c1058f253ce46cdae8949c468d97ce7d787831d8a4f4ebd4db672761e2552703f58d36d01b2933dea624a30627629027b9a5960b404542a40a732'
|
'6ce4ce0ddb9c1058f253ce46cdae8949c468d97ce7d787831d8a4f4ebd4db672761e2552703f58d36d01b2933dea624a30627629027b9a5960b404542a40a732'
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
makepkg -si
|
makepkg -si
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
- Default font is monospace
|
- Default font is [[https://sourcefoundry.org/hack][Hack]]
|
||||||
- When modifying [[https://github.com/alrayyes/dwm/blob/master/config.h][config.h]] be sure to run =updpkgsums= to update checksums before
|
- When modifying [[https://github.com/alrayyes/dwm/blob/master/config.h][config.h]] be sure to run =updpkgsums= to update checksums before
|
||||||
running =makepkg -si=
|
running =makepkg -si=
|
||||||
|
|
||||||
|
4
config.h
4
config.h
@ -7,8 +7,8 @@ static int fuzzy = 1; /* -F option; if 0, dmenu doesn't use fuzzy matching */
|
|||||||
|
|
||||||
/* -fn option overrides fonts[0]; default X11 font or font set */
|
/* -fn option overrides fonts[0]; default X11 font or font set */
|
||||||
static const char *fonts[] = {
|
static const char *fonts[] = {
|
||||||
"monospace:size=10",
|
"Hack:size=16:antialias=true:autohint=true",
|
||||||
"JoyPixels:pixelsize=8:antialias=true:autohint=true"
|
"JoyPixels:pixelsize=16:antialias=true:autohint=true"
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *prompt =
|
static const char *prompt =
|
||||||
|
@ -7,8 +7,8 @@ static int fuzzy = 1; /* -F option; if 0, dmenu doesn't use fuzzy matching */
|
|||||||
|
|
||||||
/* -fn option overrides fonts[0]; default X11 font or font set */
|
/* -fn option overrides fonts[0]; default X11 font or font set */
|
||||||
static const char *fonts[] = {
|
static const char *fonts[] = {
|
||||||
"monospace:size=10",
|
"Hack:size=12:antialias=true:autohint=true",
|
||||||
"JoyPixels:pixelsize=8:antialias=true:autohint=true"
|
"JoyPixels:pixelsize=12:antialias=true:autohint=true"
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *prompt =
|
static const char *prompt =
|
||||||
|
Loading…
Reference in New Issue
Block a user