Linux

Arch Linux | DWM | How To Set Transparency Levels For Active & Inactive ST Terminals Using Picom



Step 1 :

Install picom:
sudo pacman -S picom

Step 2 :

create the config:
$HOME/.config/picom/picom.conf

##perhaps not necessary to have backend and vsync
backend = “glx”;
vsync = true;

## st-256color is the terminal name
##closer to 0 is more transparent, closer to 100 is less transparent
##focused is active windows
##!focused is for the inactive windows
opacity-rule = [
“90:class_g = ‘st-256color’ && focused”,
“95:class_g = ‘st-256color’ && !focused”
];

save and close

Step 3:

Call picom at your session start of DWM, this depends how you configured your system ;)))))))

picom –config $HOME/.config/picom/picom.conf -b

Read more:

Pls like + sub

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button