This prevents the udev rule to run autorandr once per monitor added or
removed, instead of once per change -- this is relevant, e.g., if a
notebook is (dis-)connected to/from a docking station.
This largely ignores all Debian packaging standards, and simply creates
a Debian package which contains the files that would be installed if the
user typed `sudo make install' on his (Debian) system.
This could be done a great deal more cleanly using bash regex matching;
however, as is stated elsewhere, the script will not always be executed
with bash.
There may be some merit to causing the script to always be executed with
bash (`#! /bin/bash` or even `#! /usr/bin/env bash`), but I'll admit I
don't know how widely installed bash is. I've certainly never found a
modern Linux install without bash, but my experience isn't the widest.
This commit adds profile removal ability.
You can use '-r' or '--remove'.
Following checks are done:
* not a virtual profile
* profile can be found in profiles.keys()
Also added the remove option to the bash completion (untested though,
using zsh and quite unfamiliar with it).
Simple script which allows you to save nitrogen's wallpaper setup
for current profile and restore it when profile is loaded.
Useful in case you are moving between different monitor setups and
orientations.