diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index a086ae9f..2941cc20 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc @@ -45,6 +45,9 @@ wal -o ~/.config/wal/done.sh --theme base16-tomorrow-night # Never blank the screen (disable power saving) xset s off -dpms +# Start compton +compton -b + # Start polybar and other things based on DPI # Get the host width HOST_WIDTH=$(bspc query -T -m | jq '.rectangle.width') diff --git a/compton/.config/compton.conf b/compton/.config/compton.conf new file mode 100644 index 00000000..0d6b732a --- /dev/null +++ b/compton/.config/compton.conf @@ -0,0 +1,30 @@ +# New Start: A modern Arch workflow built with an emphasis on functionality. +# Copyright (C) 2017-2018 Donovan Glover + +# 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 for drag-and-drop functionality +no-dnd-shadow = true + +# Fade windows when you open and close them, as well as change workspaces +fading = true + +# Shadow settings +shadow-radius = 8 +shadow-opacity = 0.5 +shadow-offset-x = -10 +shadow-offset-y = -10 + +# Fade settings +fade-in-step = 0.04 +fade-out-step = 0.04 +fade-delta = 10 + +# Add transparency to bspwm borders +#frame-opacity = 0.5 + +# vim:ft=dosini diff --git a/compton/README.md b/compton/README.md new file mode 100644 index 00000000..fc93c831 --- /dev/null +++ b/compton/README.md @@ -0,0 +1,18 @@ +# compton + +[compton][compton] is a desktop compositor for X11. + +## Use Cases + +compton can be used to: + +- Reduce screen tear in certain environments +- Add elementary animations such as fading to your desktop +- Add shadows to your desktop + +You should not use compton if: + +- Your window manager or desktop environment already has a compositor +- You are not using X11 + +[compton]: https://github.com/yshui/compton