A simple utility script that works with xrandr to change/switch between different layouts.
For now it works with my Arch installation with one external monitor setup with i3wm and uses PyQt5 to show a little toast notification on the screen.
- xrandr
- Python 3.x
- PyQt5
To install the necessary requirements simply run:
λ pipenv install
To start the app simply run:
λ python toggle.py
- Show toast notification when display changes using PyQt.
- Finish the feature to save current screen layout configuration to a config yaml file
- Make it an installable package, so that it's just a pip install away :)
Copyright © 2021 Shashank Srivastav