Add custom compton config

This commit is contained in:
Jake Howard 2018-04-25 14:41:51 +01:00
parent 7fd14a9ef9
commit 298a3aa9e7
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,48 @@
# Shadow
shadow = true; # Enabled client-side shadows on windows.
no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
no-dnd-shadow = false; # Don't draw shadows on DND windows.
clear-shadow = true; # Zero the part of the shadow's mask behind the window (experimental).
shadow-radius = 7; # The blur radius for shadows. (default 12)
shadow-offset-x = -7; # The left offset for shadows. (default -15)
shadow-offset-y = -7; # The top offset for shadows. (default -15)
# shadow-opacity = 0.7; # The translucency for shadows. (default .75)
# shadow-red = 0.0; # Red color value of shadow. (0.0 - 1.0, defaults to 0)
# shadow-green = 0.0; # Green color value of shadow. (0.0 - 1.0, defaults to 0)
# shadow-blue = 0.0; # Blue color value of shadow. (0.0 - 1.0, defaults to 0)
shadow-exclude = [ "n:e:Notification" ]; # Exclude conditions for shadows.
# shadow-exclude = "n:e:Notification";
# shadow-exclude = "n:a:Conky";
# shadow-exclude = "synapse";
shadow-ignore-shaped = true;
# Opacity
menu-opacity = 0.9; # The opacity for menus. (default 1.0)
inactive-opacity = 1; # Opacity of inactive windows. (0.1 - 1.0)
#frame-opacity = 0.8; # Opacity of window titlebars and borders. (0.1 - 1.0)
inactive-opacity-override = true; # Inactive opacity set by 'inactive-opacity' overrides value of _NET_WM_OPACITY.
# Fading
fading = true; # Fade windows during opacity changes.
fade-delta = 5; # The time between steps in a fade in milliseconds. (default 10).
fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
# no-fading-openclose = true; # Fade windows in/out when opening/closing.
# Other
#inactive-dim = 0.5; # Dim inactive windows. (0.0 - 1.0, defaults to 0).
mark-wmwin-focused = true; # Try to detect WM windows and mark them as active.
mark-ovredir-focused = true;
detect-rounded-corners = true;
# Window type settings
wintypes:
{
tooltip = { fade = true; shadow = false; opacity = 0.75; };
};
##excluded apps
#shadow-exclude = [ "g:si:Conky" ];

View file

@ -28,6 +28,15 @@ class i3 {
source => 'puppet:///modules/i3/i3status.conf' source => 'puppet:///modules/i3/i3status.conf'
} }
file { 'compton config':
ensure => file,
path => '/home/jake/.config/compton.conf',
mode => '0644',
owner => 'jake',
group => 'users',
source => 'puppet:///modules/i3/compton.conf'
}
file { 'dunst config directory': file { 'dunst config directory':
ensure => directory, ensure => directory,
path => '/home/jake/.config/dunst' path => '/home/jake/.config/dunst'