forge
Explore
Log in

Don't you dare go Hollow

Change all links from YaLTeR/niri to niri-wm/niri

Browse files at this commit

41b5de87692b8262fbdbff7faab93f04ff0be453Ivan MolodetskikhParent: 8d9bc2a
.github/ISSUE_TEMPLATE/config.ymlmodified+2 -2
@@ -1,9 +1,9 @@
11 contact_links:
22 - name: Feature request
3- url: https://github.com/YaLTeR/niri/discussions/new?category=ideas
3+ url: https://github.com/niri-wm/niri/discussions/new?category=ideas
44 about: Ideas for new features and functionality (start a Discussion)
55 - name: Ask a question
6- url: https://github.com/YaLTeR/niri/discussions/new?category=q-a
6+ url: https://github.com/niri-wm/niri/discussions/new?category=q-a
77 about: Question about niri (start a Discussion)
88 - name: Matrix room
99 url: https://matrix.to/#/#niri:matrix.org
CONTRIBUTING.mdmodified+2 -2
@@ -31,7 +31,7 @@ I would really appreciate help with testing and reviewing them.
3131 ### Testing
3232
3333 Pick a pull request you like, then build it and give it a go.
34-The [Developing niri wiki page](https://yalter.github.io/niri/Development:-Developing-niri) has guidance on running niri test builds.
34+The [Developing niri wiki page](https://niri-wm.github.io/niri/Development:-Developing-niri) has guidance on running niri test builds.
3535
3636 Be really thorough with your testing.
3737 We're striving for polished features in niri, so point out any issues and bugs, even small ones like animation jank.
@@ -84,7 +84,7 @@ When creating pull requests, please keep the following in mind.
8484 - When working on bigger features, I usually start with a big messy commit, then gradually split out smaller self-contained changes from it as the code gets into shape.
8585 - [git-rebase.io](https://git-rebase.io/) is a helpful guide for splitting commits and cleaning up history in git.
8686 - When you address a review comment, mark it as resolved.
87-- Remember to [run tests](https://yalter.github.io/niri/Development:-Developing-niri#tests) and format the code with `cargo +nightly fmt --all`.
87+- Remember to [run tests](https://niri-wm.github.io/niri/Development:-Developing-niri#tests) and format the code with `cargo +nightly fmt --all`.
8888 - For new layout actions, remember to add them to the randomized tests. For weird Wayland handling, adding client-server tests in `src/tests/` could be very useful.
8989 - Test your changes by hand thoroughly, including for edge cases and weird interactions. See the Testing section above for some tips.
9090 - Remember to document new config options on the wiki.
Cargo.tomlmodified+1 -1
@@ -11,7 +11,7 @@ description = "A scrollable-tiling Wayland compositor"
1111 authors = ["Ivan Molodetskikh <yalterz@gmail.com>"]
1212 license = "GPL-3.0-or-later"
1313 edition = "2021"
14-repository = "https://github.com/YaLTeR/niri"
14+repository = "https://github.com/niri-wm/niri"
1515 rust-version = "1.85"
1616
1717 [workspace.dependencies]
docs/hooks/shortcodes.pymodified+1 -1
@@ -40,5 +40,5 @@ def _badge_for_version(preposition: str, version: str):
4040 # we might fail to make real links to release notes on other cases too, but for now this is the one i've found
4141 return f"<span class=\"badge\">{preposition}: {version}</span>"
4242 else:
43- path = f"https://github.com/YaLTeR/niri/releases/tag/v{version}"
43+ path = f"https://github.com/niri-wm/niri/releases/tag/v{version}"
4444 return f"<span class=\"badge\">[{preposition}: {version}]({path})</span>"
docs/mkdocs.yamlmodified+2 -2
@@ -1,7 +1,7 @@
11 site_name: niri
22 docs_dir: wiki
3-site_url: https://yalter.github.io/niri
4-repo_url: https://github.com/YaLTeR/niri
3+site_url: https://niri-wm.github.io/niri
4+repo_url: https://github.com/niri-wm/niri
55 edit_uri: edit/main/docs/wiki/
66 use_directory_urls: false
77
docs/wiki/Configuration:-Introduction.mdmodified+1 -1
@@ -19,7 +19,7 @@ You can find documentation for various sections of the config on these wiki page
1919 ### Loading
2020
2121 Niri will load configuration from `$XDG_CONFIG_HOME/niri/config.kdl` or `~/.config/niri/config.kdl`, falling back to `/etc/niri/config.kdl`.
22-If both of these files are missing, niri will create `$XDG_CONFIG_HOME/niri/config.kdl` with the contents of [the default configuration file](https://github.com/YaLTeR/niri/blob/main/resources/default-config.kdl), which are embedded into the niri binary at build time.
22+If both of these files are missing, niri will create `$XDG_CONFIG_HOME/niri/config.kdl` with the contents of [the default configuration file](https://github.com/niri-wm/niri/blob/main/resources/default-config.kdl), which are embedded into the niri binary at build time.
2323 Please use the default configuration file as the starting point for your custom configuration.
2424
2525 The configuration is live-reloaded.
docs/wiki/Development:-Design-Principles.mdmodified+1 -1
@@ -74,7 +74,7 @@ Here are some design considerations for the window layout logic.
7474
7575 ## Default config
7676
77-The [default config](https://github.com/YaLTeR/niri/blob/main/resources/default-config.kdl) is intended to give a familiar, helpful, and not too jarring experience to new niri users.
77+The [default config](https://github.com/niri-wm/niri/blob/main/resources/default-config.kdl) is intended to give a familiar, helpful, and not too jarring experience to new niri users.
7878 Importantly, it is not a "suggested rice config"; we don't want to startle people with full-on rainbow borders and crazy shaders.
7979
8080 Since we're not a complete desktop environment (and don't have the contributor base to become one), we cannot provide a fully integrated experience—distro spins are better positioned to do this.
docs/wiki/Development:-Documenting-niri.mdmodified+2 -2
@@ -1,8 +1,8 @@
11 niri's documentation files are found in `docs/wiki/` and should be viewable and browsable in at least three systems:
22
33 - The GitHub repo's markdown file preview
4-- [The GitHub repo's wiki](https://github.com/YaLTeR/niri/wiki)
5-- [The documentation site](https://yalter.github.io/niri/)
4+- [The GitHub repo's wiki](https://github.com/niri-wm/niri/wiki)
5+- [The documentation site](https://niri-wm.github.io/niri/)
66
77 ## The GitHub repo's wiki
88
docs/wiki/FAQ.mdmodified+5 -5
@@ -66,14 +66,14 @@ I wouldn't be too surprised if, down the road, xwayland-satellite becomes the st
6666
6767 ### Can I enable blur behind semitransparent windows?
6868
69-Not yet, follow/upvote [this issue](https://github.com/YaLTeR/niri/issues/54).
69+Not yet, follow/upvote [this issue](https://github.com/niri-wm/niri/issues/54).
7070
71-There's also [a PR](https://github.com/YaLTeR/niri/pull/1634) adding blur to niri which you can build and run manually.
71+There's also [a PR](https://github.com/niri-wm/niri/pull/1634) adding blur to niri which you can build and run manually.
7272 Keep in mind that it's an experimental implementation that may have problems and performance concerns.
7373
7474 ### Can I make a window sticky / pinned / always on top / appear on all workspaces?
7575
76-Not yet, follow/upvote [this issue](https://github.com/YaLTeR/niri/issues/932).
76+Not yet, follow/upvote [this issue](https://github.com/niri-wm/niri/issues/932).
7777
7878 You can emulate this with a script that uses the niri IPC.
7979 For example, [nirius](https://git.sr.ht/~tsdh/nirius) seems to have this feature (`toggle-follow-mode`).
@@ -82,7 +82,7 @@ For example, [nirius](https://git.sr.ht/~tsdh/nirius) seems to have this feature
8282
8383 Firefox seems to first open the Bitwarden window with a generic Firefox title, and only later change the window title to Bitwarden, so you can't effectively target it with an `open-floating` window rule.
8484
85-You'll need to use a script, for example [this one](https://github.com/YaLTeR/niri/discussions/1599) or other ones (search niri issues and discussions for Bitwarden).
85+You'll need to use a script, for example [this one](https://github.com/niri-wm/niri/discussions/1599) or other ones (search niri issues and discussions for Bitwarden).
8686
8787 ### Can I open a window directly in the current column / in the same column as another window?
8888
@@ -92,7 +92,7 @@ Listen to the event stream for a new window opening, then call an action like `c
9292 Adding this directly to niri is challenging:
9393
9494 - The act of "opening a window directly in some column" by itself is quite involved. Niri will have to compute the exact initial window size provided how other windows in a column would resize in response. This logic exists, but it isn't directly pluggable to the code computing a size for a new window. Then, it'll need to handle all sorts of edge cases like the column disappearing, or new windows getting added to the column, before the target window had a chance to appear.
95-- How do you indicate if a new window should spawn in an existing column (and in which one), as opposed to a new column? Different people seem to have different needs here (including very complex rules based on parent PID, etc.), and it's very unclear design-wise what kind of (simple) setting is actually needed and would be useful. See also https://github.com/YaLTeR/niri/discussions/1125.
95+- How do you indicate if a new window should spawn in an existing column (and in which one), as opposed to a new column? Different people seem to have different needs here (including very complex rules based on parent PID, etc.), and it's very unclear design-wise what kind of (simple) setting is actually needed and would be useful. See also https://github.com/niri-wm/niri/discussions/1125.
9696
9797 ### Why does moving the mouse against a monitor edge focus the next window, but only sometimes?
9898
docs/wiki/Getting-Started.mdmodified+1 -1
@@ -34,7 +34,7 @@ Check the DankMaterialShell's [compositor setup page](https://danklinux.com/docs
3434 ## Slower and more considered start
3535
3636 The easiest way to get niri is to install one of the distribution packages.
37-Here are some of them: [Fedora COPR](https://copr.fedorainfracloud.org/coprs/yalter/niri/) and [nightly COPR](https://copr.fedorainfracloud.org/coprs/yalter/niri-git/) (which I maintain myself), [NixOS Flake](https://github.com/sodiboo/niri-flake), and some more from repology below, including a [pacstall package](https://pacstall.dev/packages/niri/) for Debian-based distros.
37+Here are some of them: [Fedora COPR](https://copr.fedorainfracloud.org/coprs/niri-wm/niri/) and [nightly COPR](https://copr.fedorainfracloud.org/coprs/niri-wm/niri-git/) (which I maintain myself), [NixOS Flake](https://github.com/sodiboo/niri-flake), and some more from repology below, including a [pacstall package](https://pacstall.dev/packages/niri/) for Debian-based distros.
3838 See the [Building](#building) section if you'd like to compile niri yourself and the [Packaging niri](./Packaging-niri.md) page if you want to package niri.
3939
4040 [![Packaging status](https://repology.org/badge/vertical-allrepos/niri.svg)](https://repology.org/project/niri/versions)
docs/wiki/IPC.mdmodified+2 -2
@@ -26,7 +26,7 @@ To get a taste of the events, run `niri msg event-stream`.
2626 Though, this is more of a debug function than anything.
2727 You can get raw events from `niri msg --json event-stream`, or by connecting to the niri socket and requesting an event stream manually.
2828
29-You can find the full list of events along with documentation [here](https://yalter.github.io/niri/niri_ipc/enum.Event.html).
29+You can find the full list of events along with documentation [here](https://niri-wm.github.io/niri/niri_ipc/enum.Event.html).
3030
3131 ### Programmatic Access
3232
@@ -57,7 +57,7 @@ $ env NIRI_SOCKET=./temp.sock niri msg action focus-workspace 2
5757 {"Action":{"FocusWorkspace":{"reference":{"Index":2}}}}
5858 ```
5959
60-You can find all available requests and response types in the [niri-ipc sub-crate documentation](https://yalter.github.io/niri/niri_ipc/).
60+You can find all available requests and response types in the [niri-ipc sub-crate documentation](https://niri-wm.github.io/niri/niri_ipc/).
6161
6262 ### Backwards Compatibility
6363
docs/wiki/Integrating-niri.mdmodified+2 -2
@@ -4,7 +4,7 @@ First, for creating a niri package, see the [Packaging](./Packaging-niri.md) pag
44 ### Configuration
55
66 Niri will load configuration from `$XDG_CONFIG_HOME/niri/config.kdl` or `~/.config/niri/config.kdl`, falling back to `/etc/niri/config.kdl`.
7-If both of these files are missing, niri will create `$XDG_CONFIG_HOME/niri/config.kdl` with the contents of [the default configuration file](https://github.com/YaLTeR/niri/blob/main/resources/default-config.kdl), which are embedded into the niri binary at build time.
7+If both of these files are missing, niri will create `$XDG_CONFIG_HOME/niri/config.kdl` with the contents of [the default configuration file](https://github.com/niri-wm/niri/blob/main/resources/default-config.kdl), which are embedded into the niri binary at build time.
88
99 This means that you can customize your distribution defaults by creating `/etc/niri/config.kdl`.
1010 When this file is present, niri *will not* automatically create a config at `~/.config/niri/`, so you'll need to direct your users how to do it themselves.
@@ -36,7 +36,7 @@ Make sure your system installer sets the keyboard layout via systemd-localed, an
3636 ### Autostart
3737
3838 Niri works with the normal systemd autostart.
39-The default [niri.service](https://github.com/YaLTeR/niri/blob/main/resources/niri.service) brings up `graphical-session.target` as well as `xdg-desktop-autostart.target`.
39+The default [niri.service](https://github.com/niri-wm/niri/blob/main/resources/niri.service) brings up `graphical-session.target` as well as `xdg-desktop-autostart.target`.
4040
4141 To make a program run at niri startup without editing the niri config, you can either link its .desktop to `~/.config/autostart/`, or use a .service file with `WantedBy=graphical-session.target`.
4242 See the [example systemd setup](./Example-systemd-Setup.md) page for some examples.
docs/wiki/Packaging-niri.mdmodified+1 -1
@@ -47,7 +47,7 @@ Set them as automatically-installed optional dependencies, if possible.
4747 Working hardware acceleration is required for running niri.
4848 - Some notification daemon like `mako`, generally required for apps to work correctly.
4949
50-Finally, you may want to auto-install some of the applications bound in niri's [default configuration file](https://github.com/YaLTeR/niri/blob/main/resources/default-config.kdl) (search for `spawn`), such as `alacritty` and `fuzzel`.
50+Finally, you may want to auto-install some of the applications bound in niri's [default configuration file](https://github.com/niri-wm/niri/blob/main/resources/default-config.kdl) (search for `spawn`), such as `alacritty` and `fuzzel`.
5151
5252 ### Running tests
5353
docs/wiki/README.mdmodified+2 -2
@@ -4,9 +4,9 @@ Feel free to look through usage and [Getting started](./Getting-Started.md).
44 If you're looking for ways to configure niri, check out the [introduction to configuration](./Configuration:-Introduction.md).
55
66 If you'd like to help with niri, there are plenty of both coding- and non-coding-related ways to do so.
7-See [CONTRIBUTING.md](https://github.com/YaLTeR/niri/blob/main/CONTRIBUTING.md) for an overview.
7+See [CONTRIBUTING.md](https://github.com/niri-wm/niri/blob/main/CONTRIBUTING.md) for an overview.
88
9-If you're not already here, check out our new wiki website! https://yalter.github.io/niri/
9+If you're not already here, check out our new wiki website! https://niri-wm.github.io/niri/
1010
1111 ---
1212
docs/wiki/Xwayland.mdmodified+1 -1
@@ -47,7 +47,7 @@ It will open as a new window.
4747
4848 This method involves invoking XWayland directly and running it as its own window, it also requires an extra X11 window manager running inside it.
4949
50-![Xwayland running in rootful mode.](https://github.com/YaLTeR/niri/assets/1794388/b64e96c4-a0bb-4316-94a0-ff445d4c7da7)
50+![Xwayland running in rootful mode.](https://github.com/niri-wm/niri/assets/1794388/b64e96c4-a0bb-4316-94a0-ff445d4c7da7)
5151
5252 Here's how you do it:
5353
flake.nixmodified+2 -2
@@ -107,7 +107,7 @@
107107 buildNoDefaultFeatures = true;
108108
109109 # ever since this commit:
110- # https://github.com/YaLTeR/niri/commit/771ea1e81557ffe7af9cbdbec161601575b64d81
110+ # https://github.com/niri-wm/niri/commit/771ea1e81557ffe7af9cbdbec161601575b64d81
111111 # niri now runs an actual instance of the real compositor (with a mock backend) during tests
112112 # and thus creates a real socket file in the runtime dir.
113113 # this is fine for our build, we just need to make sure it has a directory to write to.
@@ -157,7 +157,7 @@
157157
158158 meta = {
159159 description = "Scrollable-tiling Wayland compositor";
160- homepage = "https://github.com/YaLTeR/niri";
160+ homepage = "https://github.com/niri-wm/niri";
161161 license = lib.licenses.gpl3Only;
162162 mainProgram = "niri";
163163 platforms = lib.platforms.linux;
niri-config/src/binds.rsmodified+1 -1
@@ -1034,7 +1034,7 @@ impl FromStr for Key {
10341034 // [0]: https://github.com/xkbcommon/libxkbcommon/blob/45a118d5325b051343b4b174f60c1434196fa7d4/src/keysym.c#L276
10351035 // [1]: https://docs.rs/xkbcommon/latest/xkbcommon/xkb/keysyms/index.html#:~:text=KEY%5FXF86ScreenSaver
10361036 //
1037- // See https://github.com/YaLTeR/niri/issues/1969
1037+ // See https://github.com/niri-wm/niri/issues/1969
10381038 if keysym == Keysym::XF86_Screensaver {
10391039 keysym = keysym_from_name(key, KEYSYM_NO_FLAGS);
10401040 if keysym.raw() == KEY_NoSymbol {
niri-ipc/README.mdmodified+1 -1
@@ -1,6 +1,6 @@
11 # niri-ipc
22
3-Types and helpers for interfacing with the [niri](https://github.com/YaLTeR/niri) Wayland compositor.
3+Types and helpers for interfacing with the [niri](https://github.com/niri-wm/niri) Wayland compositor.
44
55 ## Backwards compatibility
66
niri.spec.rpkgmodified+1 -1
@@ -60,7 +60,7 @@ SourceLicense: GPL-3.0-or-later
6060 License: ((MIT OR Apache-2.0) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0) AND (Apache-2.0 AND MIT) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT OR Unlicense) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-3-Clause OR MIT OR Apache-2.0) AND (GPL-3.0-or-later) AND (ISC) AND (MIT) AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND (MPL-2.0) AND (Unicode-3.0) AND (Unlicense OR MIT) AND (Zlib) AND (Zlib OR Apache-2.0 OR MIT)
6161 # LICENSE.dependencies contains a full license breakdown
6262
63-URL: https://github.com/YaLTeR/niri
63+URL: https://github.com/niri-wm/niri
6464 VCS: {{{ git_dir_vcs }}}
6565 Source: {{{ git_dir_pack }}}
6666
resources/default-config.kdlmodified+6 -6
@@ -1,11 +1,11 @@
11 // This config is in the KDL format: https://kdl.dev
22 // "/-" comments out the following node.
33 // Check the wiki for a full description of the configuration:
4-// https://yalter.github.io/niri/Configuration:-Introduction
4+// https://niri-wm.github.io/niri/Configuration:-Introduction
55
66 // Input device configuration.
77 // Find the full list of options on the wiki:
8-// https://yalter.github.io/niri/Configuration:-Input
8+// https://niri-wm.github.io/niri/Configuration:-Input
99 input {
1010 keyboard {
1111 xkb {
@@ -73,7 +73,7 @@ input {
7373 // by running `niri msg outputs` while inside a niri instance.
7474 // The built-in laptop monitor is usually called "eDP-1".
7575 // Find more information on the wiki:
76-// https://yalter.github.io/niri/Configuration:-Outputs
76+// https://niri-wm.github.io/niri/Configuration:-Outputs
7777 // Remember to uncomment the node by removing "/-"!
7878 /-output "eDP-1" {
7979 // Uncomment this line to disable this output.
@@ -108,7 +108,7 @@ input {
108108
109109 // Settings that influence how windows are positioned and sized.
110110 // Find more information on the wiki:
111-// https://yalter.github.io/niri/Configuration:-Layout
111+// https://niri-wm.github.io/niri/Configuration:-Layout
112112 layout {
113113 // Set gaps around windows in logical pixels.
114114 gaps 16
@@ -295,7 +295,7 @@ screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
295295
296296 // Animation settings.
297297 // The wiki explains how to configure individual animations:
298-// https://yalter.github.io/niri/Configuration:-Animations
298+// https://niri-wm.github.io/niri/Configuration:-Animations
299299 animations {
300300 // Uncomment to turn off all animations.
301301 // off
@@ -306,7 +306,7 @@ animations {
306306
307307 // Window rules let you adjust behavior for individual windows.
308308 // Find more information on the wiki:
309-// https://yalter.github.io/niri/Configuration:-Window-Rules
309+// https://niri-wm.github.io/niri/Configuration:-Window-Rules
310310
311311 // Work around WezTerm's initial configure bug
312312 // by setting an empty default-column-width.
src/backend/tty.rsmodified+3 -3
@@ -649,7 +649,7 @@ impl Tty {
649649 let device = self.devices.get_mut(&node).unwrap();
650650
651651 // Someone on an old device hit what seems to be a driver bug without this:
652- // https://github.com/YaLTeR/niri/issues/3048
652+ // https://github.com/niri-wm/niri/issues/3048
653653 let force_disable = self
654654 .config
655655 .borrow()
@@ -1677,8 +1677,8 @@ impl Tty {
16771677 // This is an error!() because it shouldn't happen, but on some systems it somehow
16781678 // does. Kernel sending rogue vblank events?
16791679 //
1680- // https://github.com/YaLTeR/niri/issues/556
1681- // https://github.com/YaLTeR/niri/issues/615
1680+ // https://github.com/niri-wm/niri/issues/556
1681+ // https://github.com/niri-wm/niri/issues/615
16821682 error!(
16831683 "unexpected redraw state for output {name} (should be WaitingForVBlank); \
16841684 can happen when resuming from sleep or powering on monitors: {state:?}"
src/handlers/layer_shell.rsmodified+1 -1
@@ -155,7 +155,7 @@ impl State {
155155 // 2) Same-layer exclusive layer surfaces are already preferred to on-demand surfaces in
156156 // update_keyboard_focus(), so we don't need to check for that here.
157157 //
158- // https://github.com/YaLTeR/niri/issues/641
158+ // https://github.com/niri-wm/niri/issues/641
159159 let on_demand = layer.cached_state().keyboard_interactivity
160160 == wlr_layer::KeyboardInteractivity::OnDemand;
161161 if was_unmapped && on_demand {
src/niri.rsmodified+1 -1
@@ -311,7 +311,7 @@ pub struct Niri {
311311 // verified that a black single-pixel-buffer background lets the foreground surface to be
312312 // unredirected.
313313 //
314- // https://github.com/YaLTeR/niri/issues/619
314+ // https://github.com/niri-wm/niri/issues/619
315315 #[cfg(test)]
316316 pub single_pixel_buffer_state: SinglePixelBufferState,
317317