Swap xcompmgr for picom

This commit is contained in:
Siina Mashek 2020-06-30 02:49:14 +03:00 committed by Siina Maček
parent 7cb25d1366
commit 88897c46e9
2 changed files with 31 additions and 5 deletions

View File

@ -1,15 +1,15 @@
# Set screen orientations
${HOME}/.config/openbox/screenlayout.sh
$HOME/.config/openbox/screenlayout.sh
# Set background
${HOME}/.config/openbox/setbg.sh
$HOME/.config/openbox/setbg.sh
# Start compositor
xcompmgr &
picom --experimental-backends --config $HOME/.config/picom/picom.conf &
# Start panel
tint2 -c ${HOME}/.config/tint2/main &
tint2 -c ${HOME}/.config/tint2/secondary &
tint2 -c $HOME/.config/tint2/main &
tint2 -c $HOME/.config/tint2/secondary &
# Start systray applications
pnmixer &

26
config/picom/picom.conf Normal file
View File

@ -0,0 +1,26 @@
backend = "glx";
vsync = true;
use-damage = true;
unredir-if-possible = true;
glx-no-stencil = true;
# glx-copy-from-front = false;
# glx-use-damage = false;
shadow = true;
shadow-radius = 16;
shadow-offset-x = -16;
shadow-offset-y = -12;
shadow-opacity = 0.35;
shadow-exclude = [
"! name ~=''",
"name *= 'tint2'",
"name *= 'picom'",
"name *= 'Vivaldi'",
"class_g = 'vlc'"
];
# detect-rounded-corners = true;