Commit graph

723 commits

Author SHA1 Message Date
awwpotato
31fdf60634
stylix: disallow nixpkgs aliases in testbeds (#1124) 2025-04-09 12:08:31 +01:00
awwpotato
852207671f
ci: include release branch in update PR title (#1114) 2025-04-09 12:06:38 +01:00
awwpotato
c8bc1c1d9e
treewide: remove use of multiple with statements (#1085) 2025-04-08 23:22:18 +01:00
Flameopathic
a2f8840bed
hyprland: disable default wallpaper when hyprpaper is enabled (#1120)
Co-authored-by: awwpotato <153149335+awwpotato@users.noreply.github.com>

Closes: https://github.com/danth/stylix/issues/1119
2025-04-08 15:50:43 +00:00
dependabot[bot]
be86a9aadb ci: bump actions/create-github-app-token from 1 to 2
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 1 to 2.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](https://github.com/actions/create-github-app-token/compare/v1...v2)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: '2'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 17:49:09 -07:00
pancho horrillo
f98c2c42b2
mpv: unset OSD font size (#1097)
Closes: https://github.com/danth/stylix/issues/1096
Link: https://github.com/danth/stylix/pull/1097

Reviewed-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-04-06 19:53:03 +02:00
github-actions[bot]
9a3fb931fd stylix: update all flake inputs
Flake lock file updates:

• Updated input 'firefox-gnome-theme':
    'github:rafaelmardojai/firefox-gnome-theme/5a81d390bb64afd4e81221749ec4bffcbeb5fa80?narHash=sha256-RsvHGNTmO2e/eVfgYK7g%2BeYEdwwh7SbZa%2BgZkT24MEA%3D' (2025-03-10)
  → 'github:rafaelmardojai/firefox-gnome-theme/df53a7a31872faf5ca53dd0730038a62ec63ca9e?narHash=sha256-oiHLDHXq7ymsMVYSg92dD1OLnKLQoU/Gf2F1GoONLCE%3D' (2025-04-04)
• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/b5a62751225b2f62ff3147d0a334055ebadcd5cc?narHash=sha256-srpAbmJapkaqGRE3ytf3bj4XshspVR5964OX5LfjDWc%3D' (2025-03-07)
  → 'github:cachix/git-hooks.nix/dcf5072734cb576d2b0c59b2ac44f5050b5eac82?narHash=sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco%3D' (2025-03-22)
• Updated input 'home-manager':
    'github:nix-community/home-manager/7fb8678716c158642ac42f9ff7a18c0800fea551?narHash=sha256-2aYfV44h18alHXopyfL4D9GsnpE5XlSVkp4MGe586VU%3D' (2025-03-10)
  → 'github:nix-community/home-manager/d094c6763c6ddb860580e7d3b4201f8f496a6836?narHash=sha256-Xhe3whfRW/Ay05z9m1EZ1/AkbV1yo0tm1CbgjtCi4rQ%3D' (2025-04-05)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e3e32b642a31e6714ec1b712de8c91a3352ce7e1?narHash=sha256-7rTAMNTY1xoBwz0h7ZMtEcd8LELk9R5TzBPoHuhNSCk%3D' (2025-03-09)
  → 'github:NixOS/nixpkgs/2c8d3f48d33929642c1c12cd243df4cc7d2ce434?narHash=sha256-F7n4%2BKOIfWrwoQjXrL2wD9RhFYLs2/GGe/MQY1sSdlE%3D' (2025-04-02)
• Updated input 'nur':
    'github:nix-community/NUR/5479646b2574837f1899da78bdf9a48b75a9fb27?narHash=sha256-emkxnsZstiJWmGACimyAYqIKz2Qz5We5h1oBVDyQjLw%3D' (2025-03-11)
  → 'github:nix-community/NUR/fde90f5f52e13eed110a0e53a2818a2b09e4d37c?narHash=sha256-foVcginhVvjg8ZnTzY5wwMeZ4wjJ8yX66PW5kgyivPE%3D' (2025-04-05)
• Updated input 'tinted-schemes':
    'github:tinted-theming/schemes/47c8c7726e98069cade5827e5fb2bfee02ce6991?narHash=sha256-YKM1RJbL68Yp2vESBqeZQBjTETXo8mCTTzLZyckCfZk%3D' (2025-03-08)
  → 'github:tinted-theming/schemes/c37771c4ae8ff1667e27ddcf24991ebeb94a4e77?narHash=sha256-sR4K%2BOVFKeUOvNIqcCr5Br7NLxOBEwoAgsIyjsZmb8s%3D' (2025-03-24)
• Updated input 'tinted-tmux':
    'github:tinted-theming/tinted-tmux/d48ee86394cbe45b112ba23ab63e33656090edb4?narHash=sha256-zWcCXgdC4/owfH/eEXx26y5BLzTrefjtSLFHWVD5KxU%3D' (2025-03-02)
  → 'github:tinted-theming/tinted-tmux/af5152c8d7546dfb4ff6df94080bf5ff54f64e3a?narHash=sha256-8IQulrb1OBSxMwdKijO9fB70ON//V32dpK9Uioy7FzY%3D' (2025-03-30)
2025-04-05 22:34:54 +01:00
Daniel Thwaites
bb8af4c658
ci: skip adding Cachix for flake updates (#1108) 2025-04-05 21:24:28 +00:00
awwpotato
2cdfff2575
ci: run flake update on stable release (#1105) 2025-04-05 21:16:02 +00:00
awwpotato
2528e00e7c
ci: adjust flake update PR and commit messages (#1103)
Co-authored-by: Daniel Thwaites <danth@danth.me>
2025-04-05 21:03:31 +00:00
Flameopathic
84f0afbefa
bspwm: add testbed (#1104) 2025-04-05 20:53:14 +00:00
Daniel Thwaites
f3fee51f54
ci: remove github_actions label (#1102) 2025-04-05 20:34:33 +00:00
awwpotato
a6a467a7c1
ci: add flake update action (#1100) 2025-04-05 21:20:36 +01:00
Flameopathic
8865a737ce
bat: add testbed (#1095) 2025-04-05 21:08:16 +01:00
Ontonator
3a6985718a
swaylock: align colors better with style guide (#1099) 2025-04-05 11:20:09 -07:00
awwpotato
581fa67c81
stylix: guard entire overlay declarations (#1088)
Closes: https://github.com/danth/stylix/issues/865
Link: https://github.com/danth/stylix/pull/1088

Tested-by: https://github.com/PedroHLC
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-04-04 16:10:55 +02:00
awwpotato
a214b330e5
mpv: unset subtitle font size (#1090)
Closes: https://github.com/danth/stylix/issues/1089
Link: https://github.com/danth/stylix/pull/1090

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-04-04 16:02:53 +02:00
skoove
9ef806283b
discord: fix template for new ui redesign (#1063) 2025-04-04 14:04:22 +01:00
dependabot[bot]
ac8dd8b1a6 ci: bump actions/create-github-app-token from 1 to 2
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 1 to 2.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](https://github.com/actions/create-github-app-token/compare/v1...v2)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: '2'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-03 19:21:27 -07:00
1444
f32b1c0875
wayfire: fix broken wallpaper option (#1087) 2025-04-03 10:36:11 -07:00
Flameopathic
194a91d001
doc: collapse flake.lock in GitHub bug template (#1059)
Link: https://github.com/danth/stylix/pull/1059

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-04-02 23:41:34 +02:00
Daniel Thwaites
aee4df6dc1
doc: add link to CommonMark Spec (#1081) 2025-04-02 07:26:00 -07:00
Flameopathic
1832ffa9a2
stylix: prevent partially declared cursor (#1080)
Closes: https://github.com/danth/stylix/issues/1064
Link: https://github.com/danth/stylix/pull/1080

Reviewed-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-04-02 07:06:11 -07:00
Daniel Thwaites
54721996d6
doc: add links between NVF, Neovim, Nixvim, and Vim pages (#1040)
Link: https://github.com/danth/stylix/pull/1040

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-04-01 10:32:01 +02:00
awwpotato
711bd28ac9
stylix: add missing parentheses around mkMerge (#1078)
Fixes: eb19696b18 ("stylix: add overlay module (#1048)")
Link: https://github.com/danth/stylix/pull/1078

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: https://github.com/nimr0d
2025-03-31 23:44:33 +00:00
awwpotato
b45eb49894
docs: add trick about lib.mkAfter (#1055) 2025-03-31 20:09:12 +00:00
awwpotato
1a2f1af9f9
discord: add extraCss option (#1058) 2025-03-31 10:40:33 -07:00
awwpotato
eb19696b18
stylix: add overlay module (#1048)
Closes: https://github.com/danth/stylix/issues/865
Link: https://github.com/danth/stylix/pull/1048

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-31 17:36:36 +00:00
Daniel Thwaites
c546582bae
bat: add copyright notice (#1070) 2025-03-31 16:17:16 +01:00
NAHO
eede713515
ci: prevent unintentional credential persistence (#1074)
Link: https://woodruffw.github.io/zizmor/audits/#artipacked
2025-03-30 16:04:23 +01:00
Daniel Thwaites
20117a58eb
ci: run all builds in a single job (#1069)
This works around GitHub's limit on the number of matrix jobs (fixes
#947), by running all builds in a single job. To maintain some speed, we
use `nix-fast-build`, which uses multiple cores for evaluation, and skips
any builds for which the final derivation is already in a binary cache.

Although this makes the run for an individual pull request slower, the
amount of duplicated work is greatly reduced: previously, we often had
100 machines building the same derivation in parallel. This means that
more runners are available should there be multiple pull requests opened
in a short space of time, so there is less queuing. It's also more
energy efficient.

A potential downside is that the logs are all merged together, so it can
be hard to find what failed when lots of outputs were built.
`nix-fast-build` does report a list of failed attributes at the end of
the log, but this is currently broken:
https://github.com/Mic92/nix-fast-build/pull/98

The script used to launch `nix-fast-build` is also added to the
developer shell for local use. This replaces the old `nix-flake-check`
package (closes #898).

I also saw the opportunity to enable checks on `aarch64-linux` and
`aarch64-darwin` - as these are available as GitHub hosted runners.
2025-03-30 12:26:07 +01:00
Daniel Thwaites
8fce91704d
doc: add license check to PR template (#1072)
This serves as a reminder to check licenses properly. It's intentionally
vague to avoid giving wrong advice.
2025-03-29 23:09:03 +00:00
Daniel Thwaites
21b90991af
doc: improve maintainer subheading in PR template (#1071)
Made this not nested under "Things done", and replaced "CC" with
"Notify" for clarity.
2025-03-29 22:42:26 +00:00
hetraeus
0323253b3e
mpv: init mpvScripts.modernz (#1067)
A pleasant mpv UI alternative
2025-03-29 11:21:44 -07:00
Daniel Thwaites
2fb8321ea1
stylix: add copyright notice to check-maintainers-sorted.nix (#1065)
See #1034
2025-03-27 11:46:11 +00:00
NAHO
daef51e920
doc: format and polish Nix code according to our formatter (#1025)
Link: https://github.com/danth/stylix/pull/1025

Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-03-26 13:58:03 +00:00
Daniel Thwaites
61a5f77f22
doc: add contact links to issue template chooser (#1060)
Link: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser
Link: https://github.com/danth/stylix/pull/1060

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-25 19:11:30 +01:00
NAHO
b4feb69fd2
stylix: wrap code comment to 80 characters (#1057)
Fixes: e43eb4e2a7 ("stylix: init module maintainers framework (#977)")
Link: https://github.com/danth/stylix/pull/1057
2025-03-24 23:52:39 +01:00
awwpotato
5321ab0c76
doc: add GitHub PR template (#1038)
Add a relatively open-ended GitHub PR template, heavily inspired by the
Nixpkgs [1] and Home Manager [2] PR templates.

[1]: 9b94ad2d97/.github/PULL_REQUEST_TEMPLATE.md
[2]: c4d5d72805/.github/PULL_REQUEST_TEMPLATE.md

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

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-24 23:29:42 +01:00
Flameopathic
20349ced5c
doc: add GitHub issue templates (#921)
Closes: https://github.com/danth/stylix/issues/268
Link: https://github.com/danth/stylix/pull/921

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-24 23:22:11 +01:00
Flameopathic
d9df91c556
vscode: theme default profile by default (#1015) 2025-03-23 18:12:42 +00:00
Daniel Thwaites
a55488c247
doc: reduce overuse of alerts (#1041)
Using too many "info" and "warning" boxes makes them less effective when
they're needed to draw attention to something genuinely important.

This commit adds important boxes to modules which require an external
module to be imported, similar to the box already used on the "Firefox and
derivatives" page.

It changes the warning when a module has no maintainers to a regular
paragraph.

The note about `stylix.enable` being new is removed, since this has been
around for a while now.
2025-03-23 13:25:15 +00:00
Daniel Thwaites
f537d507c3
doc: add subheading before module metadata (#1042)
This avoids the metadata looking like part of a README subheading.
2025-03-23 13:23:39 +00:00
Flameopathic
113643f332
doc: add note for user-imported modules (#1039)
Adds basic documentation to every Stylix module which requires a
user-imported module to function.

Intended to prevent issues like #1033
2025-03-21 21:11:03 +00:00
awwpotato
7e9906679d
stylix: check whether maintainers list is sorted (#1014)
Link: https://github.com/danth/stylix/pull/1014

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-20 19:56:23 +01:00
Daniel Thwaites
64b4369b6b
doc: display module maintainers (#1010)
As promised at
https://github.com/danth/stylix/pull/977#pullrequestreview-2683388232,
this lists the maintainers for each module on its page in the docs.

This includes some fixes to `stylix/meta.nix`: swapped the order of
arguments to `mapAttrs`, and added an `import` to load the meta file
rather than returning its path.
2025-03-20 16:05:36 +00:00
awwpotato
07c4f39b5b
halloy: add copyright notice (#1035)
fixes #1034
2025-03-20 16:02:49 +00:00
awwpotato
f122d70925
avizo: hotfix aviOpcaity missing (#1023)
Closes: https://github.com/danth/stylix/issues/1018
Fixes: ff9ae322bc ("treewide: clean up `with` and stuff (#975)")
Link: https://github.com/danth/stylix/pull/1023

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-19 23:14:04 +01:00
Chet Luther
41a773fb0f
k9s: tweak color assignment to style guide (#999)
I found that there were some color choices in the k9s module that
weren't aligned with the style guide. Most notably this resulted in
healthy resources being displayed in red while unhealthy resources were
blue.

I tried not to make any subjective changes to the original module
because overall, it was very well done, and there's no right answer when
it comes to things aren't covered by the style guide. In some cases
where the style guide doesn't help, I looked at other modules for
answers.

These are the changes, and the reason for them.

1. prompt.bgColor from base00 to "default" for transparency to shell
   background.
2. prompt.suggestColor from base0A to base02 because base02 is used as
   fish_color_autosuggestion in base16-fish via the fish module.
3. dialog.bgColor from "default" to base01 because the style guide says
   base01 is for alternate background, and that's what this is.
4. dialog.buttonBgColor from base0C to base02 because base0C resulted in
   white on bright and made button text illegible. Using base02 allows
   the not-selected button background to still be raised off the base01
   background.
5. dialog.buttonFocusFgColor from base0E to base11 because there was
   another light-on-light issue here that made the focused button text
   illegible. This change keeps the base0B background color, but uses
   the darkest possible foreground text to be legible.
6. frame.crumbs.activeColor from base01 to base02 because the style
   guide says base02 should be used for selection background. This
   creates a small distinction between the active crumb and the others
   that didn't previously exist.
7. frame.yaml.(keyColor|colonColor|valueColor) are changed to match yaml
   syntax highlighting from other modules such as bat.
8. frame.logs.indicator.bgColor from base0C to "default" to fix another
   very low contrast problem of having base05 text on a base0C
   background.
9. frame.logs.indicator.toggle(On|Off)Color weren't set before, so I
   made them base0B and base04 because base0B is customarily green or an
   "on" color, and base04 is the alternate text color.

In the frame.status section I changed newColor, modifyColor, addColor,
and errorColor. I left highlightColor, killColor, and completedColor as
they were.

1. newColor is the color of all resources in a normal state. I chose
   base0C as a neutral color for this. Anything would have been better
   than the base08 (typically red) that it was.
2. modifyColor is the color of a resource when it's in some
   transitioning state. I could have made this base09 or base0A, but
   given that base0A is used for many other things I went with base09.
3. addColor is the color of a resource when it first appears. Using
   base0C (typically green) is customary for something like this. It had
   been base09 (typically orange) which has the opposite meaning.
4. errorColor is given to resources in an error state. This is the
   perfect place to use base08 according to the style guide.

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

Reviewed-by: Marc Jakobi <mrcjkb89@outlook.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-19 23:07:57 +01:00
Flameopathic
603fe2dc79
treewide: add Flameopathic as maintainer (#1026) 2025-03-19 22:15:27 +01:00