fix(nix): set .Xresources font hinting for emacs
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
c2c472948e
commit
14bb16cfae
2 changed files with 6 additions and 1 deletions
|
@ -79,7 +79,7 @@
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
'(region ((t (:inherit nano-subtle :background "#EBE5F5"))))
|
'(region ((t (:inherit nano-subtle :background "#EBE5F5"))))
|
||||||
'(lazy-highlight ((t (:inherit region))))
|
'(lazy-highlight ((t (:inherit region))))
|
||||||
`(variable-pitch ((t (:family ,priime-variable-font :height 125 :weight regular))))
|
`(variable-pitch ((t (:inherit default :family ,priime-variable-font :height 125 :weight regular))))
|
||||||
`(fixed-pitch ((t (:family ,priime-fixed-font :height ,priime-fixed-height :inherit nil))))
|
`(fixed-pitch ((t (:family ,priime-fixed-font :height ,priime-fixed-height :inherit nil))))
|
||||||
`(shr-text ((t (:inherit variable-pitch-text :family ,priime-variable-font)))))
|
`(shr-text ((t (:inherit variable-pitch-text :family ,priime-variable-font)))))
|
||||||
(set-face-attribute 'italic nil
|
(set-face-attribute 'italic nil
|
||||||
|
|
|
@ -88,6 +88,11 @@
|
||||||
pythonPackages = with pkgs.python312Packages; [ python-lsp-server ];
|
pythonPackages = with pkgs.python312Packages; [ python-lsp-server ];
|
||||||
in packages ++ emacsPackages ++ pythonPackages;
|
in packages ++ emacsPackages ++ pythonPackages;
|
||||||
|
|
||||||
|
xresources.properties = {
|
||||||
|
"Xft.hinting" = 1;
|
||||||
|
"Xft.hintstyle" = "hintslight";
|
||||||
|
};
|
||||||
|
|
||||||
### Services
|
### Services
|
||||||
|
|
||||||
# Compositor
|
# Compositor
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue