Commit graph

48 commits

Author SHA1 Message Date
0xda157
3a332459f4
treewide: use strict mode for nixfmt (#2041)
Link: https://github.com/nix-community/stylix/pull/2041
Link: https://github.com/nix-community/stylix/pull/1976#discussion_r2539186937

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-12-05 16:05:09 -08:00
strupewaffle
2877806a5e
kde: set window title font (#1975)
Link: https://github.com/nix-community/stylix/pull/1975

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: rkuklik <rkuklik@expect-it.cz>
2025-11-18 16:11:15 +01:00
David BELEY
f47c0edcf7
treewide: remove Plasma 5 support dropped upstream (#1860)
Remove Plasma 5 support dropped in upstream commit [1] ("treewide: drop
Qt5 versions of Plasma, Gear, Deepin, Maui, friends (#430298)").

[1]: 2053850561

Closes: https://github.com/nix-community/stylix/issues/1861
Link: https://github.com/nix-community/stylix/pull/1860

Reviewed-by: https://github.com/SuperSandro2000
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-08-24 03:05:43 +02:00
NAHO
af85565aba
treewide: replace lib.listToAttrs with builtins.listToAttrs (#1760)
Link: https://github.com/nix-community/stylix/pull/1760

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-26 11:12:42 -07:00
Mateus Auler
8c854fe383
stylix: allow choosing testbed desktop (#1222)
Allow choosing the testbed desktop, ideally as a temporary solution
until migrating to the cage environment.

Link: https://github.com/nix-community/stylix/pull/1222

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-16 15:43:02 +02:00
NAHO
bba3152bd2
treewide: standardize URL format by removing trailing slashes (#1566)
Link: https://github.com/nix-community/stylix/pull/1566

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-07-06 22:18:33 +02:00
Flameopathic
17398c4fce treewide: name default testbeds 2025-05-24 08:53:58 -04:00
Flameopathic
e2fe2df9b0
doc: restructure module rendering (#1083) 2025-05-18 14:09:50 +01:00
Daniel Thwaites
5f6f08daad
treewide: change repository owner to nix-community (#1297) 2025-05-18 03:06:05 +01:00
Kilian Mio
b63f664086
kde: add and update testbeds (#1252)
Adds testbed for plasma6.
In NixOS 25.11 plasma5 will be deprecated so plasma6 should become the default.

Related: https://github.com/danth/stylix/issues/1092

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

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-12 18:32:38 -07:00
awwpotato
1c71f3bde2
treewide: use lib.getExe (#1241) 2025-05-10 12:07:43 +01:00
Didn't read the style guide
ce5fcf851d
kde: apply theme without GUI session and ignore failures (#848)
Closes: https://github.com/danth/stylix/issues/809
Link: https://github.com/danth/stylix/pull/848

Reviewed-by: rkuklik <rkuklik@expect-it.cz>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: https://github.com/Alxandr
2025-05-05 16:28:20 +02:00
Flameopathic
ce45f19e8a
kde: add run wrapper (#1117)
Closes: https://github.com/danth/stylix/issues/313
Link: https://github.com/danth/stylix/pull/1117

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
2025-04-10 09:42:28 +02:00
Flameopathic
82f67a36eb
doc: align module capitalization (#1115)
Closes: https://github.com/danth/stylix/issues/1084
Link: https://github.com/danth/stylix/pull/1115

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
2025-04-10 08:45:51 +02:00
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