Commit graph

118 commits

Author SHA1 Message Date
Daniel Thwaites
78055b3868
Use white text when the black background is enabled
The theme's text colour may not contrast well with black, especially for
themes which expect a light coloured background.
2022-10-07 06:57:54 +01:00
Daniel Thwaites
c1506122b4
Allow substitutes for Plymouth theme
When using `runCommandLocal`, clients are required to download imagemagick
and the source files, even if the theme is already available from a binary
cache.
2022-10-06 19:21:45 +01:00
Daniel Thwaites
98114ad3ed
Update other options to suit recent Plymouth changes 📝
This is mainly documentation changes.

Also changed the default of `targets.grub.useImage` to a hard false,
as Plymouth doesn't use the wallpaper image any more.
2022-10-06 15:04:24 +01:00
Daniel Thwaites
16ecd5523a
Keep boot logo at original dimensions
This means that the OEM logo can be used to have a seamless boot process.
(Copy it in PNG format from /sys/firmware/acpi/bgrt/image)

The width of the progress bar will be adjusted to suit the width of the logo.
2022-10-06 14:56:39 +01:00
Daniel Thwaites
1d61691bf9
Allow using theme colours for Plymouth
There is now a choice to either follow the main theme or keep a black
background.

systemd-boot enables the black background by default, as it always has a
black background itself, and keeping the same colour throughout the
whole boot process looks cleaner than applying our theme at the first
opportunity.
2022-10-06 12:36:16 +01:00
Daniel Thwaites
ee248692cb
Redesign Plymouth theme 💄 2022-10-06 12:36:16 +01:00
Daniel Thwaites
f2161fc629
Edit documentation around colour schemes ✏️ 2022-09-27 08:33:08 +00:00
Daniel Thwaites
cd9788bba6
Protect palette.json from garbage collection
Making palette.json part of the system closure will protect it from
garbage collection, so future configurations can be evaluated without
having to generate the palette again. The generator is not kept, only the
palette which came from it, so this uses very little disk space.

As evaluations will no longer need the palette generator unless the
wallpaper was changed, I've removed the recommendation to add a binary
cache - the overhead of querying the cache for unrelated builds
outweighs the remaining benefits of it.
2022-09-24 20:34:17 +01:00
Daniel Thwaites
b96059664c
Implement useImage option for GRUB
Using Plymouth as the default value to retain backwards compatibility.
2022-09-17 14:05:20 +01:00
Daniel Thwaites
8cabaf34bf
Merge pull request #12 from Lyndeno/swaylock-bg
Allow disabling image on Swaylock.
2022-09-17 13:48:25 +01:00
Daniel Thwaites
939904e071
Rename useBackground to useImage 💬 2022-09-17 12:47:37 +00:00
Lyndon Sanche
b51d8f3ca2
Allow disabling image on swaylock 2022-09-13 22:38:20 -06:00
Daniel Thwaites
f2682b343a
Move CI to Flakeaway 👷
https://github.com/danth/flakeaway
2022-08-25 01:09:39 +01:00
Daniel Thwaites
9185529e3d
Set GNOME desktop background
This works according to a comment on Reddit - I haven't tested it myself.
2022-08-13 10:15:54 +01:00
Daniel Thwaites
3339cc7991
Simplify documentation of the default value for enable options 📝 2022-08-12 19:14:31 +01:00
Daniel Thwaites
308f7e27cb
Don't run docs workflow for pull requests 👷
The workflow attempts to skip the deployment step when it is run on other
branches, however environment protection rules are checked before this, causing
a failure.
2022-08-10 22:19:00 +01:00
Daniel Thwaites
3746b0195e
Merge pull request #11 from Lyndeno/bemenu
Initial bemenu module
2022-08-10 19:13:40 +00:00
Lyndon Sanche
8fe77d4634
Merge branch 'master' into bemenu 2022-08-10 12:45:38 -06:00
Lyndon Sanche
484251d3b4
Check for proper input on bemenu module 2022-08-10 12:44:58 -06:00
Daniel Thwaites
37517310fa
Update Coricamu ⬆️ 2022-08-04 23:09:35 +01:00
Lyndon Sanche
30757d4b2d
Initial bemenu module 2022-08-04 12:53:06 -06:00
Daniel Thwaites
b4840cfc60
Add enable option for Mako 🚩 2022-08-03 10:49:27 +01:00
Daniel Thwaites
1669525453
Merge pull request #5 from Lyndeno/mako
Initial mako config
2022-08-03 09:43:29 +00:00
Lyndon Sanche
68eb771568
Initial mako config 2022-08-02 20:25:15 -06:00
Daniel Thwaites
5918310bcc
Update docs workflow 👷 ⬆️ 2022-08-02 19:26:14 +00:00
Daniel Thwaites
7794dbe521
Update Coricamu ⬆️ 2022-07-31 14:35:18 +01:00
Daniel Thwaites
74edb54377
Update Coricamu ⬆️ 2022-07-30 18:31:42 +01:00
Daniel Thwaites
0ea346a423
Publish list of NixOS options on GitHub Pages 📝 2022-07-30 15:31:58 +01:00
Daniel Thwaites
159048c15d
Convert Swaylock image to string 🐛 2022-07-30 15:24:59 +01:00
Daniel Thwaites
98d1477611
Merge pull request #9 from Lyndeno/base16-update
Update base16 to include fix from SenchoPens/base16.nix#2
2022-07-28 20:23:08 +01:00
Lyndon Sanche
a2176afe68
Update base16 to include fix from SenchoPens/base16.nix#2 2022-07-28 12:20:52 -06:00
Daniel Thwaites
ac8982e417
Show build logs in CI 👷 2022-07-27 14:49:50 +01:00
Daniel Thwaites
d0c24e5f3f
Add Cachix details to README 📝 2022-07-27 12:47:35 +01:00
Daniel Thwaites
5dc1f3cdea
Upload palette generator to Cachix 👷 2022-07-27 12:36:53 +01:00
Daniel Thwaites
869c4cc5e1
Improve README 📝 2022-07-26 15:39:06 +01:00
Daniel Thwaites
a1c4e8179b
Create an enable option for each module
Fixes #7
2022-07-25 20:38:43 +01:00
Daniel Thwaites
cd7b686352
Install Swaylock settings using Home Manager 🏗️
Hoping to fix: https://github.com/danth/stylix/issues/8#issuecomment-1194459148
2022-07-25 20:05:15 +01:00
Daniel Thwaites
d528e85140
Add Swaylock overlay
Fixes #8
2022-07-24 20:17:42 +01:00
Daniel Thwaites
cd92840a24
Update base16.nix ⬆️ 2022-07-24 17:11:09 +01:00
Daniel Thwaites
ff5da2914c
Remove dependency on flake-utils 2022-07-24 17:04:14 +01:00
Daniel Thwaites
324b951687
Improve option description for stylix.palette 💡 2022-07-22 23:08:50 +01:00
Daniel Thwaites
2c8ac84830
Clean up implementation of palette options ♻️
The automatically chosen color is now the default value under `stylix.palette`,
rather than `null`.

The colors from `stylix.palette` are collected to make the default value
of `stylix.base16Scheme`.

If `stylix.base16Scheme` is overridden to an external file, the colors
from that file will NOT be written back to `stylix.palette`. For that
reason, you must still only refer to `lib.stylix.colors` within modules.
2022-07-22 22:46:00 +01:00
Daniel Thwaites
0defebf853
Fix Fish when using an imported scheme 🐛 2022-07-22 17:54:53 +01:00
Daniel Thwaites
cf0755f383
Add Alacritty to README 📝 2022-07-22 17:46:12 +01:00
Daniel Thwaites
8174101c22
Implement manual palettes
Fixes #1
2022-07-22 17:42:34 +01:00
Daniel Thwaites
989fe8857c
Merge pull request #6 from Lyndeno/alacritty
Add font config to alacritty
2022-07-21 21:04:39 +01:00
Lyndon Sanche
084b7b993a
Add font config to alacritty 2022-07-20 12:50:10 -06:00
Daniel Thwaites
718ccacff2
Merge pull request #4 from Lyndeno/alacritty
Alacritty Module
2022-07-20 18:01:05 +01:00
Lyndon Sanche
458d0d3719
Finish alacritty module 2022-07-20 07:59:30 -06:00
Lyndon Sanche
c3a39e1e32
Initial alacritty module 2022-07-20 07:52:39 -06:00