nix-config/picom/.config/picom.conf
Donovan Glover 6f75925146
meta: Revert recent dotfile removals
Although removing these dotfiles gave the repository a clean feeling, it
made it significantly harder to resume using a certain window manager or
other tool at any time.

Instead of removing dotfiles entirely, it's enough to simply not install
the programs you don't want to use, or even install them but not open
them.
2023-03-19 18:02:26 -04:00

71 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
blur: {
method = "dual_kawase";
strength = 7;
}
# vim:ft=dosini