diff --git a/config/openbox/autostart b/config/openbox/autostart index 5d05254..315f38e 100644 --- a/config/openbox/autostart +++ b/config/openbox/autostart @@ -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 & diff --git a/config/picom/picom.conf b/config/picom/picom.conf new file mode 100644 index 0000000..4c164c3 --- /dev/null +++ b/config/picom/picom.conf @@ -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;