2021-11-15 18:36:08 +01:00
|
|
|
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
|
|
|
# Copyright (C) 2017-2018 Donovan Glover
|
|
|
|
|
2021-11-15 18:43:58 +01:00
|
|
|
# Fix screen tearing
|
|
|
|
backend = "glx"
|
|
|
|
vsync = true
|
|
|
|
|
2021-11-15 18:36:08 +01:00
|
|
|
# Enable shadows (very important, as this makes everything look really nice)
|
|
|
|
shadow = true
|
|
|
|
|
|
|
|
# Disable shadow on docks like polybar
|
2022-07-29 12:04:14 +02:00
|
|
|
no-dock-shadow = true
|
2021-11-15 18:36:08 +01:00
|
|
|
|
2022-03-11 15:36:32 +01:00
|
|
|
# Disable shadow on hacksaw
|
|
|
|
shadow-exclude = [
|
|
|
|
"name = 'hacksaw'"
|
|
|
|
]
|
|
|
|
|
2022-07-29 18:57:42 +02:00
|
|
|
# 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'"
|
|
|
|
]
|
|
|
|
|
2022-07-29 19:07:00 +02:00
|
|
|
# Don't fade in polybar when showing it
|
|
|
|
fade-exclude = [
|
|
|
|
"class_g = 'Polybar'"
|
|
|
|
]
|
|
|
|
|
2021-11-15 18:36:08 +01:00
|
|
|
# Disable shadow for drag-and-drop functionality
|
2021-11-15 19:03:57 +01:00
|
|
|
wintypes: {
|
|
|
|
dnd = {
|
|
|
|
shadow = false
|
|
|
|
}
|
|
|
|
}
|
2021-11-15 18:36:08 +01:00
|
|
|
|
|
|
|
# Fade windows when you open and close them, as well as change workspaces
|
|
|
|
fading = true
|
|
|
|
|
|
|
|
# Shadow settings
|
|
|
|
shadow-radius = 8
|
2022-07-29 17:37:50 +02:00
|
|
|
shadow-opacity = 0.25
|
2021-11-15 18:54:50 +01:00
|
|
|
|
|
|
|
# Shadow offset (-10 for HiDPI, -5 otherwise)
|
|
|
|
shadow-offset-x = -5
|
|
|
|
shadow-offset-y = -5
|
2021-11-15 18:36:08 +01:00
|
|
|
|
|
|
|
# Fade settings
|
2021-11-15 18:59:27 +01:00
|
|
|
fade-in-step = 0.08
|
2022-07-29 17:53:26 +02:00
|
|
|
fade-out-step = 0.09
|
2021-11-15 18:36:08 +01:00
|
|
|
fade-delta = 10
|
|
|
|
|
|
|
|
# Add transparency to bspwm borders
|
|
|
|
#frame-opacity = 0.5
|
|
|
|
|
|
|
|
# vim:ft=dosini
|