Commit graph

417 commits

Author SHA1 Message Date
Daniel Thwaites
993fcabd83
treewide: update option deprecations (#514) 2024-09-26 13:58:47 +01:00
NAHO
cf8b6e2d4e
stylix: rename base16-foot, base16-tmux, and base16-kitty inputs (#572) 2024-09-24 23:52:56 +01:00
William
eccb9f2d63
wezterm: support fancy_tab_bar (#564)
By default, the fancy tabbar doesn't respect colorschemes, see
https://github.com/wez/wezterm/issues/2615. But I've found that if you
set the tabbar colors in the config.lua in addition to the
colors/stylix.toml file, the fancy tabbar does respect the colors set.

This change doesn't affect the retro tab theming, which I made sure to
test.
2024-09-23 13:12:11 +01:00
Zachary H
d56d759fba
i3status-rust: init (#548)
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-09-23 12:55:27 +01:00
Jez Cope
53bcceb4e4
wofi: specify font size unit as pt (#552)
Link: danth#251
Link: danth#552

Tested-by: cgahr <26804763+cgahr@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-09-20 11:31:31 +01:00
NAHO
58b3a70b1d
stylix: bump base16-helix input (#566)
Link: https://github.com/danth/stylix/pull/566
2024-09-20 10:03:06 +01:00
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
dasj19
ef81ad9e85
gnome: move gnome-shell overlay out of gnome scope (#541)
In response to this PR: https://github.com/NixOS/nixpkgs/pull/338583
2024-09-02 16:29:33 +01:00
Daniel Thwaites
c95de36252
hyprland: only enable hyprpaper when hyprland is installed (#544)
See https://github.com/danth/stylix/issues/542#issuecomment-2324323870

Closes #542
2024-09-02 11:39:50 +01:00
Luna Simons
3a4101c4f4
fish: remove obsolete $base16_theme check
Remove the obsolete $base16_theme check which was incorrectly taken from
[1] as $base16_theme is unused in Stylix.

[1]: https://github.com/tomyun/base16-fish/issues/7#issuecomment-963376055

Closes: https://github.com/danth/stylix/issues/538
Fixes: 94d70292d0 ("fish: fix base16-fish causing startup issues with tmux (#503)")
Link: https://github.com/danth/stylix/pull/539

Tested-by: Donovan Glover <donovan@dglover.co>
Approved-by: Donovan Glover <donovan@dglover.co>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-08-31 19:53:32 +02:00
NAHO
6c895c6b42
gnome: rename deprecated pkgs.gnome.gnome-backgrounds package (#531)
Rename the deprecated `pkgs.gnome.gnome-backgrounds` package to
`pkgs.gnome-backgrounds`, following
6e8760f7f7.

Cc: @knoopx

Co-authored-by: Victor Martinez <knoopx@gmail.com>
2024-08-26 21:09:37 +01:00
NAHO
4b15fdcc87
stylix: remove deprecated 'stylix.palette.<BASE>' options at end-of-life
BREAKING CHANGE: Remove the deprecated 'stylix.palette.<BASE>' options.

Link: https://github.com/danth/stylix/pull/514
2024-08-26 17:45:56 +02:00
NAHO
dba4bd2d89
treewide: declare end-of-life for deprecated options
Fixes: 6858d08ed0 ("treewide: add soft deprecation dates (#506)")
Link: https://github.com/danth/stylix/pull/514
2024-08-26 17:45:26 +02:00
Daniel Thwaites
d042af478c
stylix: re-add flake-utils dependency (#515) 2024-08-23 21:17:24 +01:00
Daniel Thwaites
5ca31b6068
ci: update Actions related to GitHub Pages (#524) 2024-08-23 21:00:58 +01:00
NAHO
9b5a65b681
doc: extract Commit Convention section (#518) 2024-08-23 20:31:39 +01:00
NAHO
825490bb5e
ci: add GitHub Dependabot to keep GitHub Actions up-to-date (#517)
> [GitHub] Actions are often updated with bug fixes and new features to
> make automated processes more reliable, faster, and safer. When you
> enable Dependabot version updates for GitHub Actions, Dependabot will
> help ensure that references to actions in a repository's workflow.yml
> file and reusable workflows used inside workflows are kept up to date.
>
> [...]
>
> If a more recent version of the action is available, Dependabot will
> send you a pull request that updates the reference in the workflow
> file to the latest version.
>
> -- GitHub Docs
>    https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

Link: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#commit-message
Link: https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
Link: https://github.com/danth/stylix/pull/517

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2024-08-23 20:22:33 +01:00
NAHO
c5f8f06543
kde: rename deprecated option (#513)
Rename the deprecated services.xserver.displayManager.sddm.enable option
to services.displayManager.sddm.enable, following [1].

[1]: https://github.com/NixOS/nixpkgs/pull/291913

Link: https://github.com/danth/stylix/pull/513
2024-08-21 18:13:34 +01:00
NAHO
77a65800e6
stylix: adopt flake-utils.lib.eachDefaultSystem
Adopt the flake-utils.lib.eachDefaultSystem function for added features
like '--impure' flag support [1].

[1]: https://github.com/numtide/flake-utils/pull/115

Link: https://github.com/danth/stylix/pull/515
2024-08-21 12:39:17 +02:00
NAHO
ab67c50983
stylix: delegate to upstream default architecture list
Delegate to the upstream default architecture list without altering the
supported architectures.

Link: https://github.com/danth/stylix/pull/515
2024-08-21 12:39:17 +02:00
NAHO
15fed84dec
stylix: drop i686-linux architecture support
Remove the i686-linux architecture support to match
flake-utils.defaultSystems and primary NixOS architecture targets.

BREAKING CHANGE: Drop support for the i686-linux architecture. Re-enable
i686-linux support in user configurations with the "externally
extensible flake systems" [1] pattern.

[1]: https://github.com/nix-systems/nix-systems

Link: https://github.com/danth/stylix/pull/515
2024-08-21 12:39:10 +02:00
NAHO
9447b17f70
stylix: re-add flake-utils dependency and interface flake systems
Re-add the flake-utils dependency removed in commit ff5da2914c
("Remove dependency on flake-utils ") and interface
flake systems using the "externally extensible flake systems" [1]
pattern.

[1]: https://github.com/nix-systems/nix-systems

Closes: https://github.com/danth/stylix/issues/512
Link: https://github.com/danth/stylix/pull/515
2024-08-21 12:35:51 +02:00
Donovan Glover
94d70292d0
fish: fix base16-fish causing startup issues with tmux (#503)
* fish: fix base16-fish causing startup issues with tmux

Closes #488

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2024-08-19 20:12:23 +02:00
NAHO
6858d08ed0
treewide: add soft deprecation dates (#506)
Add soft deprecation dates to guide the hard deprecation transitions.

Fixes: 3567250ba0 ("Properly warn users that stylix.palette.* has been removed")
Fixes: 94aa0fc0fb ("nixvim: rename transparency options to camelCase (#497)")
2024-08-16 19:54:29 +01:00
Daniel Thwaites
5853f1a8bd
neovim: fix incorrect use of mkIf (#498) 2024-08-06 13:21:22 +01:00
Daniel Thwaites
94aa0fc0fb
nixvim: rename transparency options to camelCase (#497) 2024-08-06 12:42:19 +01:00
Donovan Glover
3499dff34d
neovim: init (#496)
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2024-08-06 12:42:04 +01:00
Pavel Borzenkov
c0309fc3f4
wofi: init (#493) 2024-08-05 16:42:24 +01:00
Gabriel Talbert Bunt
feb2973dfa
doc: specify correct color attribute path (#491)
Colors are accessible under config.lib.stylix.colors, not lib.stylix.colors.

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-07-30 00:21:31 +01:00
NAHO
b9de20c76e
kde: revoke Qt6 and non-KDE Qt theme support (#490)
Revert commit 6bbae4f85b ("kde: apply Qt theme on non-KDE systems and
add Qt6 support (#367)") due to unexpected issues.

Follow-up work is tracked in https://github.com/danth/stylix/issues/489.

Closes: https://github.com/danth/stylix/issues/480
Closes: https://github.com/danth/stylix/issues/485
Closes: https://github.com/danth/stylix/issues/487
2024-07-26 11:20:07 +01:00
Mateus Auler
c974c17cd0
vesktop: improve contrast (#482)
Some generated text colors in dark themes are too close to the background color, making
it hard to read.

Fixes: #474
2024-07-24 11:24:31 +01:00
PedroMAdorno4
0ef70039a6
ncspot: init (#475) 2024-07-21 16:57:29 +02:00
Will Bush
6f36b27afd
doc: update tinted-theming repo link (#476)
> The 'base16-schemes' package uses the 'tinted-theming/base16-schemes'
> repository, which has now been archived by the owner in favor of
> 'tinted-theming/schemes'
>
> -- https://github.com/NixOS/nixpkgs/issues/285671
2024-07-20 14:33:22 +02:00
Jackaed
6bbae4f85b
kde: apply Qt theme on non-KDE systems and add Qt6 support (#367) 2024-07-19 23:48:56 +01:00
VESSE Léo
29148118cc
helix: bump 'helix-base16' input (#468)
Closes: https://github.com/danth/stylix/issues/467
Supersedes: https://github.com/danth/stylix/pull/466

Co-authored-by: lenny <me@lenny.ninja>
2024-07-12 23:11:19 +02:00
Anton Mosich
1ff9d37d27
fzf: use Home Manager color options (#454)
home-manager provides a programs.fzf.colors option to provide colors.
This module basically reimplemented the logic Home Manager has as well.
2024-06-27 22:59:30 +01:00
Simon Yde
7cdbd12817
nushell: fix separator typo (#449) 2024-06-24 14:23:18 +01:00
sdaqo
0fc4e9f144
hyprland: add 'groupbar' colors (#446) 2024-06-23 16:20:48 +02:00
NewDawn0
1ddb78df07
stylix: import missing 'stylix/opacity.nix' module on darwin (#441) 2024-06-23 16:19:52 +02:00
Angelo Bulfone
97dcf3c216
zellij: fix black & white (#444)
Brings the Zellij theme more in-line with the default theme. For dark themes, Zellij's shades go from darkest to brightest: black < bg < fg < white. The exact shades used for the four is based on the standard mapping of the 8 primary colors to ANSI's 4 shades.

This makes the tab and status bars significantly more readable.

This does not account for light themes, and Zellij dynamically switches between white and black for certain elements depending on the polarity, however I couldn't find of other modules that accounted for polarity, so I left it for a future change. I also did not rename the accents to their semantic names, though it would be simple to do.
2024-06-21 13:10:34 +01:00
Bernardo Meurer
7dcab0711b
fonts: remove 'fonts.fontDir.enable' and use 'fonts.packages' (#439)
Remove the obsolete 'fonts.fontDir.enable' option and replace the
'fonts.fonts' option with 'fonts.packages'.

This should fix Stylix for nix-darwin past 58b905ea.

Closes: https://github.com/danth/stylix/issues/435
2024-06-19 11:30:25 +02:00
Ed Roberts Rayne
f13c946181
hyprpaper: init (#377)
Initialize the 'hyprpaper' module.

In the future, it might be possible to 'unload' the one-off wallpaper to reduce
the running memory usage [1]:

> Preload does exactly what it says. It loads the entire wallpaper into
> memory. This can result in around 8 - 20MB of mem usage. It is not
> recommended to preload every wallpaper you have, as it will be a)
> taking a couple seconds at the beginning to load and b) take 100s of
> MBs of disk and RAM usage.
>
> Preload is meant only for situations in which you want a wallpaper to
> switch INSTANTLY when you issue a wallpaper keyword (e.g. wallpaper
> per workspace)
>
> In any and all cases when you don't mind waiting 300ms for the
> wallpaper to change, consider making a script that:
>  - preloads the new wallpaper
>  - sets the new wallpaper
>  - unloads the old wallpaper (to free memory)
>
> -- Hyprpaper [2]

[1]: https://github.com/danth/stylix/issues/408
[2]: 678d0e8959/README.md (L103-L111)

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-06-17 16:30:35 +02:00
Daniel Thwaites
80e8e1e2f6
treewide: add linters and apply pending suggestions (#426) 2024-06-16 15:08:25 +01:00
Daniel Thwaites
29044a0242
plymouth: use logo from nixos-icons (#424)
Closes #336
2024-06-16 15:01:57 +01:00
Lucas Hazel
25106f203f
emacs: change 256 color source (#436) 2024-06-16 15:00:38 +01:00
Shanon McQuay
a7fbda1fd9
vim: use maintained fork of base16-vim (#428) 2024-06-15 14:11:46 +01:00
pancho horrillo
7941795d44
vim: fix missing lib prefix (#433)
This seems a stray cat from PR #425

Fixes #432
2024-06-15 11:02:58 +01:00
David Schaller
64c5bd0fbe
vscode: fix typo in template.mustache (#434) 2024-06-15 11:01:52 +01:00
Daniel Thwaites
76d6ca2224
treewide: remove use of with lib (#425) 2024-06-14 22:36:25 +01:00