Commit graph

304 commits

Author SHA1 Message Date
DwarfMaster
3567250ba0 Properly warn users that stylix.palette.* has been removed 2023-02-02 00:44:48 +01:00
DwarfMaster
610632be8e Improved default of options when used from home-manager 2023-02-02 00:22:47 +01:00
DwarfMaster
83456eceb6 Auto-enable home-manager integration when hm is available 2023-02-01 21:38:01 +01:00
Daniel Thwaites
638f2d86c4
Only run onChange for GNOME when installed 🐛
As GNOME is always enabled on the Home Manager side, the command might
try to run when GNOME is not installed.
2023-02-01 12:29:56 +00:00
Daniel Thwaites
ba324393e9
Support per user themes for GNOME shell 2023-02-01 12:06:03 +00:00
Daniel Thwaites
02f0297038
Import Home Manager modules when enabled at system level 🚸
`stylix.home-manager.enable = true` causes an error unless the Home
Manager modules are imported. It makes sense to add them automatically.
2023-01-31 18:00:03 +00:00
DwarfMaster
fbad7b1b0c Refactor modules to separate nixos from hm code 2023-01-30 22:56:57 +01:00
DwarfMaster
76a254f9fe Separate stylix into a nixos module and a home-manager module 2023-01-30 19:25:27 +01:00
Daniel Thwaites
8c22082ab1
Use withHashtag in k9s module 🎨 2023-01-28 18:06:16 +00:00
Marc Jakobi
af4cde884b
Add a k9s module (#22) 2023-01-28 17:55:34 +00:00
Daniel Thwaites
7078443eff
Hide quick settings tile for dark mode 🚸 2023-01-19 18:17:15 +00:00
Daniel Thwaites
16d6d932a0
Add instructions for fetching pre-made schemes 📝
Closes #19
2023-01-11 23:47:29 +00:00
Daniel Thwaites
907e723a3b
Update link to base16-schemes 📝 2023-01-08 19:23:53 +00:00
Daniel Thwaites
11e2e188de
Style Chromium, Google Chrome and Brave 2023-01-08 18:59:48 +00:00
Roberto Abdelkader Martínez Pérez
e43c98f9e7
Add an i3 module based on Sway module (#18) 2023-01-07 17:53:22 +00:00
Daniel Thwaites
34a852baee
Build gresource within GNOME shell derivation ♻️ 2023-01-06 23:46:06 +00:00
Daniel Thwaites
43a0330a31
Apply GNOME shell styling to GDM
This has some other benefits too:
- No messing around with extensions and DConf settings
- The custom theme is compiled into a gresource file for efficiency

However it does cause the GNOME shell package to be compiled from scratch.
2023-01-06 23:28:40 +00:00
Daniel Thwaites
d7536947a7
Simplify serif = sansSerif example 📝 2022-12-19 19:41:06 +00:00
Daniel Thwaites
46899f291b
Style GNOME shell 2022-12-19 19:23:41 +00:00
Daniel Thwaites
ce781e1d96
Style GEdit
Fixes #17
2022-11-26 14:31:33 +00:00
Daniel Thwaites
faace1bdc2
Set GNOME background for both modes 💄
Otherwise, the default wallpaper is used for the other mode.

Ideally we would support setting two wallpapers and two colourschemes,
however that would clash with the other desktop environments which don't
have a toggle. Perhaps it's something to think about for the future?
2022-11-19 23:41:17 +00:00
Daniel Thwaites
921ff2a2bb
Disable GNOME's default wallpapers 🍱
Saves 31MiB of disk space.
2022-11-19 23:02:16 +00:00
Daniel Thwaites
e634069a2b
Fix image clipping in Plymouth theme 🐛 2022-11-17 19:04:28 +00:00
Daniel Thwaites
a435af7907
Improve Plymouth animation 💄 2022-11-17 16:07:00 +00:00
Daniel Thwaites
832ef0c975
Fix syntax of headerbar_border_color 🐛 2022-11-09 07:04:49 +00:00
Daniel Thwaites
52f614b536
Style libadwaita apps
Rather than changing the GTK theme, we now use the default Adwaita
theme with modified colours. This creates a consistent look across
all GTK3, GTK4 and Libadwaita apps.

TODO: Gnome shell theme
2022-11-07 11:12:26 +00:00
Aidan Pinard
081ce971ed
Set correct Gnome settings for dark mode (#16) 2022-11-04 19:25:50 +00:00
Daniel Thwaites
5b9c63851a
Update Materia ⬆️ 2022-11-03 10:22:22 +00:00
Daniel Thwaites
1741e9c710
Fix evaluation error when manual scheme is used 🚑 2022-10-30 14:20:55 +00:00
Daniel Thwaites
655fda7894
Don't build a palette which isn't used
If a scheme is specified manually then this avoids generating the
automatic scheme. See #13
2022-10-30 14:17:28 +00:00
Daniel Thwaites
5b45ba84b6
Provide a way to view generated palette 🧑‍💻
Fixes #14
2022-10-30 13:34:30 +00:00
Daniel Thwaites
e66ff87e79
Configure Hydra jobs 👷 2022-10-29 18:06:27 +01:00
Daniel Thwaites
ce0e80f997
Remove hardcoded colors in VSCode theme 💄 2022-10-27 22:26:37 +01:00
Daniel Thwaites
94a22ee6f1
Adjust VSCode theme 💄 2022-10-26 18:49:34 +01:00
Daniel Thwaites
daa9ab9917
Support VSCode 2022-10-26 18:29:56 +01:00
Daniel Thwaites
7a57dff2b2
Fix error when Swaylock module is not available 🐛
See https://github.com/danth/stylix/issues/8#issuecomment-1279723774
2022-10-16 15:59:58 +01:00
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