Commit graph

34 commits

Author SHA1 Message Date
awwpotato
e43eb4e2a7
stylix: init module maintainers framework (#977)
Initialize module maintainers framework to streamline the future
population of module maintainers [1].

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

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

Reviewed-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-14 19:29:51 +01:00
Flameopathic
6a2e525887
stylix: optionalize cursor and disable by default (#943)
Closes: https://github.com/danth/stylix/issues/940
Link: https://github.com/danth/stylix/pull/943

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-03-14 14:48:06 +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
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
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
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
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
rkuklik
d9df2b4200
kde: add decorations option and polish code (#772)
Commit e0a41d3a25 ("kde: replace systemd unit with AutostartScript for
theme application (#708)") improved theme application robustness to the
point of resetting custom theming options. Adding a decorations option
allows overriding its default value without it being reset.

This change also polishes the entire module.

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-30 23:33:12 +01:00
NAHO
ad64260a75
treewide: add and apply nixfmt pre-commit hook
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:48:26 +01:00
Didn't read the style guide
e0a41d3a25
kde: replace systemd unit with AutostartScript for theme application (#708)
Replace the systemd unit with a more robust AutostartScript for theme
application during Plasma startup, ensuring D-Bus and session
availability without breaking Home Manager activation.

Closes: https://github.com/danth/stylix/issues/340
Closes: https://github.com/danth/stylix/issues/350
Closes: https://github.com/danth/stylix/issues/422
Link: https://github.com/danth/stylix/pull/708

Co-authored-by: rkuklik <rkuklik@expect-it.cz>
Tested-by: lordkekz <lordkekz@lkekz.de>
Tested-by: rkuklik <rkuklik@expect-it.cz>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-03 20:50:01 +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
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
Jackaed
6bbae4f85b
kde: apply Qt theme on non-KDE systems and add Qt6 support (#367) 2024-07-19 23:48:56 +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
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
b6dbe9ac5d
kde: use provided verboseEcho function (#316)
Follows: bad1af63ff
2024-04-01 18:51:31 +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
Daniel Thwaites
9c3b61224a
Fix stylixLookAndFeel failing on non-NixOS 🐛
Fixes #204
2023-12-28 14:26:15 +00:00
Daniel Thwaites
7ccd1293a4
Disable KDE behaviour which blocks Home Manager activation 🐛 2023-12-25 18:18:45 +00:00
Daniel Thwaites
a1cbd98719
Configure KDE via a look and feel package 🏗️
This makes Stylix show as a separate theme in system settings,
which is a bit more polished.
2023-12-25 03:11:11 +00:00
Daniel Thwaites
96f0794dbd
Apply cursor theme to KDE 2023-12-23 12:34:41 +00:00
Daniel Thwaites
ecbbe933a9
Improve KDE theme 💄
This makes folder icons and active tabs use a vibrant colour,
as with the default theme.
2023-12-22 20:24:40 +00:00
Bernardo Meurer
34a6d389f3
Disable Linux-only modules on Darwin (#130)
Fixes #129

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2023-07-22 12:29:12 +00:00
Daniel Thwaites
0b8a92a4f8
Ignore failures in KDE activation script 🐛
Although it doesn't check whether the function call succeeded,
the command still fails if it's not able to connect to dbus.
2023-07-16 18:08:13 +01:00
Daniel Thwaites
2524c8ae02
Avoid dependency on KConfig 2023-07-13 01:14:22 +01:00
Daniel Thwaites
1726a19ea4
Support KDE lock screen 2023-07-11 11:59:21 +01:00
Daniel Thwaites
5e7b312b5f
Improve sliders and folder icons on KDE 💄 2023-07-09 18:55:59 +01:00
Daniel Thwaites
96330392d4
Show when a button is disabled on KDE 🐛 2023-07-09 18:55:12 +01:00
Daniel Thwaites
57dabc434b
Adjust KDE fonts 🐛
The smallest readable font was actually too small to read.
I've increased it to the normal font size to be consistent with
what the user has configured.

The font for window titles was also missing.
2023-07-09 16:39:14 +01:00
Daniel Thwaites
f5c5e02d70
Add support for KDE
Fixes #51. Currently you need to log out for changes to take effect.

Co-authored-by: Casul51 <33811764+Casul51@users.noreply.github.com>
2023-07-08 19:54:39 +01:00