https://github.com/dsentker/wmctrl-scripts
Move Windows in wmctrl
https://github.com/dsentker/wmctrl-scripts
Last synced: 9 months ago
JSON representation
Move Windows in wmctrl
- Host: GitHub
- URL: https://github.com/dsentker/wmctrl-scripts
- Owner: dsentker
- Created: 2020-11-05T08:09:41.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-05T08:17:54.000Z (about 5 years ago)
- Last Synced: 2025-02-09T18:52:12.403Z (11 months ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wmctrl-scripts
Move windows to a predefined location. Perfect for a setup with a wide monitor (3280x1080) and the laptop (1920x1080) on the right side.
## Usage
### Monitor Setup Schema:
```
1920x1080
|
[ ][ ]
^
|
|
1920x1080
```
### win1
```
[X ][ ]
```
### win2
```
[ XX][ ]
```
### win3
```
[ ][X]
```
### win4
```
[ X ][ ]
```
### Bind to Shortcuts
Go to system control center, Workspace -> Own Shortcuts and add keyboard shortcuts for the scripts and a path to one of the shell script, e.g.
```
gnome-terminal -e "bash /home/dsentker/win1"
```
## TODO
If no window is focussed, the background is moving around. Thats pretty bad :(