mirror of
https://github.com/danth/stylix
synced 2024-11-10 06:34:15 +00:00
Merge branch 'master' into fix/wofi-font-size
This commit is contained in:
commit
8acd524ab5
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ with config.stylix.fonts;
|
|||
|
||||
let
|
||||
emacsOpacity = builtins.toString (builtins.ceil (config.stylix.opacity.applications * 100));
|
||||
emacsSize = builtins.toString (sizes.terminal * 1.0);
|
||||
in
|
||||
{
|
||||
options.stylix.targets.emacs.enable =
|
||||
|
@ -65,7 +66,7 @@ in
|
|||
(setq base16-theme-256-color-source 'colors)
|
||||
(load-theme 'base16-stylix t)
|
||||
;; Set font
|
||||
(set-face-attribute 'default t :font "${monospace.name}" )
|
||||
(set-face-attribute 'default t :font (font-spec :family "${monospace.name}" :size ${emacsSize}))
|
||||
;; -----------------------------
|
||||
;; set opacity
|
||||
(add-to-list 'default-frame-alist '(alpha-background . ${emacsOpacity}))
|
||||
|
|
Loading…
Reference in a new issue