diff --git a/README.md b/README.md index 82b519e..ace2e76 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,40 @@ # WorkPlace Automatically change settings when using a dock + +## Setup Instructions +Install required tools: +```console +$ sudo apt update +$ sudo apt install grep gawk sed findutils procps usbutils libglib2.0-bin +``` +```console +$ git clone https://github.com/ritave/xeventbind.git +$ cd xeventbind +$ make +$ sudo mv xeventbind /usr/local/bin/xeventbind +$ cd .. +``` + +Clone git repository: +```console +$ git clone https://git.tjdev.de/DrMaxNix/workplace.git +$ cd workplace +``` + +Add script to path: +```console +$ ln -s $PWD/workplace $HOME/.local/bin/workplace +``` + +Create and edit config file: +```console +$ mkdir -p ~/.config +$ cp workplace.template.ini ~/.config/workplace.ini +$ nano ~/.config/workplace.ini +``` + +Autostart user daemon: +```console +$ mkdir -p ~/.config/autostart +$ cp $PWD/workplace.desktop $HOME/.config/autostart/workplace.desktop +```