Commit graph

394 commits

Author SHA1 Message Date
awwpotato
6c42dc31ef
mpv: init (#949)
Closes: https://github.com/danth/stylix/issues/185
Closes: https://github.com/danth/stylix/issues/186
Link: https://github.com/danth/stylix/pull/949

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-10 15:24:10 +01:00
Guilhem Saurel
6a7d563370
vim: fix incorrect input path (#976)
Follows #926
2025-03-10 14:13:49 +00:00
Flameopathic
2c20aed3b3
qt: autoenable hm module only on NixOS (#942)
Link: https://github.com/danth/stylix/pull/942

Reviewed-by: Kilian Mio <86004375+Mikilio@users.noreply.github.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-10 14:29:06 +01:00
Flameopathic
3fce9fb038
treewide: propagate inputs and remove templates (#926)
Closes: https://github.com/danth/stylix/issues/238
Link: https://github.com/danth/stylix/pull/926

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-09 15:46:36 +01:00
awwpotato
6eea250b10
dunst: fix opacity rounding (#965)
Link: https://github.com/danth/stylix/pull/965

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-08 01:07:57 +01:00
awwpotato
74f1ac55d3
fnott: init (#948)
Closes: https://github.com/danth/stylix/issues/556
Link: https://github.com/danth/stylix/pull/948

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-07 21:00:40 +01:00
Adam M. Szalkowski
6fada03cd5
nvf: init (#939)
Link: https://github.com/danth/stylix/pull/939

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-07 09:22:25 +01:00
Flameopathic
4853879264
vscode: support arbitrary profiles (#914)
vscode: support arbitrary profiles

The VSCode theme is no longer only applied to any profiles by default.

Closes: https://github.com/danth/stylix/issues/908
Link: https://github.com/danth/stylix/pull/914

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-07 09:18:46 +01:00
awwpotato
1178051794
ncspot: match style guide better and add transparent bg (#938)
Link: https://github.com/danth/stylix/pull/938

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-04 19:14:47 +01:00
awwpotato
afee64f3c5
rio: add emoji font family and convert font size to pixel unit (#937)
Closes: https://github.com/danth/stylix/issues/936

Tested-by: https://github.com/NovaViper
Approved-by: https://github.com/NovaViper
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Tested-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-04 18:56:55 +01:00
adelille / Alexdelia
2f47285f9d
btop: memory and disk color gradient following logical color (#935)
Fixes #934
2025-03-04 12:28:41 +00:00
awwpotato
489833b201
treewide: give mustache files correct file extensions (#946)
makes the filetype of the file more clear and makes it possible for
editorconfig (#945) to work for these files
2025-03-02 23:48:43 +00:00
bricked
de4ee58990
firefox: add gnome-theme testbed (#879)
Add a gnome-theme testbed and extract the profile name in the default
testbed.

Link: https://github.com/danth/stylix/pull/879

Co-authored-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-28 20:12:14 +01:00
bricked
c74352a145
qt: adapt to style guide (#920)
Fix Catppuccin Kvantum theme [1] theme incompatibilities with the Stylix
style guide [2], resolving issues like unreadable buttons and other
inconsistencies.

[1]: https://github.com/danth/stylix/pull/142#issue-1837991495
[2]: https://stylix.danth.me/styling.html

Link: https://github.com/danth/stylix/pull/920

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-28 10:20:15 +01:00
NAHO
e7c09d2066
nixvim: expose config for nixvim's standalone mode (#415)
Link: https://github.com/danth/stylix/pull/415

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-27 09:21:07 +01:00
David Neugebauer
2111394586
Convert image path to string for Hyprlock fixing #918 (#925)
Closes: https://github.com/danth/stylix/issues/918
Fixes: c8e4a0d218 ("treewide: optionalize stylix.image option (#717)")

Tested-by: https://github.com/Stormfox2
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-27 09:11:20 +01:00
Matt Sturgeon
0a4755b656
nixvim: expose config as read-only option
Allow standalone nixvim users to take advantage of stylix by exposing
the generated config as `config.lib.stylix.nixvim.config`.

This can be passed to the nixvim derivation's `extend` function or used
directly in a nixvim configuration.
2025-02-26 02:17:32 +00:00
Matt Sturgeon
6c361e9755
nixvim: simplify enable conditions
- Use `options.programs` over `config.programs` as it is slightly cheaper.
- Prefer using the `?` operator over `builtins.hasAttr`
2025-02-26 02:10:53 +00:00
Daniel Thwaites
9d433a6b1a
swaylock: attempt to avoid infinite recursion (#899)
Although the initial pull request was approved [1], a conversation
on Matrix suggests that infinite recursion is indeed possible in
certain cases [2].

[1]: https://github.com/danth/stylix/pull/875
[2]: https://matrix.to/#/!FBhBUKKFkbUIElLvaF:danth.me/$yZz3nJYu9RgaN3736fxF1xY0BfzceGRSsvpiXSq6go4
2025-02-24 19:07:51 +00:00
Daniel Thwaites
ebdcc2a190
doc: add module README for Firefox and derivatives (#897)
Link: https://github.com/danth/stylix/pull/897

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-24 19:10:45 +01:00
Kilian Mio
225b4c57c9
qt: adds default value for qt.platform (#884)
Add a default value for the qt.platform option, following commit d171b19c1c
("qt: add temporary warnings for plasma6 (#845)") in an effort to resolve [1]
("Stylix Kvantum is breaking plasma6").

[1]: https://github.com/danth/stylix/issues/835

Link: https://github.com/danth/stylix/pull/884

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-24 19:08:08 +01:00
Jaanonim
cbe42e21ee
treewide: rename wpaperd and vscode options (#905)
Resolve the following warnings:

    - The option `programs.wpaperd.settings' defined in
      `/nix/store/<HASH>-source/modules/wpaperd/hm.nix' has been renamed
      to `services.wpaperd.settings'.

    - The option `programs.vscode.extensions' defined in
      `/nix/store/<HASH>-source/modules/vscode/hm.nix' has been renamed
      to `programs.vscode.profiles.default.extensions'.

    - The option `programs.vscode.userSettings' defined in
      `/nix/store/<HASH>-source/modules/vscode/hm.nix' has been renamed
      to `programs.vscode.profiles.default.userSettings'.


The VSCode theme is now only applied to the 'default' profile.

Closes: https://github.com/danth/stylix/issues/903
Link: https://github.com/danth/stylix/pull/905

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-24 16:43:41 +01:00
Flameopathic
2c4b5bec36
hyprlock: fix background color definition (#906)
Fixes: c8e4a0d218 ("treewide: optionalize stylix.image option (#717)")
2025-02-24 16:35:13 +01:00
Flameopathic
c8e4a0d218
treewide: optionalize stylix.image option (#717)
Optionalize the stylix.image option when stylix.base16Scheme is set,
making the following Stylix configurations valid:

    [
      // Now it possible to set 'stylix.image = null', if
      // stylix.base16Scheme is set.
      {
        base16Scheme = /* ... */;
      }

      // This configuration was already possible.
      {
        image = /* ... */;
      }

      // This configuration was already possible.
      {
        base16Scheme = /* ... */;
        image = /* ... */;
      }
    ]

Closes: https://github.com/danth/stylix/issues/200
Closes: https://github.com/danth/stylix/issues/442
Link: https://github.com/danth/stylix/pull/717

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-02-24 15:13:57 +01:00
bricked
3a686a20b8
firefox: add colorTheme.enable option (#881)
Add the colorTheme.enable option to the Firefox derivatives by
installing the the Firefox Color extension.

This is not enabled by default because writing extension settings
requires manually setting 'extensions.force = true'. [1]

[1]: https://github.com/nix-community/home-manager/pull/6490

Link: https://github.com/danth/stylix/pull/881

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-22 17:27:39 +01:00
NAHO
917e07af14
plymouth: remove trailing whitespaces and consecutive empty lines (#889)
Fixes: eb7b19c260 ("plymouth: support question and message widgets (#842)")
Link: https://github.com/danth/stylix/pull/889
2025-02-21 20:52:33 +01:00
Daniel Thwaites
8b6edfdfa8
{vencord,vesktop}: remove duplicate testbeds (#885)
Link: https://github.com/danth/stylix/pull/885
Fixes: 7feb1c29bf ("discord: combine nixcord, vencord, and vesktop modules (#854)")

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-21 15:02:30 +01:00
Daniel Thwaites
c424b22396 swaylock: avoid inadvertently installing Swaylock
Avoid inadvertently installing the Swaylock package by preventing the
Home Manager module from enabling itself when 'settings != {}' and the
state version is older than 23.05 [1].

[1]: 5cfbf5cc37/modules/programs/swaylock.nix (L12-L17)

Closes: https://github.com/danth/stylix/issues/843
Link: https://github.com/danth/stylix/pull/875

Tested-by: https://github.com/niksingh710
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-20 13:48:39 +01:00
Alexandra Østermark
0779799431
rio: init (#882)
Closes: https://github.com/danth/stylix/issues/647
Link: https://github.com/danth/stylix/pull/882

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-20 13:33:04 +01:00
1444
eb7b19c260
plymouth: support question and message widgets (#842)
Added support for `plymouth ask-question` and `plymouth display-message`
in the Plymouth theme. These can by pretty useful for more sophisticated
setups that require more than "please enter a password".
2025-02-18 15:25:24 +00:00
Kilian Mio
d171b19c1c
qt: add temporary warnings for plasma6 (#845)
This adds temporary warnings when plasma6 is enabled and will be
replaced with actual handling of plasma6 when styling solutions are
added upstream.

Currently, this requires a manual work around that is only reasonable on
home-manager and not on NixOS. Users will be deferred to find
workarounds in the issue when they encounter this warning.

Relates to #835

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-18 11:35:43 +00:00
Flameopathic
7feb1c29bf
discord: combine nixcord, vencord, and vesktop modules (#854)
Link: https://github.com/danth/stylix/pull/854

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-17 22:00:51 +01:00
NAHO
211a8440e7
stylix: support multiple testbeds per module (#858)
Support multiple testbeds per module with
/modules/<MODULE>/testbeds/<TESTBED>.nix, while validating various
invariants.
2025-02-17 12:56:46 +00:00
Daniel Thwaites
e86de61bb8
gnome: fix Home Manager activation (#860)
This suffers from the same issues as the KDE activation:

- The program is not available in $PATH, but should not be installed for
  all users.

- The program only works when GNOME Shell is running.

Therefore, we use a very similar solution.

Link: https://github.com/danth/stylix/pull/860

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-12 16:43:34 +01:00
Daniel Thwaites
4af2686c1c
nixcord: use new template format (#852)
Fixes: eb5f817567 ("{vencord,vesktop}: support fonts without IFD (#846)")
Link: https://github.com/danth/stylix/pull/852

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-10 20:23:47 +01:00
soulsoiledit
7f0154c371
neovim: fix SignColumn transparency (#628)
Closes: https://github.com/danth/stylix/issues/599
Link: https://github.com/danth/stylix/pull/628

Tested-by: https://github.com/anotherhadi
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-10 18:43:06 +01:00
rkuklik
65eae5aaa2
kde: fix KDE apps ignoring colorscheme (#850)
Closes: https://github.com/danth/stylix/issues/833
Link: https://github.com/danth/stylix/pull/850

Tested-by: FirelightFlagboy <30697622+FirelightFlagboy@users.noreply.github.com>
Approved-by: FirelightFlagboy <30697622+FirelightFlagboy@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-10 18:39:18 +01:00
Flameopathic
eb5f817567
{vencord,vesktop}: support fonts without IFD (#846)
Restores commit be606eaa87
after it was reverted in e72aa84da1,
with an alternative implementation which doesn't require
import-from-derivation.
2025-02-10 11:18:14 +00:00
NAHO
2c1d493c5f
qt: respect stylix.enable (#847)
Fixes #780
2025-02-10 11:13:11 +00:00
Bernardo Meurer
e72aa84da1
{vencord,vesktop}: revert attempt to support fonts (#844)
Revert commit be606eaa87 ("{vencord,vesktop}: fonts (#840)"), which
accidentally introduced IFD and broke evaluation for flakes users.

Link: https://github.com/danth/stylix/pull/844

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-09 17:11:34 +01:00
NAHO
7818098f4d
treewide: remove trailing whitespaces and add trailing newline (#841) 2025-02-08 22:20:10 +01:00
Flameopathic
be606eaa87
{vencord,vesktop}: fonts (#840)
Closes: https://github.com/danth/stylix/issues/829
Link: https://github.com/danth/stylix/pull/840

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-08 21:42:34 +01:00
rkuklik
ff8ce4f3d2
kde: make wallpaper optional and nondestructive (#823)
Link: https://github.com/danth/stylix/pull/823

Reviewed-by: Flameopathic <flameopathic@gmail.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-08 18:08:22 +01:00
1444
708770fcb0
wayfire: init (#765)
Link: https://github.com/danth/stylix/pull/765

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-08 16:49:46 +01:00
Louis Thevenet
b3ef236d22
glance: init (#827)
Link: https://github.com/danth/stylix/pull/827

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-08 16:45:50 +01:00
Oliver Jõgar
87791e0665
halloy: init (#825)
Link: https://github.com/danth/stylix/pull/825

Co-authored-by: Calvin Lee <pounce@integraldoma.in>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-08 15:29:44 +01:00
NAHO
596d664407
kde: correct quotes in stylix-activate-kde to prevent failure (#832)
Fixes: d9df2b4200 ("kde: add decorations option and polish code (#772)")
Link: https://github.com/danth/stylix/pull/832
2025-02-03 20:26:13 +01:00
Taha
8be2aed295
qt: fix qt6ct directory name (#830)
Link: https://github.com/danth/stylix/pull/830
Fixes: b7f50a56c3 ("qt: add flexible theming with sensible defaults (#780)")

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-03 20:08:32 +01:00
Kilian Mio
b7f50a56c3
qt: add flexible theming with sensible defaults (#780)
This extends the Qt theming improvements for KDE from PR [1] ("kde:
replace kdeglobals with Kvantum theme") to provide generic Qt theming
support in KDE and non-KDE environments.

[1]: https://github.com/danth/stylix/pull/142

Link: https://github.com/danth/stylix/pull/780

Co-authored-by: Blusk <bluskript@gmail.com>
Co-authored-by: Jackaed <ed.andy.jackson@gmail.com>
Co-authored-by: Kilian Mio <86004375+Mikilio@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: https://github.com/Mistrustfully
Tested-by: https://github.com/eblechschmidt
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-03 18:40:41 +01:00
ari
b00c9f46ae nixcord: theme Vencord and Vesktop instead of just Vencord
Closes: https://github.com/danth/stylix/issues/802
Fixes: e594886eb0 ("nixcord: init (#767)")
Link: https://github.com/danth/stylix/pull/822

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-31 00:08:19 +01:00