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

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
  • upower or acpi: 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

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