From e8967ae036d7f8af1789b6f1939c892413bdc83e Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Wed, 18 Jan 2017 23:42:14 -0600 Subject: [PATCH] add compton configuration --- env/x/compton.conf | 53 ++++++++++++++++++++++++++++++++++++++++++++++ env/x/link.bash | 2 ++ 2 files changed, 55 insertions(+) create mode 100644 env/x/compton.conf diff --git a/env/x/compton.conf b/env/x/compton.conf new file mode 100644 index 0000000..b0513f4 --- /dev/null +++ b/env/x/compton.conf @@ -0,0 +1,53 @@ +shadow = true; +no-dnd-shadow = true; +no-dock-shadow = false; +clearshadow = true; +shadow-radius = 7; +shadow-offset-x = -12; +shadow-offset-y = -7; +shadow-opacity = 1.0; +shadow-red = 0.0; +shadow-green = 0.0; +shadow-blue = 0.0; +shadow-exclude = [ "class_g = ''" ]; +shadow-ignore-shaped = true; +menu-opacity = 1.0; +inactive-opacity = 1.0; +active-opacity = 1.0; +frame-opacity = 1.0; +inactive-opacity-override = false; +alpha-step = 0.1; +inactive-dim = 0.1; +blur-kern = "3x3box"; +blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ]; +fading = true; +fade-in-step = 0.06; +fade-out-step = 0.06; +fade-exclude = [ ]; +backend = "xrender"; +mark-wmwin-focused = true; +mark-ovredir-focused = true; +detect-rounded-corners = true; +detect-client-opacity = true; +refresh-rate = 0; +vsync = "none"; +dbe = false; +paint-on-overlay = true; +focus-exclude = [ "class_g = 'Cairo-clock'" ]; +detect-transient = true; +detect-client-leader = true; +invert-color-include = [ ]; +glx-copy-from-front = false; +glx-swap-method = "undefined"; +wintypes : +{ + tooltip : + { + fade = true; + shadow = false; + opacity = 0.75; + focus = true; + }; +}; +blur-background = true; +blur-background-frame = true; diff --git a/env/x/link.bash b/env/x/link.bash index d1594f2..55b9d94 100755 --- a/env/x/link.bash +++ b/env/x/link.bash @@ -10,10 +10,12 @@ rm -f "$HOME/.xinitrc" rm -f "$HOME/.Xresources" rm -f "$HOME/.gtkrc-2.0" rm -f "$HOME/.config/gtk-3.0/settings.ini" +rm -f "$HOME/.config/compton.conf" ln -s "$MODULE_PATH/xinitrc" "$HOME/.xinitrc" ln -s "$MODULE_PATH/xresources" "$HOME/.Xresources" ln -s "$MODULE_PATH/gtk3settings.ini" "$HOME/.config/gtk-3.0/settings.ini" ln -s "$MODULE_PATH/gtk2rc" "$HOME/.gtkrc-2.0" +ln -s "$MODULE_PATH/compton.conf" "$HOME/.config/compton.conf" sudo mkdir -p /root/.gtk-3.0/ sudo mkdir -p /root/.config/gtk-3.0/