↑ arvau

ArchWiki / Nwg-shell

ja:Nwg-shell The nwg-shell project aims to create a consistent, GTK based user interface for the Sway Wayland Compositor.

It also supports Hyprland since version 0.5.0 https://github.com/nwg-piotr/nwg-shell/releases/tag/v0.5.0.

Hyprland support is an addition to the shell, not a standalone feature.

Installation

The nwg-shell components can be installed with the nwg-shell (meta) package.

* Support for Hyprland requires a few additional packages. Check the list of optional dependencies for the nwg-shell package. * Most components of the nwg-shell can also be installed and used standalone. See #Shell components for a full list of components.

The nwg-shell-installer script (see #Configuration) also expects a web browser, a file manager and a text editor to be installed before being run in order to setup keybindings properly. The suggested ones are firefox, thunar and typobuster but other ones can be installed instead.

Configuration

The nwg-shell package provides the nwg-shell-installer script which can be run to interactively generate a default configuration for every nwg-shell components as well as a custom configuration for Sway/Hyprland.

The nwg-shell-installer script is made to be run on fresh installations as it will restore/overwrite configurations and style sheets of each nwg-shell components as well as overwrite the Sway (or Hyprland) main configuration (a backup of the main Sway/Hyprland configuration file is created by the script beforehand).

For Sway, run:

$ nwg-shell-installer -a

For Sway and Hyprland:

$ nwg-shell-installer -a -hypr

The nwg-shell-installer script expects a web browser, a file manager and a text editor to be installed before being run in order to setup keybindings properly. The suggested ones are firefox, thunar and typobuster but other ones can be installed instead.

Alternatively, one can modify each nwg-shellcomponents' configurations and style sheets graphically or by modifying the related files under ~/.config/component_name.

Finally, one can enable the greetd.service (so greetd will be started at boot) and set up the nwg-hello greeter.

Shell components

The nwg-shell package provides the following nwg-shell components:

Most of these components can be installed and used standalone.