Simplistic CLI for toggling and positioning a secondary monitor or projector
Project description
beamer
is a simple command line tool for toggling and positioning a secondary monitor or projector on Linux.
It is a thin wrapper for xrandr
to spare you typing out common setups in its verbose syntax. Consequently, it requires xrandr
to be installed on your system.
Commands
Commands assume the first output listed by xrandr
to be the main output (e.g. a laptops monitor).
(See also beamer -h
)
beamer info
Print a short, formatted list of avaliable outputs and modesbeamer clone
mirror the main output to a secondary outputbeamer left|right|above|below
extend the screen to a secondary output next to the main outputbeamer off
only use main outputbeamer only
only use secondary outputbeamer query
show output ofxrandr --query
Installation
Run pip install beamer
– or –
copy the beamer.py
file from this repository anywhere on your computer
and run it via python3 /path/to/beamer.py
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file beamer-0.2.0.tar.gz
.
File metadata
- Download URL: beamer-0.2.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f420647de424b8368b00ac549c157033a3fac48fb3fa87dfbe4a5760cf3e7390 |
|
MD5 | c0c15d408417e3e49ed79459ed7b5443 |
|
BLAKE2b-256 | 385d03781eee221004a16f206ed37e6207428a9194dee784e114efcb66d74f86 |
File details
Details for the file beamer-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: beamer-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73182abfd5676e47e706dcbdc12149f4b2d7f522a442be112903bb8c0865dd8c |
|
MD5 | bfddb69feec8377d625a51c2a50da63e |
|
BLAKE2b-256 | f88de85ab35e1cbcea3e42b685a2409cdc0f7ba037fc9b1461833b6f4ad77984 |