Skip to content

Commit b48725a

Browse files
committed
feat: force render
1 parent 6e8fd15 commit b48725a

File tree

112 files changed

+7056
-2634
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+7056
-2634
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ assignees: ''
1010
<!-- Please describe the issue here at the top, then fill in the system information below. -->
1111

1212
<!-- Attaching your full niri config can help diagnose the problem. -->
13+
<details><summary>Config</summary>
14+
15+
```kdl
16+
insert config here
17+
```
18+
19+
</details>
1320

1421
<!--
1522
If you have a problem with a specific app, please verify that it is running on Wayland, rather than X11. An easy way is to run xeyes and mouse over the app: xeyes will be able to "see" only X11 windows.

.github/dependabot.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ updates:
1313
update-types:
1414
- "minor"
1515
- "patch"
16+
cooldown:
17+
default-days: 7
1618

1719
- package-ecosystem: "github-actions"
1820
directory: "/"
1921
schedule:
2022
interval: "weekly"
21-
ignore:
22-
- dependency-name: "Andrew-Chen-Wang/github-wiki-action"
23+
cooldown:
24+
default-days: 7

.github/workflows/ci.yml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jobs:
181181
sudo apt-get update -y
182182
sudo apt-get install -y ${{ env.DEPS_APT }} libadwaita-1-dev
183183
184-
- uses: dtolnay/rust-toolchain@1.80.1
184+
- uses: dtolnay/rust-toolchain@1.85.0
185185

186186
- uses: Swatinem/rust-cache@v2
187187

@@ -255,32 +255,26 @@ jobs:
255255
with:
256256
show-progress: false
257257

258-
# Required for the rust-cache action to work.
259-
- uses: dtolnay/rust-toolchain@stable
260-
261-
# FIXME: doesn't seem to cache the builds, only the downloads for some unknown reason.
262-
- uses: Swatinem/rust-cache@v2
263-
with:
264-
cache-all-crates: true
265-
266258
# Remove man-db triggers to speed up Ubuntu upgrade by a minute or two during vmactions/freebsd-vm action run.
267259
- run: |
268260
sudo rm /var/lib/dpkg/info/man-db.*
269261
270262
- name: Build
271-
uses: vmactions/freebsd-vm@966989c456d41351f095a421f60e71342d3bce41 # v1.2.1
263+
uses: vmactions/freebsd-vm@v1
272264
with:
265+
release: "15.0"
266+
copyback: false
273267
prepare: |
274268
pkg update -f
275269
pkg install -y ${{ env.DEPS_PKG }}
276270
run: |
277-
curl -o patch-pipewire_init 'https://cgit.freebsd.org/ports/plain/x11-wm/niri/files/patch-pipewire_init?id=f3f7e555b06d9a87d63c047ce3e82e936a11f2fe'
271+
curl -o patch-pipewire_init 'https://cgit.freebsd.org/ports/plain/x11-wm/niri/files/patch-pipewire_init?id=cadf6784d264cf780b6e0ad59bd15b831d36cf80'
278272
279273
export CARGO_HOME="$PWD/cargo-home"
280274
281275
cargo fetch
282276
283-
( cd $CARGO_HOME/git/checkouts/pipewire-rs-*/*/; patch -p2 < $CARGO_HOME/../patch-pipewire_init; )
277+
( cd $CARGO_HOME/registry/src/index.crates.io-*/; patch -p1 < $CARGO_HOME/../patch-pipewire_init; )
284278
285279
cargo build \
286280
--offline \
@@ -289,16 +283,18 @@ jobs:
289283
nix:
290284
runs-on: ubuntu-24.04
291285
steps:
286+
- name: Free Disk Space (Ubuntu)
287+
uses: jlumbroso/[email protected]
288+
with:
289+
dotnet: false
290+
large-packages: false
291+
292292
- uses: actions/checkout@v4
293293
with:
294294
show-progress: false
295295

296-
- name: Check flake inputs
297-
uses: DeterminateSystems/flake-checker-action@v4
298-
continue-on-error: true
299-
300296
- name: Install Nix
301-
uses: DeterminateSystems/nix-installer-action@v3
297+
uses: cachix/install-nix-action@v31
302298
continue-on-error: true
303299

304300
- run: nix flake check

CONTRIBUTING.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,24 @@ When creating pull requests, please keep the following in mind.
9090
- Remember to document new config options on the wiki.
9191
- When opening a pull request, ensure "Allow edits from maintainers" is enabled, so I can make final tweaks before merging.
9292

93+
### How to get your pull request reviewed more quickly
94+
95+
- Make it small and self-contained. Avoid mixing several unrelated changes in one PR.
96+
- Split the PR into small and self-contained commits. This makes it much easier to review.
97+
- Discuss new features, options, or behavior changes beforehand; make sure there's consensus about the design.
98+
- When creating the pull request, clearly write what it does, what problem it solves, how to test it.
99+
- Follow the rest of the advice from this document.
100+
101+
## AI contributions
102+
103+
If you use LLMs for your contribution (issue, comment, pull request), then it is *your job* to check and clean up its output, just like with any other tool.
104+
*You* have to spend the time doing this.
105+
Particularly:
106+
107+
- If I can tell that a pull request is mostly LLM-generated, then very likely this pull request will take *significantly more time and effort* than usual to review and finish. This is based on my prior review experience. Therefore, I'm not interested in such pull requests—there's always plenty of human-written ones which take priority.
108+
- When using an LLM to prepare an issue, the text usually has a lot of unnecessary wording and irrelevant details. Anyone looking at such an issue will quickly lose interest in reading through it (myself certainly). Clean up the text and keep only those details that actually matter.
109+
- When using an LLM to comment on an issue, *you* have to verify that the comment makes sense, contributes something useful, and doesn't have unnecessary repetition.
110+
93111

94112
[cosmic-comp]: https://github.com/pop-os/cosmic-comp
95113
[anvil]: https://github.com/Smithay/smithay/tree/master/anvil

0 commit comments

Comments
 (0)