forked from extern/nix-config
7c46e40399
This is purely for visuals and makes using the environment slightly cooler.
55 lines
1.1 KiB
INI
55 lines
1.1 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 = 'code-oss'",
|
|
"99:class_g = 'Org.gnome.Nautilus'"
|
|
]
|
|
|
|
# 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
|
|
|
|
# vim:ft=dosini
|