Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kousu/screenlayout
A small GUI helper for dealing with xrandr choices
https://github.com/kousu/screenlayout
Last synced: 16 days ago
JSON representation
A small GUI helper for dealing with xrandr choices
- Host: GitHub
- URL: https://github.com/kousu/screenlayout
- Owner: kousu
- Created: 2014-11-14T05:59:33.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-01T00:06:09.000Z (over 9 years ago)
- Last Synced: 2024-11-24T06:10:54.485Z (about 2 months ago)
- Language: Shell
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ScreenLayout
============A tiny script to make handling screenlayouts with non-desktop-environment window managers,
such as `i3` and `xmonad`, better.Make sure you have `zenity` and `xrandr` installed, then make a directory in your homedir called
`.screenlayout`, and for each desired screen arrangement, put one scripts in there which uses `xrandr` to make it so.This program prompts you to choose a layout, and then runs it.
Tips
----The quickest way to make this directory and these scripts is an almost as tiny python GUI called `arandr`.
If you find yourself switching configurations between different physical workspaces often, add this to your `.xinitrc`, e.g.
```
xterm &
~/.local/bin/screenlayout &
exec i3
```Bugs
----Does not do the 15s "set it back!" deadman's timer that Windows, Gnome, and KDE do on screen switching.
..though zenity could probably be forced into doing that too.This is worth factoring into a subroutine which takes a directory of scripts and asks you to choose one.