Skip to content
Piotr Miller edited this page Jun 19, 2022 · 33 revisions

Packages

Arch Linux

Install nwg-panel from AUR. If you'd like to run nwg-panel on a Wayland compositor other than sway, take a look at optional dependencies.

Dependencies

  • bluez-utils
  • gtk-layer-shell
  • gtk3
  • light or brightnessctl
  • nwg-icon-picker [AUR]
  • pamixer
  • playerctl
  • python (python3)
  • python-dasbus
  • python-gobject
  • python-i3ipc
  • python-netifaces
  • python-psutil
  • python-requests
  • python-setuptools (make)
  • python-wheel (make)
  • swaync (optional) – for Sway Notification Center support
  • wlr-randr (optional) – for non-sway Wayland WMs support

To install

git clone https://github.com/nwg-piotr/nwg-panel.git
cd nwg-panel
sudo ./install.sh

To start

Add to autostart in your sway config file:

exec_always nwg-panel

In case you use the autotiling script on selected workspaces (-w | --workspaces argument), remember to start autotiling before the panel. This way you'll be able to see which workspaces autotiling is active on in the Sway Taskbar.

This will start the panel with settings from the default config file and styling from the style.css file.

Use -c or --config argument to specify a different config file name.

Use -s or --style argument to specify a different css file name.

Use -r or --restore argument to restore default config and style.css.

Running as a systemd service (since v0.7)

Instead of auto-starting the panel, you may use the systemd service:

systemctl --user enable nwg-panel.service

DO NOT USE THIS WITH nwg-shell, as it doesn't pass necessary arguments.

Clone this wiki locally