An open API service indexing awesome lists of open source software.

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

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
```