Move compton.conf -> picom.conf and update

This commit is contained in:
natemaia 2019-11-19 22:38:42 -08:00
parent 35baa64328
commit 074d0a8164
3 changed files with 53 additions and 56 deletions

View File

@ -1,55 +0,0 @@
# Shadow
shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-opacity = 0.60;
# Fade
fading = false;
fade-delta = 6.0;
fade-in-step = 0.03;
fade-out-step = 0.028;
# Backend
vsync = false;
backend = "xrender";
mark-wmwin-focused = true;
unredir-if-possible = true;
detect-rounded-corners = true;
opacity-rule = [
"0:_NET_WM_STATE@:32a * = '_NET_WM_STATE_HIDDEN'"
];
shadow-exclude = [
"name *?= 'Notification'",
"class_g *?= 'jgmenu'",
"class_g *?= 'VirtualBox'",
"class_g *?= 'Conky'",
"class_g *?= 'Notify-osd'",
"class_g *?= 'cairo-dock'",
"class_g *?= 'trayer'",
"class_g *?= 'i3-frame'",
"class_g *?= 'firefox'",
"class_g *?= 'navigator'",
"class_g *?= 'Cairo-clock'",
"class_g *?= 'Cairo-dock'",
"class_g *?= 'plank'",
"class_g *?= 'Docky'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"_GTK_FRAME_EXTENTS@:c"
];
focus-exclude = [
"class_g *?= 'Cairo-clock'",
"class_g *?= 'Virtualbox'",
"class_g *?= 'trayer'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"name *?= 'Authy'"
];
wintypes:
{
tooltip = { fade = true; shadow = true; focus = true; };
};

52
base/.config/picom.conf Normal file
View File

@ -0,0 +1,52 @@
shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-opacity = 0.60;
fading = false;
fade-delta = 5.0;
fade-in-step = 0.03;
fade-out-step = 0.03;
vsync = false;
backend = "xrender";
mark-wmwin-focused = true;
use-ewmh-active-win = true;
unredir-if-possible = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
opacity-rule = [
# hack for i3 tabbed mode with semi-opaque windows being visible below the current tab
"0:_NET_WM_STATE@:32a * = '_NET_WM_STATE_HIDDEN'"
];
shadow-exclude = [
"! name~=''",
"name = 'Notification'",
"name = 'Plank'",
"name = 'Docky'",
"name = 'Kupfer'",
"name = 'xfce4-notifyd'",
"name *= 'VLC'",
"name *= 'compton'",
"name *= 'picom'",
"name *= 'Chromium'",
"name *= 'Chrome'",
"class_g = 'Firefox' && argb",
"class_g = 'Conky'",
"class_g = 'Kupfer'",
"class_g = 'Synapse'",
"class_g ?= 'Notify-osd'",
"class_g ?= 'Cairo-dock'",
"class_g ?= 'Xfce4-notifyd'",
"class_g ?= 'Xfce4-power-manager'",
"_GTK_FRAME_EXTENTS@:c",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
wintypes:
{
tooltip = { fade = true; shadow = true; focus = true; };
};

View File

@ -7,7 +7,7 @@ export XDG_CONFIG_HOME
[ "$PATH" == *"$HOME/bin"* ] || PATH="$HOME/bin:$PATH"
compton -b &
picom -b &
nitrogen --restore &
volumeicon &
nm-applet &