Commit graph

8 commits

Author SHA1 Message Date
Daniel Thwaites
80e8e1e2f6
treewide: add linters and apply pending suggestions (#426) 2024-06-16 15:08:25 +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
NAHO
f3b302dd9b
qutebrowser: improve readability (#240) 2024-02-08 17:43:30 +00:00
NAHO
9942fca870
qutebrowser: use correct fonts.web.size.default type (#239)
* fix(modules/qutebrowser): use correct 'fonts.web.size.default' type

Use the correct 'fonts.web.size.default' type to avoid the following
error:

> Errors occurred while reading config.py:
>   While setting 'fonts.web.size.default': Invalid value '10pt' -
>   expected a value of type int but got str.

Reference: https://qutebrowser.org/doc/help/settings.html#fonts.web.size.default
Follows: https://github.com/danth/stylix/pull/221

* fix(modules/qutebrowser): convert 'point' unit to 'pixel' unit

Addresses: https://github.com/danth/stylix/pull/239#issuecomment-1931788095
Requires: https://github.com/danth/stylix/issues/251
2024-02-07 13:08:31 +00:00
Maxim Karasev
a9e3ce064a
qutebrowser: Fix font name and size handling (#221)
Font size isn't a part of its name.
Fixes an issue where qutebrowser uses the fallback font
because the one with its size appended to its name doesn't exist.
2024-01-19 12:53:04 +00:00
NAHO
9e88d05a85
Apply dark mode to Qutebrowser (#175) 2023-10-22 19:24:34 +01:00
Luc Chabassier
50dcc46fe6
Add options to set font sizes (#60)
Fixes #35 and #59

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2023-03-19 18:39:32 +00:00
DwarfMaster
fbad7b1b0c Refactor modules to separate nixos from hm code 2023-01-30 22:56:57 +01:00