Skip to content
Piotr Miller edited this page Dec 14, 2021 · 33 revisions

Packages

Arch Linux

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

Dependencies

  • python (python3)
  • python-gobject
  • gtk3
  • gtk-layer-shell
  • python-setuptools
  • python-i3ipc: for use with sway WM
  • wlr-randr: for use with other wlroots-based Wayland compositors

The Controls module depends on:

  • light: for the brightness slider
  • pamixer: for the volume slider
  • python-pybluez (python3-bluez / py3-bluez): for bluetooth status
  • bluez-utils (bluez): for bluetooth status (since v0.5.2)
  • python-psutil: for battery status
  • python-netifaces: for net interface status
  • libpulse: for audio output switcher (should be installed as a pamixer dependency)

Note: for now the bluetooth status won't work on systemd-less distributions.

The Playerctl module depends on:

  • playerctl

To install

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

To uninstall

sudo ./uninstall.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.

Clone this wiki locally