Use compton.conf instead of CLI arguments

This commit is contained in:
Tom Willemse 2015-11-21 23:42:41 +01:00
parent e45a66b6ff
commit 3614c4581b
2 changed files with 42 additions and 11 deletions

View file

@ -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; };
};

View file

@ -17,17 +17,7 @@ redshift-gtk -l 51.1180:4.0012 &
unclutter & unclutter &
mowedline & mowedline &
mpc-status-mowedline & mpc-status-mowedline &
compton -b -c -G -r 10 -i 0.75 -e 1.0 \ compton -b
--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
rofi & rofi &
export $(/usr/bin/gnome-keyring-daemon --start --components=secrets,gpg) 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 ~/.local/share/quicklisp/local-projects/stumpwm/stumpwm
# exec /usr/bin/awesome # exec /usr/bin/awesome
exec /usr/bin/herbstluftwm exec /usr/bin/herbstluftwm
exec /usr/bin/guile-wm