Automatically change settings when using a dock
Go to file
DrMaxNix 77bc8a0da7 🔖 bump version to v1.1.1 2024-05-11 23:44:20 +02:00
lib use snore for sleeping 2024-05-11 23:44:11 +02:00
.editorconfig 🔧 add editorconfig 2024-04-24 16:40:38 +02:00
LICENSE 📄 add license 2024-04-24 16:40:30 +02:00
README.md new set command: pam fprintd 2024-05-06 13:37:46 +02:00
VERSION 🔖 bump version to v1.1.1 2024-05-11 23:44:20 +02:00
workplace use snore for sleeping 2024-05-11 23:44:11 +02:00
workplace.desktop 📝 improve install instructions 2024-05-01 19:57:45 +02:00
workplace.template.ini new set command: pam fprintd 2024-05-06 13:37:46 +02:00

README.md

WorkPlace

Automatically change settings when using a dock

Setup Instructions

Install required tools:

$ sudo apt update
$ sudo apt install grep gawk sed findutils procps usbutils libglib2.0-bin make gcc libx11-dev
$ git clone https://github.com/ritave/xeventbind.git
$ cd xeventbind
$ make
$ sudo mv xeventbind /usr/local/bin/xeventbind
$ cd ..

Clone git repository:

$ git clone https://git.tjdev.de/DrMaxNix/workplace.git
$ cd workplace

Add script to path:

$ mkdir -p ~/.local/bin
$ ln -s $PWD/workplace $HOME/.local/bin/workplace

Create and edit config file:

$ mkdir -p ~/.config
$ cp workplace.template.ini ~/.config/workplace.ini
$ nano ~/.config/workplace.ini

Autostart user daemon:

$ mkdir -p ~/.config/autostart
$ cp workplace.desktop ~/.config/autostart/workplace.desktop

(Optional) sudo rules for pam.fprintd:

$ sudo visudo
	user ALL=(root) NOPASSWD: /usr/sbin/pam-auth-update --enable fprintd
	user ALL=(root) NOPASSWD: /usr/sbin/pam-auth-update --disable fprintd