Skip to content
Piotr Miller edited this page Feb 23, 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
  • alsa, alsa-utils, python-pyalsa: for the volume slider (the latter is not necessary, but recommended if available)
  • bluez, bluez-utils: for bluetooth status
  • python-psutil: for battery status
  • python-netifaces: for net interface status

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