Commit graph

377 commits

Author SHA1 Message Date
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
David Schaller
73c6955b45
vscode: fixed search match opacity (#427) 2024-06-13 16:32:14 +01:00
Daniel Thwaites
e59d2c1725
swaylock: remove optionalAttrs (#420) 2024-06-11 17:15:52 +01:00
Daniel Thwaites
f060e4059b
stylix: clean up fromOs (#407) 2024-06-11 03:21:04 +02:00
Daniel Thwaites
daac8f591f
stylix: enable Stylix in testbeds (#418) 2024-06-11 01:26:05 +02: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
Alexandra Østermark
ca3247ed8c
tofi: use opacity (#410)
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2024-06-08 18:02:46 +01:00
diniamo
f0ddd45fbe
treewide: change window manager style guide (#414) 2024-06-08 16:17:58 +01:00
diniamo
1d3826ceed
gtk: change accent color (#413) 2024-06-05 14:13:29 +01:00
Julian Hauser
85a0a92c31
zathura: add transparency to highlight colors (#394)
Co-authored-by: jghauser <julianhauser.com>
2024-06-04 16:24:12 +01:00
Alexandra Østermark
c760f63a44
stylix: add background image scaling option (#372) 2024-06-03 13:53:09 +01:00
NewDawn0
3befd5d693
vim: interface colorscheme (#401) 2024-06-01 20:05:16 +01:00
NAHO
266db7f00c
stylix: simplify 'mkEnableTarget' documentation (#399)
Simplify the 'stylix.mkEnableTarget' documentation.

The following issue is to be resolved in
https://github.com/danth/stylix/issues/400:

> Due to some targets not being enabled by default with
> 'stylix.mkEnableTarget', the documentation incorrectly generates
> 'Default: false' in some cases
2024-06-01 04:33:55 +01:00
NAHO
99bcaa5520
stylix: standardize autoEnable and mkEnableTarget documentation (#398) 2024-06-01 01:27:50 +01:00
Geometer1729
ebaed9d4bf
console: adjust colors (#404)
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2024-05-31 20:41:07 +01:00
NAHO
5234b3d467
gnome: use internal mkEnableTarget function (#397)
Follows: 679a806768
2024-05-28 12:24:18 +01:00
Patrick Teubner
659dd55a32
waybar: put font-family string in quotes (#391)
Using 0xProto as font-family breaks waybars style.css (`Expected a string`). This fixes it.
2024-05-28 12:19:54 +01:00
mham
00a11ba2f0
wpaperd: init (#383)
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-05-26 18:29:37 +01:00
Daniel Thwaites
290c8aef47
doc: Plasma 6 → Plasma 5 (#387) 2024-05-23 11:24:24 +02:00
Artem
e7543c51ef
doc: fix link for "Installing Home Manager as a NixOS module" (#385)
Co-authored-by: Art <art@MacBook-Pro-Art.local>
2024-05-22 17:39:29 +01:00
Daniel Thwaites
23cbb96638
doc: refresh screenshots (#382) 2024-05-22 16:54:19 +01:00
NAHO
f9bf97645b
doc: mention YouTube video guide (#384) 2024-05-22 16:49:16 +01:00
Victor B
81df844355
vesktop: init (#365)
adds a generated theme to Vesktop
2024-05-20 12:58:22 +01:00
head-gardener
76e7daf5a1
doc: explain using lib.stylix.colors (#328)
The attrset is used heavily in styllix's modules, but the docs don't contain even a top-level explanation of its value. Though you can gather most it from skimming `base16.nix`, I think stylix should provide an entry point for users, interested in using their color schemes outside of stylix. I base this assumption on personal anecdote of people not having a good understanding of exported values even after extended usage and implementing parallel parsing logic for color scheme files.
2024-05-18 14:01:01 +01:00
Daniel Thwaites
4a4c82f03c
grub: use fc-match format option rather than grep (#368) 2024-05-18 13:58:56 +01:00
Daniel Thwaites
b5f4ca49df
stylix: provide root access in testbeds (#362)
This allows restarting services and accessing protected files during testing.
2024-05-12 14:22:39 +02:00
Daniel Thwaites
98039f3331
gnome: change panel background to base01 (#360)
This was the color used for GNOME 45, and is consistent with other Stylix targets.
2024-05-12 13:58:29 +02:00
NACAMURA Mitsuhiro
f83376bfdc
doc: update NixOS wiki link (#363) 2024-05-11 12:39:19 +01:00
Daniel Thwaites
197526923a
gnome: update to GNOME 46 (#357) 2024-05-09 12:41:00 +00:00
aftix
f1bb5c5080
tofi: init (#355)
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-05-09 10:08:53 +01:00
David Schaller
8f7abd2252
vscode: improve text contrast for diffs and merges (#358) 2024-05-07 19:59:24 +01:00
Alvaro Fresquet
61c024f839
gitui: init (#354) 2024-05-06 14:19:03 +01:00
Alvaro Fresquet
43d23b1609
bat: use config instead of env variable (#353)
Replaces the usage of the BAT_THEME environment variable
in favor of the built in config parameter `theme`.
2024-05-01 10:16:52 +01:00
Daniel Thwaites
0fe277a364
treewide: remove lib.mdDoc (#349) 2024-04-22 22:25:40 +01:00
Daniel Thwaites
267cf91e03
doc: add documentation for testbeds (#347)
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-04-22 14:37:29 +01:00
Sergei Zimmerman
2f29ecd3e4
alacritty: replace base16-alacritty with a custom theme (#346)
Replaces mustache template with a theme specified using
Home Manager options. This removes the need for separate
templates for TOML and YAML formats.

The new colors better align with other terminal modules (e.g. wezterm),
and base24 schemes with bright- mnemonics are now supported.

Closes #341.
2024-04-22 14:17:05 +01:00
Daniel Thwaites
845c674510
nixos-icons: remove rendered version of logo (#344)
It was removed upstream in this commit:
ce919b8180 (diff-335810e528842e1863df83d8f11332a3b8ae60a56cf2f8761a10f96b34bb5bbe)
2024-04-21 19:28:04 +01:00
sodiboo
5749cf1623
nixos-icons: white.svg -> nix-snowflake-white.svg (#343)
These files were renamed in upstream nixos-artwork and merged into nixpkgs 2 days ago.

- ce919b8180
- https://github.com/NixOS/nixpkgs/pull/303068

Additionally, the source root of the package has been moved, so we patch the `src` directly
rather than using mkDerivation's `patchPhase`.
2024-04-20 14:14:34 +01:00
Daniel Thwaites
b36fb34a9c
stylix: add testbeds for desktop environments (#320)
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-04-18 09:10:23 +01:00
NAHO
83866ed880
plymouth: remove substituteInPlace to fix build failure (#338)
Remove the 'substituteInPlace' function call because the new SVG no
longer contains the matching patterns.

Closes: https://github.com/danth/stylix/issues/337

Updates the SHA due to changed contents of the SVG file:
https://github.com/NixOS/nixos-artwork/pull/120
2024-04-13 17:21:42 +01:00
NAHO
406f793045
stylix: escape spaces in wallpaper path (#318)
Fixed version of a0bdd9c15b (#317)
which was reverted in f9b9bc7c8e (#329)

Closes #330

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2024-04-11 15:58:36 +01:00