Commit graph

364 commits

Author SHA1 Message Date
Daniel Thwaites
11166aa5a2
stylix: remove cfg.enable from mkEnableTarget default
The individual modules are already gated by `stylix.enable`, so
there is no need for it to also affect the value of
`stylix.targets.«name».enable`.

This should not produce any noticeable change in behavior.
2024-06-10 20:33:11 +01: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
NAHO
c630a7d3ee
plymouth: lock URL version (#335)
Addresses: https://github.com/NixOS/nixos-artwork/pull/120
Closes: https://github.com/danth/stylix/issues/334
2024-04-10 17:06:03 +01:00
head-gardener
58761b51f8
doc: add mention of lib.stylix.pixel to tricks (#327)
The function implements a fairly popular feature and is pretty old, but never gets mentioned in the docs. In fact, I only found it by randomly going through the sources. As a result, a person I spoke to wrote the section above describing a re-implementation of the function, which does work but doesn't need to be the default approach.

This change will improve discoverability of the codebase and direct users to a more standardized implementation.

P.S. `base16-schemes` changed `catppuccin.yaml` to a couple of variant themes, which is represented in this commit.
2024-04-10 16:46:34 +01:00
NAHO
f9b9bc7c8e
stylix: do not escape spaces in wallpaper path (#329)
Addresses: https://github.com/danth/stylix/issues/324
Reverts: a0bdd9c15b
2024-04-03 15:26:12 +01:00
NAHO
b6dbe9ac5d
kde: use provided verboseEcho function (#316)
Follows: bad1af63ff
2024-04-01 18:51:31 +01:00
Daniel Thwaites
a0bdd9c15b
stylix: escape spaces in wallpaper path (#317) 2024-04-01 14:50:57 +01:00
NAHO
3c6b34fbc2
kde: apply Bash best practices (#314) 2024-04-01 13:54:19 +01:00
NAHO
fdf8fd261e
treewide: use Bash internal 'test' command (#311)
Related: https://stackoverflow.com/questions/3427872
2024-03-30 11:23:23 +00:00
NAHO
bad1af63ff
kde: remove internal debugging logs (#304) 2024-03-30 08:33:55 +01:00
NAHO
504c54dbf1
kde: remove redundant function declaration space (#305) 2024-03-30 08:33:32 +01:00
NAHO
75fd247712
mangohud: remove font_file (#307) 2024-03-28 08:52:53 +00:00
Daniel Thwaites
53d3e5d5b3
nixos-icons: recolor white logo (#297)
Fixes #292
2024-03-23 20:02:10 +00:00
NAHO
4da2d793e5
mangohud: link to tracking issue (#299) 2024-03-22 11:16:31 +00:00
Daniel Thwaites
2221c7d61b
plymouth: remove blackBackground option (#294) 2024-03-18 15:11:06 +00:00