mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-04 22:20:38 +01:00
226b79ae75
Logseq looks quite nice with transparency.
74 lines
1.5 KiB
INI
74 lines
1.5 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 = [
|
|
"99:role = 'GtkFileChooserDialog'",
|
|
"90:class_g = 'Polybar'",
|
|
"50:class_g = 'dzen'",
|
|
"90:class_g = 'Tint2'",
|
|
"90:class_g = 'Thunar'",
|
|
"90:class_g = 'Logseq'",
|
|
"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
|