From 3614c4581b638dbe906d92cfbc5b02d3d30b62a1 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 21 Nov 2015 23:42:41 +0100 Subject: Use compton.conf instead of CLI arguments --- compton/.config/compton.conf | 40 ++++++++++++++++++++++++++++++++++++++++ x11/.xinitrc | 13 ++----------- 2 files changed, 42 insertions(+), 11 deletions(-) create mode 100644 compton/.config/compton.conf diff --git a/compton/.config/compton.conf b/compton/.config/compton.conf new file mode 100644 index 0000000..b2770a2 --- /dev/null +++ b/compton/.config/compton.conf @@ -0,0 +1,40 @@ +shadow = true; +no-dnd-shadow = true; +shadow-radius = 10; +# alpha-step = 0.75; +shadow-ignore-shaped = true; + +detect-transient = true; + +inactive-dim = 0.2; +inactive-opacity = 0.75; +menu-opacity = 1; + +focus-exclude = [ + "name = 'mowedline'", + "name = 'i3lock'", + "class_g = 'Vlc'", + "name = 'rofi'" +]; + +shadow-exclude = [ + "name = 'mowedline'", + "class_g = 'trayer'" +]; + +fade-exclude = [ + "name = 'mowedline'" +]; + +blur-background-exclude = [ + "name = 'mowedline'" +]; + +unredir-if-possible-exclude = [ + "name = 'mowedline'" +]; + +wintypes: +{ + combo = { shadow = false; }; +}; diff --git a/x11/.xinitrc b/x11/.xinitrc index 09a27ef..281bb25 100755 --- a/x11/.xinitrc +++ b/x11/.xinitrc @@ -17,17 +17,7 @@ redshift-gtk -l 51.1180:4.0012 & unclutter & mowedline & mpc-status-mowedline & -compton -b -c -G -r 10 -i 0.75 -e 1.0 \ - --inactive-dim 0.2 \ - --focus-exclude "name = 'mowedline'" \ - --shadow-exclude "name = 'mowedline'" \ - --fade-exclude "name = 'mowedline'" \ - --blur-background-exclude "name = 'mowedline'" \ - --unredir-if-possible-exclude "name = 'mowedline'" \ - --focus-exclude "name = 'i3lock'" \ - --focus-exclude "class_g = 'Vlc'" \ - --focus-exclude "name = 'rofi'" \ - --detect-transient +compton -b rofi & export $(/usr/bin/gnome-keyring-daemon --start --components=secrets,gpg) @@ -35,3 +25,4 @@ export $(/usr/bin/gnome-keyring-daemon --start --components=secrets,gpg) # exec ~/.local/share/quicklisp/local-projects/stumpwm/stumpwm # exec /usr/bin/awesome exec /usr/bin/herbstluftwm +exec /usr/bin/guile-wm -- cgit v1.2.3-54-g00ecf