Automatically change settings when using a dock
Go to file
2024-05-31 23:01:16 +02:00
lib remove unused tool "gawk" 2024-05-31 23:01:16 +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 remove unused tool "gawk" 2024-05-31 23:01:16 +02:00
VERSION 🔖 bump version to v1.2.0 2024-05-31 22:57:46 +02:00
workplace allow multiple run commands (fix #1) 2024-05-31 22:55:21 +02:00
workplace.desktop 📝 improve install instructions 2024-05-01 19:57:45 +02:00
workplace.template.ini improve command exec order 2024-05-31 22:57:29 +02:00

WorkPlace

Automatically change settings when using a dock

Setup Instructions

Install required tools:

$ sudo apt update
$ sudo apt install grep 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