Installs the OS package for the window compositor Compton. For more information on Compton, see https://github.com/chjj/compton.
Also installs a system-wide config file @ $XDG_CONFIG_DIRS/compton.conf
, the default config file location for compton
that sets default transparency for:
- the active window(s)
- inactive windows
- X11
- Compton is a window manager that operates on windows of the X windowing sysetm. Thus, the basic X11 packages are required to provide the graphical environment for Compton to run in.
- XDG Directories configured
- Compton's default configuration file will be found at
$XDG_CONFIG_DIRS/compton.conf
. It is recommmended to set these directories in a file such as/etc/profile/
prior to applying this role.
- Compton's default configuration file will be found at
~/.xinitrc
- This role also assumes that compton will be launched via
~/.xinitrc
. In order to utilize the configuration file installed by this role add the following to your~/.xinitrc
startup file:compton &
- This role also assumes that compton will be launched via
There are no role variables that configure Compton via Ansible. Instead, the entire configuration file is copied directly from the Files
subfolder of this role.
TBD
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: kriipke.compton, x: 42 }
BSD
Spencer Smolen <[email protected]>
Xtal Systems 2022