PRIMARY CATEGORY → SETUP
picom
→ Compositor for X
It manages the way Windows and Graphical Elements are displayed on the screen
Basically, It combines the above elements, called Buffers, into a Final Image that is displayed to the user
Note that picom
is a fork of Compton, which is already deprecated
This binary is executed as a daemon like most of the tools in this setup
picom
is executed by bspwm from the bspwmrc script through the picom
’s binary →
INFO
Note that
checkProcess
andlaunchProcess
are shell functions declared in the~/.config/bspwm/src/bspwmrc.sh
source fileAbove implementation would be something similar to the usual approach through
pgrep --exact process_name || binary|script_path &
Configuration File → ~/.config/picom/picom.conf
More information here
Installation
CAUTION
First, see the bspwm’s installation before proceeding with this one related to
picom
There are some dependencies that are needed in the following installation steps. That is why you should see the note above first
First of all, install the following dependencies →
Only Debian Based distros. Check this for the Fedora/RHEL ones
Clone the picom’s Github Repository →
To build →
To install →
INFO
Note that the default installation dir will be
/usr/local
. To change it, just use →
That’s it
Note that the picom configuration file needs to be created → picom.conf
Just created the ~/.config/picom
directory and paste this Configuration File’s content into it
Once the above is done, insert the following line in the bspwmrc file related to the Picom’s Launch →
This allows picom to be launched on the Windows Manager Startup → bspwm
Configuration File
Picom.conf Configuration File Sample Fully Documented
Copy from here the picom
’s Full Customised Configuration File
Parameters
In the picom.conf
file, there are specific sections to set or modify various display’s aspects such as the app’s corners, shadows, blur, fading…
Note that all the following parameters modify the above features related to bspwm’s Windows, kitty’s terminals, polybar’s bars or rofi’s launcher, among others
Corners
The corner-radius
parameter modifies the roundness degree of a system application’s corners
Shadows
To enable or disable application’s shadows → shadow
Features related to shadows such as the radius, opacity and the x/y offset can be modified as follows →
Fading
It implements a fade effect when opening or closing OS Windows
In this Setup Configuration, It is disabled
- Fading →
- No Fading →
Opacity
This feature controls the Opacity of Inactive/Active OS Windows and their titlebars, borders…
Blur
It modifies the Sharpness degree of the Windows OS’s applications
Miscellaneous
OS Windows Borders
Adjust the OS Windows’s border width is possible but not from the picom’s configuration file
It has to be managed from the bspwmrc file through the border_width
parameter as follows →
The above command removes the OS Windows’s borders completely
This is the chosen configuration for the OS Windows borders