📝 install instructions

This commit is contained in:
DrMaxNix 2024-05-01 19:49:02 +02:00
parent 94478aba82
commit bb402139d8

View File

@ -1,2 +1,40 @@
# WorkPlace # WorkPlace
Automatically change settings when using a dock 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
```