update readme

This commit is contained in:
Flummi 2024-06-07 02:08:19 +02:00
parent 6e47175625
commit c1dae41baa
Signed by: Flummi
GPG Key ID: AA2AEF822A6F4817

View File

@ -2,25 +2,25 @@
## Requirements ## Requirements
- [HeadsetControl](https://github.com/Sapd/HeadsetControl) - [HeadsetControl](https://github.com/Sapd/HeadsetControl) v3.0.0 or newer
## Install ## Install
``` ```
git clone https://git.lat/Flummi/headsetcontrol-battery-widget.git git clone https://git.lat/Flummi/headsetcontrol-battery-widget.git
cd headsetcontrol-battery-widget cd headsetcontrol-battery-widget
kpackagetool5 -t Plasma/Applet --install ./package kpackagetool6 -t Plasma/Applet --install ./package
``` ```
## Uninstall ## Uninstall
``` ```
kpackagetool5 -t Plasma/Applet --remove org.kde.plasma.headsetcontrol-battery-widget kpackagetool6 -t Plasma/Applet --remove org.kde.plasma.headsetcontrol-battery-widget
``` ```
## Development ## Development
``` ```
cd headsetcontrol-battery-widget cd headsetcontrol-battery-widget
kpackagetool5 -t Plasma/Applet --upgrade ./package ; systemctl --user restart plasma-plasmashell kpackagetool6 -t Plasma/Applet --upgrade ./package ; systemctl --user restart plasma-plasmashell
``` ```