Commit graph

333 commits

Author SHA1 Message Date
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
Daniel Thwaites
f78eff2236
Log fitness values 🔊 2022-07-16 00:30:00 +01:00
Daniel Thwaites
23033265c8 Encourage primary scale to be similar colours 👔 2022-07-01 14:38:10 +01:00
Daniel Thwaites
ffc2b3f447 End genetic algorithm when the fitness stops increasing
This allows us to reach an even better colour scheme rather than
stopping after a fixed number of generations.

For images which create a good colour scheme quickly, we avoid doing
unnecessary passes which don't lead to much improvement.
2022-07-01 12:54:44 +01:00
Daniel Thwaites
6a706cba69 Add polarity option 2022-06-30 18:17:44 +01:00
Daniel Thwaites
f7d6ec8f1d
Set termguicolors in Vim/NeoVim 🐛
This gets the correct colourscheme to show up in terminal mode.
2022-06-27 12:27:32 +01:00
Daniel Thwaites
80752af316
Add CI workflow 👷 2022-06-15 15:24:05 +01:00
Daniel Thwaites
378380675e
Import lib in Vim module 🚑 2022-06-13 13:34:54 +01:00
Daniel Thwaites
0e877e028e
Set GUI font for Vim/NeoVim 2022-06-13 13:32:15 +01:00
Daniel Thwaites
b2ae657e97
Enable GTK theming for more Wayland compositors 💩 2022-05-02 13:49:05 +01:00
Daniel Thwaites
671068f7f6
Add internal docs for palette generator 💡
So that I don't forget how it works :)
2022-05-02 01:12:27 +01:00
Daniel Thwaites
8175b4abf9
Expand README description 📝 2022-05-01 19:15:21 +01:00
Daniel Thwaites
e02c8c77a4
Apply home-manager settings to all users automatically 🚸 2022-04-24 11:38:24 +01:00
Daniel Thwaites
c2358177dc
Use an external library for base16 ♻️
https://github.com/SenchoPens/base16.nix
2022-04-23 10:36:20 +01:00
Daniel Thwaites
3b47dde0da
Remove auto-beautifier 👷 2022-04-04 10:44:13 +01:00
Daniel Thwaites
6d91faf03b
Add support for Helix editor
https://helix-editor.com/
2022-04-04 10:39:29 +01:00
Daniel Thwaites
c80e203c8a
Enable dconf using NixOS option 👽
The gnome3.dconf alias has been removed on Nixpkgs master.
2022-01-15 09:16:16 +00:00
Daniel Thwaites
3bde229fca
Allow generation of light schemes 2021-12-24 16:42:44 +00:00
Daniel Thwaites
acd7a92cab
Remove non-flake installation method from README 📝 2021-12-17 17:11:19 +00:00
github-actions
38d8ca1f58 Beautify 09892b21a5 🎨 2021-12-16 20:08:35 +00:00
Daniel Thwaites
09892b21a5
Use a genetic algorithm to choose colours
This produces much more visually pleasing palettes compared to the crude
algorithm which was previously used.
2021-12-16 20:03:07 +00:00
Daniel Thwaites
95b7629d29
Enable feh only for selected window managers 2021-11-01 14:11:19 +00:00
Daniel Thwaites
3e7dbe6174
fish.promptInit → fish.interactiveShellInit 👽
Due to nix-community/home-manager#2231
2021-10-28 11:35:56 +01:00
Daniel Thwaites
238366d8e0
Rename Haskell files 🚚 2021-10-18 16:40:18 +01:00
Daniel Thwaites
8ef21bcd10
Move Bucket code to a separate file ♻️ 2021-10-18 16:23:48 +01:00
Daniel Thwaites
92f63a54ff
Order base08 to base0F by hue 2021-10-17 19:48:03 +01:00
Daniel Thwaites
6c806290e4
Select colours more efficiently 2021-10-17 19:28:22 +01:00
github-actions
d673f6a30d Beautify 2cf29984d4 🎨 2021-10-17 15:17:28 +00:00
Daniel Thwaites
2cf29984d4
Only support Linux systems 🔨 2021-10-17 16:16:50 +01:00
Daniel Thwaites
e0295dac9b
Use the default version of GHC ⬇️
The default version has libraries available on cache.nixos.org, rather
than having to compile them locally during evaluation.

Stylix did not depend on anything from GHC901.
2021-10-17 15:23:58 +01:00
github-actions
f0323ee468 Beautify 7b34be82ff 🎨 2021-10-17 14:05:15 +00:00
Daniel Thwaites
7b34be82ff
Rewrite palette generation in Haskell
This does not rely on an external library for colour selection,
therefore it can be fine-tuned to create a better theme.

Closes #2 because Colorgram is no longer used.
2021-10-17 15:04:19 +01:00
Daniel Thwaites
ed67f81454
Add gitmoji to beautify workflow 👷 2021-10-16 10:53:54 +01:00
github-actions
20ab1424bc Beautify 52f26699a6 2021-10-16 09:50:47 +00:00
Daniel Thwaites
52f26699a6
Build GTK theme using rendersvg 2021-10-16 10:46:49 +01:00
Daniel Thwaites
ab7aa8b53e
Set pname of Vim plugin 2021-09-16 17:22:36 +01:00