Niri: Difference between revisions

Atemo C (talk | contribs)
m Minor update to Niri's version and a website link.
DHCP (talk | contribs)
m Fix broken syntax highlighting, update links, prefix shell command with "$"
Line 16: Line 16:


<translate>
<translate>
[https://github.com/YaLTeR/niri Niri] is a scrollable-tiling [[Wayland]] compositor.
[https://github.com/niri-wm/niri Niri] is a scrollable-tiling [[Wayland]] compositor.


== Installation ==
== Installation ==
Line 42: Line 42:


<translate>
<translate>
You might want to start from [https://github.com/YaLTeR/niri/blob/main/resources/default-config.kdl the default configuration file] described at [https://github.com/YaLTeR/niri/wiki/Getting-Started#main-default-hotkeys].
You might want to start from [https://github.com/niri-wm/niri/blob/main/resources/default-config.kdl the default configuration file] described at [https://github.com/niri-wm/niri/wiki/Getting-Started#main-default-hotkeys].


See [https://yalter.github.io/niri/ the wiki] for configuration options for niri.
See [https://yalter.github.io/niri/ the wiki] for configuration options for niri.
Line 48: Line 48:
=== Greetd ===
=== Greetd ===


You can start `niri` with greetd configuration:
You can start niri with greetd configuration:


{{file|/etc/nixos/configuration.nix|nix|3=
{{file|/etc/nixos/configuration.nix|nix|3=
Line 68: Line 68:
systemd.user.services.niri.enableDefaultPath = false;
systemd.user.services.niri.enableDefaultPath = false;


|name=|lang=}}
}}


== Additional Setup ==
== Additional Setup ==


As described in [https://github.com/YaLTeR/niri/wiki/Example-systemd-Setup Example systemd Setup (niri wiki)], you might want to set up some additional services including [[Swayidle]], [[Swaylock]], [[Waybar]], [[Polkit]] and [[Secret Service]] as follows to complement the functionality of a regular window manager. Some of the these settings are also required to enable all the features of [https://github.com/YaLTeR/niri/blob/main/resources/default-config.kdl the default configuration file].
As described in [https://github.com/niri-wm/niri/wiki/Example-systemd-Setup Example systemd Setup (niri wiki)], you might want to set up some additional services including [[Swayidle]], [[Swaylock]], [[Waybar]], [[Polkit]] and [[Secret Service]] as follows to complement the functionality of a regular window manager. Some of the these settings are also required to enable all the features of [https://github.com/niri-wm/niri/blob/main/resources/default-config.kdl the default configuration file].
</translate>
</translate>


Line 111: Line 111:
</translate>
</translate>


{{code|<nowiki>slack --wayland-text-input-version=3</nowiki>}}
<syntaxhighlight lang=console>
$ slack --wayland-text-input-version=3
</syntaxhighlight>


<translate>
<translate>
Line 130: Line 132:
=== XWayland apps not working ===
=== XWayland apps not working ===


There is a optional dependency for niri which is highly recommended to install (you can read [https://github.com/YaLTeR/niri/wiki/Xwayland this] article to learn more about this)
There is a optional dependency for niri which is highly recommended to install (you can read [https://github.com/niri-wm/niri/wiki/Xwayland this] article to learn more about this)
</translate>
</translate>