From 7c46e40399ef35e0ee44103dd61e58159a4f98d7 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 29 Jul 2022 12:57:42 -0400 Subject: [PATCH] picom: Make some applications translucent This is purely for visuals and makes using the environment slightly cooler. --- picom/.config/picom.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/picom/.config/picom.conf b/picom/.config/picom.conf index 9e67d98..72ab873 100644 --- a/picom/.config/picom.conf +++ b/picom/.config/picom.conf @@ -16,6 +16,15 @@ shadow-exclude = [ "name = 'hacksaw'" ] +# Make some applications translucent. +# An easy way to get the class name of a window is with the following: +# sleep 5; xdotool getwindowclassname (xdotool getactivewindow) +opacity-rule = [ + "90:class_g = 'Polybar'", + "90:class_g = 'code-oss'", + "99:class_g = 'Org.gnome.Nautilus'" +] + # Disable shadow for drag-and-drop functionality wintypes: { dnd = {