Skip to content

iota97/compton

This branch is 2 commits ahead of chjj/compton:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

58341fe · Nov 18, 2020
Apr 30, 2017
Aug 10, 2016
Jul 4, 2014
Apr 26, 2015
Sep 18, 2015
May 28, 2020
May 28, 2020
Nov 18, 2020
Jan 11, 2015
Sep 6, 2015
Sep 6, 2013
Nov 19, 2012
Oct 22, 2012
Sep 20, 2015
May 28, 2020
Jan 11, 2015
May 16, 2014
May 16, 2014
Jun 5, 2015
May 28, 2020
Oct 3, 2012
Jan 11, 2015
Jan 11, 2015

Repository files navigation

Compton with custom GLSL shader instead of blur effect

Building

Dependencies:

B for build-time

R for runtime

  • libx11 (B,R)
  • libxcomposite (B,R)
  • libxdamage (B,R)
  • libxfixes (B,R)
  • libXext (B,R)
  • libxrender (B,R)
  • libXrandr (B,R)
  • libXinerama (B,R) (Can be disabled with NO_XINERAMA at compile time)
  • pkg-config (B)
  • make (B)
  • xproto / x11proto (B)
  • sh (R)
  • xprop,xwininfo / x11-utils (R)
  • libpcre (B,R) (Can be disabled with NO_REGEX_PCRE at compile time)
  • libconfig (B,R) (Can be disabled with NO_LIBCONFIG at compile time)
  • libdrm (B) (Can be disabled with NO_VSYNC_DRM at compile time)
  • libGL (B,R) (Can be disabled with NO_VSYNC_OPENGL at compile time)
  • libdbus (B,R) (Can be disabled with NO_DBUS at compile time)
  • asciidoc (B) (and docbook-xml-dtd-4.5, libxml-utils, libxslt, xsltproc, xmlto, etc. if your distro doesn't pull them in)

How to build

To build, make sure you have the dependencies above:

# Make the main program
$ make
# Make the man pages
$ make docs
# Install
$ make install

Usage

you may skip step 1 to 4 and use sample config compton.sample.conf

  1. Set backend to glx in the config
  2. Enable blur in the config
  3. Set shader-path in the config
  4. Write your own shader or use the one in shaders folder
  5. Disable other running compositor
  6. Run with compton --config /path/to/config.conf -b

Previews

bw

boken

rain

1337

abberation

pixelize

About

A compositor for X11.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 90.7%
  • GLSL 3.5%
  • Shell 2.5%
  • Makefile 1.0%
  • C++ 1.0%
  • Python 0.9%
  • CMake 0.4%