コンテンツにスキップ

Nwg-shell

提供: ArchWiki
2024年8月25日 (日) 20:16時点におけるKusanaginoturugi (トーク | 投稿記録)による版 (翻訳)

nwg-shell プロジェクト [1] は、Sway Wayland コンポジタのための一貫した GTK ベースのユーザーインターフェースを作成することを目的としています。

バージョン 0.5.0 以降 [2]Hyprland もサポートされています。

ノート Hyprland のサポートは、シェルへの追加機能であり、単独での機能ではありません。

インストール

nwg-shell のコンポーネントは、nwg-shell (メタパッケージ)を使用してインストールできます。

ノート Hyprland のサポートには、いくつかの追加パッケージが必要です。nwg-shell パッケージのオプション依存関係のリストを確認してください。
ノート nwg-shell のほとんどのコンポーネントは、単独でもインストールして使用できます。コンポーネントの完全なリストについては、シェルコンポーネント章を参照してください。

nwg-shell-installer スクリプト(設定章を参照)は、キー設定を適切に行うために、実行前に ウェブブラウザファイルマネージャ、および テキストエディタ がインストールされていることを期待しています。推奨されるものは firefoxthunar、および mousepad ですが、他のものでも構いません。

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 like so:

nwg-shell-installer -w (for Sway)

nwg-shell-installer -w -hypr (for Hyprland)

ノート 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 mousepad but other ones can be installed instead.
警告 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).

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.
  • azote — Wallpaper manager for wlroots-based compositors and some other WMs.
https://github.com/nwg-piotr/azote || azote
  • gopsuinfo — A gopsutil-based command to display system usage info as text in panels like Waybar or icon/text in tint2 and nwg-panel executors.
https://github.com/nwg-piotr/gopsuinfo || gopsuinfo
  • nwg-bar — GTK3-based button bar for wlroots-based compositors.
https://github.com/nwg-piotr/nwg-bar || nwg-bar
  • nwg-clipman — a GTK3-based GUI for cliphist.
https://github.com/nwg-piotr/nwg-clipman || nwg-clipman
  • nwg-displays — Output management utility for sway and Hyprland.
https://github.com/nwg-piotr/nwg-displays || nwg-displays
  • nwg-dock — GTK3-based dock for Sway.
https://github.com/nwg-piotr/nwg-dock || nwg-dock
  • nwg-dock-hyprland — GTK3-based dock for Hyprland.
https://github.com/nwg-piotr/nwg-dock-hyprland || nwg-dock-hyprland
  • nwg-drawer — Application drawer for wlroots-based Wayland compositors.
https://github.com/nwg-piotr/nwg-drawer || nwg-drawer
  • nwg-hello — GTK3-based greeter for greetd written in python.
https://github.com/nwg-piotr/nwg-hello || nwg-hello
  • nwg-icon-picker — GTK icon chooser with a text search option.
https://github.com/nwg-piotr/nwg-icon-picker || nwg-icon-picker
  • nwg-look — GTK3 settings editor adapted to work in the wlroots environment.
https://github.com/nwg-piotr/nwg-look || nwg-look
  • nwg-menu — MenuStart plugin to nwg-panel, also capable of working standalone.
https://github.com/nwg-piotr/nwg-menu || nwg-menu
  • nwg-panel — GTK3-based panel for sway and Hyprland Wayland compositors.
https://github.com/nwg-piotr/nwg-panel || nwg-panel
  • nwg-readme-browser — WebKitGTK-based README file browser.
https://github.com/nwg-piotr/nwg-readme-browser || nwg-readme-browser
  • nwg-shell — Installer & meta-package for the nwg-shell project: a GTK3-based shell for Sway and Hyprland Wayland compositors.
https://github.com/nwg-piotr/nwg-shell || nwg-shell
  • nwg-shell-config — nwg-shell configuration utility.
https://github.com/nwg-piotr/nwg-shell-config || nwg-shell-config
  • nwg-shell-wallpapers — Selection of wallpapers contributed to the nwg-shell project.
https://github.com/nwg-piotr/nwg-shell-wallpapers || nwg-shell-wallpapers