Commit graph

323 commits

Author SHA1 Message Date
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
NAHO
3c54cb3384
treewide: ignore unused arguments detected by deadnix
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:45:52 +01:00
NAHO
2256b7d74b
micro: init (#716)
Initialize the micro module.

Extending the 'simple' theme is possible by adding 'include "simple"' to the
user configuration. [1]

[1]: https://github.com/danth/stylix/issues/714#issuecomment-2569808086

Closes: https://github.com/danth/stylix/issues/714
Link: https://github.com/danth/stylix/pull/716

Approved-by: https://github.com/LemmusLemmus
Approved-by: https://github.com/matkijahenkilo
2025-01-04 16:34:27 +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
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
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
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
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
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
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
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
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
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
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
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
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
Daniel Thwaites
defb43d450
zathura: add testbed 2024-11-08 21:00:50 +00:00
Daniel Thwaites
6741c2ef6c
wezterm: add testbed 2024-11-08 20:56:12 +00:00
Daniel Thwaites
efb0e6f59d
vesktop: add testbed 2024-11-08 20:52:26 +00:00
Daniel Thwaites
491f7b3c93
qutebrowser: add testbed 2024-11-08 20:40:49 +00:00
Daniel Thwaites
0c162ff5a8
kitty: add testbed 2024-11-08 20:28:45 +00:00
Daniel Thwaites
7fcf77f1a9
gedit: add testbed 2024-11-08 18:28:11 +00:00
Daniel Thwaites
7cd8165fc1
foot: add testbed 2024-11-08 18:23:42 +00:00
Daniel Thwaites
06218e77d0
emacs: add testbed 2024-11-08 18:20:23 +00:00
MaxMur
d1411e5363
swaync: init (#607)
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-08 19:15:49 +01:00
Daniel Thwaites
8eb2da8d50
chromium: add testbed 2024-11-08 18:14:25 +00:00
Daniel Thwaites
2ce89d2821
alacritty: add testbed 2024-11-08 18:05:26 +00:00
Daniel Thwaites
146d92a210
vscode: add testbed 2024-11-08 18:00:55 +00:00
Daniel Thwaites
6c67f75101
firefox: add testbed 2024-11-08 18:00:44 +00:00
NAHO
f71c2effed
hyprland: revert attempt to address unavailable Hyprland breaking change (#608)
Revert commit 762c07ee10 ("hyprland: adapt breaking changes (#605)"),
which falsely attempted to address a Hyprland breaking change [1] which
is not yet available as a Hyprland release or Nixpkgs package, and
therefore not available through Stylix's inputs.nixpkgs input.

To address the future breaking change, update Stylix's inputs.nixpkgs
input after the next Hyprland release is included in
nixpkgs/nixos-unstable.

[1]: d1638a09ba

Link: https://github.com/danth/stylix/pull/608
2024-11-07 17:53:53 +00:00