mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
ci/wiki: check that (local) links are well formed (#1282)
* add check-links step, fix some links * don't depend on build right now * fix fragment * reintroduce dependency for build * don't only check links on push to main * maybe this is a more sensible dependency tree for this stuff * change commented suggestions, try v2.0.2 for action * describe why we're on v2.0.2 * revert to %E2%80%90 (works with lychee anyway)
This commit is contained in:
@@ -228,9 +228,21 @@ jobs:
|
|||||||
- run: nix flake check
|
- run: nix flake check
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
|
check-links:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
show-progress: false
|
||||||
|
- uses: lycheeverse/lychee-action@v2.0.2 # later versions break fragment checks. don't bump until this is fixed: https://github.com/lycheeverse/lychee/issues/1574
|
||||||
|
with:
|
||||||
|
args: --offline --include-fragments 'wiki/*.md'
|
||||||
|
|
||||||
publish-wiki:
|
publish-wiki:
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
needs: build
|
needs:
|
||||||
|
- build
|
||||||
|
- check-links
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ Apparently, VSCode currently unconditionally queries the X server for a keymap.
|
|||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> Both of these issues seem to be fixed in the nightly build of WezTerm.
|
> Both of these issues seem to be fixed in the nightly build of WezTerm.
|
||||||
|
|
||||||
There's [a bug](https://github.com/wez/wezterm/issues/4708) in WezTerm that it waits for a zero-sized Wayland configure event, so its window never shows up in niri. To work around it, put this window rule in the niri config (included in the default config):
|
There's [a bug](https://github.com/wezterm/wezterm/issues/4708) in WezTerm that it waits for a zero-sized Wayland configure event, so its window never shows up in niri. To work around it, put this window rule in the niri config (included in the default config):
|
||||||
|
|
||||||
```kdl
|
```kdl
|
||||||
window-rule {
|
window-rule {
|
||||||
@@ -20,7 +20,7 @@ window-rule {
|
|||||||
|
|
||||||
This empty default column width lets WezTerm pick its own initial width which makes it show up properly.
|
This empty default column width lets WezTerm pick its own initial width which makes it show up properly.
|
||||||
|
|
||||||
There's [another bug](https://github.com/wez/wezterm/issues/6472) in WezTerm that causes it to choose a wrong size when it's in a tiled state, and prevent resizing it.
|
There's [another bug](https://github.com/wezterm/wezterm/issues/6472) in WezTerm that causes it to choose a wrong size when it's in a tiled state, and prevent resizing it.
|
||||||
Niri puts windows in the tiled state with [`prefer-no-csd`](./Configuration:-Miscellaneous.md#prefer-no-csd).
|
Niri puts windows in the tiled state with [`prefer-no-csd`](./Configuration:-Miscellaneous.md#prefer-no-csd).
|
||||||
So if you hit this problem, comment out `prefer-no-csd` in the niri config and restart WezTerm.
|
So if you hit this problem, comment out `prefer-no-csd` in the niri config and restart WezTerm.
|
||||||
|
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ Actions for taking screenshots.
|
|||||||
- `screenshot`: opens the built-in interactive screenshot UI.
|
- `screenshot`: opens the built-in interactive screenshot UI.
|
||||||
- `screenshot-screen`, `screenshow-window`: takes a screenshot of the focused screen or window respectively.
|
- `screenshot-screen`, `screenshow-window`: takes a screenshot of the focused screen or window respectively.
|
||||||
|
|
||||||
The screenshot is both stored to the clipboard and saved to disk, according to the [`screenshot-path` option](./Configuration:-Miscellaneous#screenshot-path).
|
The screenshot is both stored to the clipboard and saved to disk, according to the [`screenshot-path` option](./Configuration:-Miscellaneous.md#screenshot-path).
|
||||||
|
|
||||||
<sup>Since: 25.02</sup> You can disable saving to disk for a specific bind with the `write-to-disk=false` property:
|
<sup>Since: 25.02</sup> You can disable saving to disk for a specific bind with the `write-to-disk=false` property:
|
||||||
|
|
||||||
|
|||||||
@@ -657,7 +657,7 @@ window-rule {
|
|||||||
|
|
||||||
Set a scroll factor for all scroll events sent to a window.
|
Set a scroll factor for all scroll events sent to a window.
|
||||||
|
|
||||||
This will be multiplied with the scroll factor set for your input device in the [input section](/wiki/Configuration:-Input.md#pointing-devices).
|
This will be multiplied with the scroll factor set for your input device in the [input section](./Configuration:-Input.md#pointing-devices).
|
||||||
|
|
||||||
```kdl
|
```kdl
|
||||||
// Make scrolling in Firefox a bit slower.
|
// Make scrolling in Firefox a bit slower.
|
||||||
|
|||||||
Reference in New Issue
Block a user