Commit graph

7 commits

Author SHA1 Message Date
pancho horrillo
149b313ddf
emacs: fix spurious quotes around :size arg (#555)
If the size is expressed as a string, Emacs calls bloody murder:

    invalid font property (:size . "14.000000")

Fixes: 35233f9296 ("emacs: explicitly set font size (#553)")

Reviewed-by: Jez Cope <jezcope@users.noreply.github.com>
Approved-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-09-16 16:37:22 +02:00
Jez Cope
35233f9296
emacs: explicitly set font size (#553)
The emacs module currently doesn't set the font size, only the colours
and font family. This PR sets it to `sizes.terminal` (taking a lead from
the `guifont` setting in the `vim` module) using `font-spec`, which is a
more flexible way to specify fonts in elisp. To indicate the size is
points it needs to be a floating point value.

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-09-12 21:55:40 +02:00
Lucas Hazel
25106f203f
emacs: change 256 color source (#436) 2024-06-16 15:00:38 +01:00
Jalil David Salamé Messina
7682713f6a
stylix: add 'stylix.enable' option (#244)
Add a 'stylix.enable' option to enable or disable all Stylix modules in
order to resolve issues similar to [2].

To align with the default 'lib.mkEnableOption' [1] behavior,
'stylix.enable' defaults to 'false'.

BREAKING CHANGE: Stylix is disabled by default. To enable it, use:

    stylix.enable = true;

[1]: https://github.com/NixOS/nixpkgs/blob/23.11/lib/options.nix#L91-L105
[2]: https://github.com/danth/stylix/issues/216

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
Co-authored-by: Jalil David Salamé Messina <jalil.salame@gmail.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-06-10 11:52:47 +02:00
Bruno Bigras
c3d1195908
epkgs.trivialBuild: set dummy version (#150) 2023-09-10 19:20:42 +00:00
Mason Dear
1c953ad0dc
Opacity support (#77) 2023-05-18 20:00:50 +01:00
Carl Richard Theodor Schneider
9afac8a0a3
Add emacs module (#62)
Closes #55
2023-03-16 09:21:01 +00:00