nix-config/picom/.config/picom.conf
Donovan Glover c42529c640
picom: Make tint2 and thunar translucent
These are old changes I made while I was still using bspwm. Although
bspwm is an amazing window manager, I feel like the simplicity of GNOME,
as well as how customizable it can be, negates any potential benefits
one can achieve with bspwm and its vast configuration possibilities.

As one example, alttab is a cool piece of software that brings the
concept of alt-tabbing to window managers like bspwm, however, GNOME is
already capable of doing this and does so in a more elegant way, showing
views of the windows you're alt-tabbing between.
2022-12-15 09:42:14 -05:00

66 lines
1.4 KiB
INI

# New Start: A modern Arch workflow built with an emphasis on functionality.
# Copyright (C) 2017-2018 Donovan Glover
# Fix screen tearing
backend = "glx"
vsync = true
# Enable shadows (very important, as this makes everything look really nice)
shadow = true
# Disable shadow on docks like polybar
no-dock-shadow = true
# Disable shadow on hacksaw
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 = 'Tint2'",
"90:class_g = 'Thunar'",
"90:class_g = 'code-oss'",
"99:class_g = 'Org.gnome.Nautilus'"
]
# Don't fade in polybar when showing it
fade-exclude = [
"class_g = 'Polybar'"
]
# Disable shadow for drag-and-drop functionality
wintypes: {
dnd = {
shadow = false
}
}
# Fade windows when you open and close them, as well as change workspaces
fading = true
# Shadow settings
shadow-radius = 8
shadow-opacity = 0.25
# Shadow offset (-10 for HiDPI, -5 otherwise)
shadow-offset-x = -5
shadow-offset-y = -5
# Fade settings
fade-in-step = 0.08
fade-out-step = 0.09
fade-delta = 10
# Add transparency to bspwm borders
#frame-opacity = 0.5
# Fix flickering issue by drawing whole screen every time
# See: https://github.com/yshui/picom/issues/578
use-damage = false
# vim:ft=dosini