Commit graph

501 commits

Author SHA1 Message Date
NAHO
fe25ebfdc9
doc: update copyright year (#715) 2025-01-04 14:33:14 +00: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
Sergei Zimmerman
0ce2a52dec
yazi: add testbed, resolve 0.4.0 breaking changes, and improve names (#719)
Add a testbed and resolve the 0.4.0 breaking changes [2] [3] [4].

Migrate the highlight colors to mnemonics with the following script to
improve readability and simplify the process of reusing upstream
templates [4]:

    colors_base=(
      "base08" "base09" "base0A" "base0B" "base0C" "base0D" "base0E"
      "base0F"
    )

    colors_name=(
      "red" "orange" "yellow" "green" "cyan" "blue" "magenta" "brown"
    )

    for i in "${!colors_base[@]}"; do
      sed \
        --in-place \
        "s/${colors_base[i]}/${colors_name[i]}/g" \
        modules/yazi/hm.nix
    done

[1]: https://github.com/sxyazi/yazi/issues/1772
[2]: https://github.com/sxyazi/yazi/pull/1927
[3]: https://github.com/sxyazi/yazi/pull/1953
[4]: https://github.com/yazi-rs/flavors/blob/main/scripts/catppuccin/template.toml

Closes: https://github.com/danth/stylix/issues/604
Closes: https://github.com/danth/stylix/issues/683
Link: https://github.com/danth/stylix/pull/719

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-03 01:27:46 +01:00
Mirza Arnaut
6eb0597e34
ghostty: init (#703)
Link: https://github.com/danth/stylix/pull/703

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-02 20:01:16 +01:00
NAHO
90f95c5d84
stylix: point nixpkgs input to more conventional nixos-unstable ref (#712) 2025-01-02 17:55:30 +00:00
Louis Dalibard
911c07f40f
fctix5: init (#718)
Link: https://github.com/danth/stylix/pull/718

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-01 21:48:24 +01:00
hazel
f48cab39ba
doc: document imageScalingMode options (#709)
Document the imageScalingMode options according to swaybg, which should
be mostly universal.

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-31 18:05:32 +01:00
Daniel Thwaites
a4ed4168fb
foot: update desktop file name in testbed (#707)
This was recently changed upstream [1].

[1]: c8185aec1d
2024-12-30 03:13:08 +01:00
Daniel Thwaites
71eea3f02a
treewide: add application testbeds (#612)
Extend testbeds with individual GUI applications beyond DEs, offering the
following benefits:

- Preview PRs without changing your real configuration by running:

    nix run github:«owner»/«repository»/«branch»#testbed-«application»-«polarity»'

- Unlike local installations, testbeds reset their filesystem between rebuilds,
  ensuring each test simulates a fresh installation to identify cases requiring
  manual steps for module effectiveness.

- Enhances CI to test that configurations evaluate correctly when a module is
  enabled. The extent to which this confirms that the configuration actually
  works can vary depending on the upstream implementation of the module.

The application testbeds are currently based on GNOME but could be replaced with
a lightweight compositor like Cage [1] in the future. GNOME was chosen for the
time being due to preconfigured services, such as a secret service [2], which
some applications require.

[1]: https://github.com/cage-kiosk/cage?tab=readme-ov-file#cage-a-wayland-kiosk
[2]: https://specifications.freedesktop.org/secret-service-spec/latest
2024-12-29 22:51:00 +00:00
bricked
963e77a3a4
gtk: add support for theming Flatpak applications (#693)
Add support for theming Flatpak applications by making the GTK theme
accessible to them. [1]

[1]: https://itsfoss.com/flatpak-app-apply-theme

Closes: https://github.com/danth/stylix/issues/465
Link: https://github.com/danth/stylix/pull/693

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-26 23:53:19 +01:00
bricked
079fecebad
firefox: leverage Home Manager's mkFirefoxModule pattern (#695)
Leverage Home Manager's mkFirefoxModule pattern introduced in commit
792757f643ce [1] ("firefox: support firefox derivatives").

[1]: 792757f643

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-25 19:24:28 +01:00
FirelightFlagboy
a70154ec03
doc: resolve 'magick convert' deprecation warning (#697)
Resolve the following 'magick convert' deprecation warning:

    WARNING: The convert command is deprecated in IMv7, use "magick"
    instead of "convert" or "magick convert"

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-25 18:43:53 +01:00
NAHO
4d87b96cec
stylix: support float font sizes (#692)
Link: https://github.com/danth/stylix/pull/692

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-22 17:45:04 +01:00
musjj
aec7be45cf xresources: convert font size to a string
A hack necessary because of a home-manager limitation. It works because
numbers and strings are serialized the same way for .Xresources. It
should be reverted after this issue is addressed upstream.
2024-12-22 23:09:50 +07:00
bricked
be3a33d589
cava: add rainbow theme option (#638)
Link: https://github.com/danth/stylix/pull/638

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-22 17:09:05 +01:00
musjj
75f38f9edf stylix: use floats for font sizes 2024-12-22 23:08:26 +07:00
musjj
4f489c6393
vscode: don't round font sizes (#691)
Link: https://github.com/danth/stylix/pull/691

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-22 00:04:56 +01:00
Devin
a2d66f2547
treewide: extend stylix.imageScalingMode support
Add stylix.imageScalingMode support to all modules except:

- hyprlock
- hyprpaper
- kde
- lightdm
- sway

Closes: https://github.com/danth/stylix/issues/677
Link: https://github.com/danth/stylix/pull/678

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2024-12-18 15:15:36 +01:00
awwpotato
a9e3779949
librewolf: init (#679)
Link: https://github.com/danth/stylix/pull/679

Co-authored-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-13 18:16:08 +01:00
Daniel Thwaites
ccee633284
ci: prevent unexpected flake.nix and flake.lock inconsistencies (#674)
Prevent some unexpected flake.nix and flock.lock revision
inconsistencies by building configurations with the
--no-update-lock-file option:

> --no-update-lock-file
>
> Do not allow any updates to the flake's lock file.
>
> -- nix3-build(1)

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-12 15:09:08 +01:00
Alice Carroll
bc25f3d69d
emacs: set font for all frames, not just for new ones (#656)
The existing solution does not work on macOS for some reason.

Reviewed-by: Daniel Thwaites <danthwaites30@btinternet.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-10 20:29:57 +01:00
NAHO
dd6605be79
doc: encourage adding testbeds for new modules (#673)
This follows the discussion at
https://github.com/danth/stylix/pull/612#issuecomment-2532155680
2024-12-10 18:14:48 +00:00
NAHO
81148743b9
doc: remove documentation about legacy commit conventions (#672)
Remove legacy documentation about commit message conventions predating
the standardized format introduced in commit bf31640f49 ("doc: specify
commit message format") on 2024-01-23, with the final GitMoji usage in
commit 5a7f3f15cc ("Add guide for creating modules 📝").
2024-12-10 18:12:25 +00:00
Daniel Thwaites
5a69e8c657
ci: fix typo in target branch placeholder 2024-12-10 14:40:28 +00:00
Daniel Thwaites
b08769f64e
ci: implement automated backports (#664)
This is heavily based on the workflow used by Nixpkgs.
It allows us to automatically create backport pull requests by labelling
the original pull request.
Labels should use the format `backport «branch»`.
2024-12-10 14:34:42 +00:00
NAHO
9f019b78fd
vscode: font sizes (#667)
Link: https://github.com/danth/stylix/pull/667

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-10 13:56:05 +01:00
Flameopathic
23d9debfdc vscode: extensive fonts 2024-12-09 13:04:38 -05:00
NAHO
e309d64fe7
hyprland: add hyprpaper.enable option and improve code (#501)
Link: https://github.com/danth/stylix/pull/501

Approved-by: Daniel Thwaites <danthwaites30@btinternet.com>
2024-12-06 19:41:16 +01:00
NAHO
c6547e2b26
hyprland: remove with statement
Link: https://github.com/danth/stylix/pull/501
2024-12-06 19:30:28 +01:00
NAHO
5282744c34
hyprland: reduce local variable scopes
Link: https://github.com/danth/stylix/pull/501
2024-12-06 19:29:54 +01:00
NAHO
638f30a67e
hyprland: inline single-use variable
Link: https://github.com/danth/stylix/pull/501
2024-12-06 19:28:45 +01:00
NAHO
47f1504b45
hyprland: structurally separate unconditional and conditional settings
Link: https://github.com/danth/stylix/pull/501
2024-12-06 19:27:02 +01:00
NAHO
16e4ca7fa7
hyprland: add hyprpaper.enable option
Closes: https://github.com/danth/stylix/issues/499
Link: https://github.com/danth/stylix/pull/501
2024-12-06 19:27:02 +01:00
NAHO
eb918dbffa
doc: standardize license formatting (#661)
Link: https://choosealicense.com/licenses/mit
Link: https://github.com/danth/stylix/pull/661
2024-12-05 19:37:25 +00:00
NAHO
32882de122
doc: update copyright and include contributors (#659)
Link: https://github.com/NixOS/nixpkgs/pull/11557
Link: https://github.com/danth/stylix/pull/659
2024-12-05 19:35:56 +00:00
Daniel Thwaites
ffba1f1bab
gnome: update to GNOME 47.2 (#658)
Closes: https://github.com/danth/stylix/issues/618
Link: https://github.com/danth/stylix/pull/658

Approved-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-03 22:46:45 +01:00
NAHO
111c75d734
sway: handle cursor names containing spaces (#654)
Closes: https://github.com/danth/stylix/issues/648
Fixes: 07795247c2 ("Add cursor support (#172)")
Link: https://github.com/danth/stylix/pull/654
2024-12-03 15:40:44 +00:00
Igor Rzegocki
74ee1ed505
kubecolor: init (#657)
Link: https://github.com/danth/stylix/pull/657

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-02 16:35:24 +01:00
Christian Dannie Storgaard
d13ffb381c
vim: add target attribute to prevent build failure (#652)
Fixes: 7689e621f8 ("stylix: update all flake inputs (#644)")
Link: https://github.com/danth/stylix/pull/652

Approved-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-30 20:09:20 +01:00
Kamron Bhavnagri
5f912cecb4
river: init (#651)
Link: https://github.com/danth/stylix/pull/651

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-30 20:02:41 +01:00
Dennis Lonoshchuk
f3c2f5a179
stylix: set GTK icon theme (#603)
Closes: https://github.com/danth/stylix/issues/458
Link: https://github.com/danth/stylix/pull/603

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: Kamron Bhavnagri <kamwithk@tuta.io>
2024-11-30 19:51:29 +01:00
Bernardo Meurer
7689e621f8
stylix: update all flake inputs (#644)
This fixes build failures in the tmux module as well.

Approved-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-26 09:03:03 +01:00
Nathaniel Barragan
b667a34073
stylix: bump base16 input (#643)
Closes: https://github.com/danth/stylix/issues/642
2024-11-22 08:43:44 +01:00
NAHO
4912f4db00
stylix: bump base16 input (#640)
Closes: https://github.com/danth/stylix/issues/625
2024-11-19 17:22:29 +00:00
Morgan Jones
f8699483e4
hyprlock: use a string instead of a path for background.path (#633)
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-18 10:08:43 +01:00
Alexey Lebedeff
9b61cc39b2
stylix: don't split autoloaded modules into a separate derivation (#631)
Apparently `../modules` is creating a separate derivation that contains
only that folder, so it's now separate from the flake source. But this
transient derivation isn't mentioned explicitly anywhere in the flake
outputs. It makes it impossible to target those modules in
`disabledModules` directive.

For example, after this change is applied, users can solve issues like
https://github.com/danth/stylix/issues/577 locally, by just adding the
following snippet to their configuration:

    disabledModules = [ "${inputs.stylix}/modules/regreet/nixos.nix" ];

Reviewed-by: Daniel Thwaites <danthwaites30@btinternet.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-17 17:40:52 +01:00
Daniel Thwaites
cf5be812bd
hyprland: add testbed (#611)
There are currently some graphical bugs caused by the VM. [1]

[1]:  https://github.com/hyprwm/Hyprland/issues/1056

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-17 14:10:42 +01:00
diniamo
5ab1207b2f
hyprland: adapt breaking changes (#610)
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>

Fixes: f71c2effed ("hyprland: revert attempt to address unavailable Hyprland breaking change (#608)")
2024-11-15 08:56:26 +01:00
Kamron Bhavnagri
e0a278871b
zellij: write theme file instead of writing theme into config (#616)
Write theme file instead of writing theme into config.

Also, fix contrast issues [1] by changing the red color to base01.

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

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-14 10:48:15 +01:00
Oscar Schwarz
f361071a1b
hyprlock: init (#619)
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-14 08:53:56 +01:00