picom.conf to its own directory

This commit is contained in:
Harri Lahtinen 2020-12-24 11:50:41 +02:00
parent cff0b78a16
commit 11dfc1d47f
2 changed files with 2 additions and 130 deletions

View File

@ -79,7 +79,7 @@ exec --no-startup-id ~/.config/Scripts/i3-battery-monitor &
#Conky
#exec --no-startup-id conky -d -c ~/.config/conky/conkybg &
#Picom
exec --no-startup-id picom -bc --experimental-backends --dbus --config /home/hate/.config/picom.conf
exec --no-startup-id picom -bc --experimental-backends --dbus --config /home/hate/.config/picom/picom.conf
#Gnome privileges
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
#Launch Polybar where appropriate:
@ -137,7 +137,7 @@ bindsym Mod1+Shift+r exec ~/.config/Scripts/i3-resurrect-restore-all
#Composite manager:
bindsym $mod+b exec --no-startup-id pkill picom
bindsym $mod+Ctrl+b exec --no-startup-id picom -bc --experimental-backends --dbus --config /home/hate/.config/picom.conf
bindsym $mod+Ctrl+b exec --no-startup-id picom -bc --experimental-backends --dbus --config /home/hate/.config/picom/picom.conf
###---Basic Bindings---###
bindsym $mod+Return exec $term

View File

@ -1,128 +0,0 @@
#
# COMPTON
# config for compton
# needs the patched dual_kawase fork
#
# file: ~/.config/compton.conf
# v0.4.2 / 2018.07.19
#
# (c) 2018 Bernd Busse
#
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
# use-ewmh-active-win = true;
backend = "glx"
###############
### SHADOWS ###
###############
shadow = true;
#no-dnd-shadow = true;
#no-dock-shadow = true;
shadow-radius = 7;
shadow-offset-x = -3;
shadow-offset-y = -3;
shadow-opacity = 0.5;
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
shadow-exclude = [
"name = 'Notification'",
"_GTK_FRAME_EXTENTS@:c",
"class_g = 'i3-frame'",
"!I3_FLOATING_WINDOW@:c"
];
# shadow-exclude = "n:e:Notification";
shadow-ignore-shaped = false;
# shadow-exclude-reg = "x10+0+0";
xinerama-shadow-crop = true;
###############
### OPACITY ###
###############
#menu-opacity = 0.8;
#inactive-opacity = 0.8;
# active-opacity = 0.8;
#frame-opacity = 0.7;
#inactive-opacity-override = false;
#alpha-step = 0.06;
# inactive-dim = 0.2;
# inactive-dim-fixed = true;
#blur-background = true;
blur: {
method = "dual_kawase";
strength = 8.0;
# deviation = 1.0;
# kernel = "11x11gaussian";
}
#blur-background-frame = true;
blur-kern = "7x7box";
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
blur-background-fixed = true;
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"class_g = 'Chromium'",
];
opacity-rule = [
#"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"99:class_g = 'kitty' && _NET_WM_STATE@:32a",
"90:class_g = 'kitty' && !_NET_WM_STATE@:32a",
#"99:class_g = 'kitty' && !focused",
#"90:class_g = 'kitty' && focused",
];
##############
### FADING ###
##############
#fading = true;
# fade-delta = 30;
#fade-in-step = 0.03;
#fade-out-step = 0.03;
# no-fading-openclose = true;
#fade-exclude = [ ];
#############
### OTHER ###
#############
# dbe = false;
unredir-if-possible = true;
# unredir-if-possible-delay = 5000;
unredir-if-possible-exclude = [
"name *= 'Chrome'",
"name *= 'Chromium'",
"name *= 'mpv'"
];
focus-exclude = [
"window_type = 'dock'",
"class_g = 'i3-frame'"
];
detect-transient = true;
#detect-client-leader = true;
#invert-color-include = [ ];
resize-damage = 5;
###################
### GLX BACKEND ###
###################
refresh-rate = 0;
vsync = "true";
glx-no-stencil = true;
glx-copy-from-front = false;
#glx-use-copysubbuffermesa = true;
glx-no-rebind-pixmap = true;
#glx-swap-method = "3";
#glx-use-gpushader4 = true;
###########################
### WINDOWTYPE SETTINGS ###
###########################
#wintypes: {
# tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
#};