1
0
forked from extern/nix-config

picom: Make some applications translucent

This is purely for visuals and makes using the environment slightly
cooler.
This commit is contained in:
Donovan Glover 2022-07-29 12:57:42 -04:00
parent 42ffa37ace
commit 7c46e40399
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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 = {