diff --git a/X11/xinitrc b/X11/xinitrc index d2a35af..4f4c36f 100644 --- a/X11/xinitrc +++ b/X11/xinitrc @@ -25,6 +25,7 @@ setxkbmap en & dwmblocks & clipmenud & dunst & +picom --experimental-backends & clear & while true; do diff --git a/picom.conf b/picom.conf new file mode 100644 index 0000000..fa61980 --- /dev/null +++ b/picom.conf @@ -0,0 +1,36 @@ +backend = "glx"; +vsync = true; + +fading = true; +fading-delta = 0.5; +no-fading-openclose = true; + +active-opacity = 0.85; +inactive-opacity = 0.65; +blur-background = true; +blur-method = "dual_kawase"; + +focus-exclude = [ + "class_g = 'dwm'" +]; + +shadow = true; +shadow-exclude = [ + "class_g = 'dwm'", + "class_g = 'dmenu'" +]; + +corner-radius = 12; +use-damage = false; + +rounded-corners-exclude = [ + "class_g = 'dwm'" +]; + +opacity-rule = [ + "100:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'" +];