https://github.com/abiosoft/autoplank
automatically move Plank to the active monitor
https://github.com/abiosoft/autoplank
elementary-os plank-dock
Last synced: 3 months ago
JSON representation
automatically move Plank to the active monitor
- Host: GitHub
- URL: https://github.com/abiosoft/autoplank
- Owner: abiosoft
- License: mit
- Created: 2018-08-07T04:41:05.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-23T19:00:25.000Z (over 5 years ago)
- Last Synced: 2025-03-18T06:51:35.036Z (3 months ago)
- Topics: elementary-os, plank-dock
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 51
- Watchers: 5
- Forks: 13
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# autoplank
Use plank on multi-monitor setup without creating multiple docks. Simply move the mouse to the bottom of any monitor and plank moves there.
## Usage
Start from the CLI.
```
autoplank
```## Building/Installing
Requires Go 1.8 or newer.
```
go build -o autoplank && sudo mv autoplank /usr/local/bin
```### [Optional] Create a service
You may want to create a service to start and keep running in background for convenience.
* create a systemd unit file `$HOME/.config/systemd/user/autoplank.service`
```ini
[Unit]
Description=Autoplank Service[Service]
ExecStart=/usr/local/bin/autoplank
Restart=always[Install]
WantedBy=graphical.target
```
* enable and start
```
systemctl enable autoplank --user
systemctl start autoplank --user
```