fix(picom): xclip taking blurry screenshot
This commit is contained in:
parent
1b72a07b44
commit
d7272142a6
2 changed files with 46 additions and 47 deletions
|
@ -29,8 +29,8 @@ new_window pixel 1
|
|||
# hide_edge_borders both
|
||||
|
||||
# Set inner/outer gaps
|
||||
gaps inner 20
|
||||
gaps outer -12
|
||||
gaps inner 30
|
||||
gaps outer 0
|
||||
|
||||
# show window title bars (not officially supported with i3gaps)
|
||||
#default_border normal
|
||||
|
@ -565,9 +565,9 @@ exec flatpak run com.discordapp.Discord
|
|||
# Screenshot
|
||||
bindsym Print exec --no-startup-id maim "/home/$USER/Images/$(date).png"
|
||||
bindsym $mod+Print exec --no-startup-id maim --window $(xdotool getactivewindow) "/home/$USER/Images/$(date).png"
|
||||
bindsym Shift+Print exec --no-startup-id maim --select "/home/$USER/Images/$(date).png"
|
||||
bindsym Shift+Print exec --no-startup-id maim -s -u "/home/$USER/Images/$(date).png"
|
||||
|
||||
## Clipboard Screenshots
|
||||
bindsym Ctrl+Print exec --no-startup-id maim | xclip -selection clipboard -t image/png
|
||||
bindsym Ctrl+$mod+Print exec --no-startup-id maim --window $(xdotool getactivewindow) | xclip -selection clipboard -t image/png
|
||||
bindsym Ctrl+Shift+Print exec --no-startup-id maim --select | xclip -selection clipboard -t image/png
|
||||
bindsym Ctrl+Shift+Print exec --no-startup-id maim -s -u | xclip -selection clipboard -t image/png -i
|
||||
|
|
|
@ -1,54 +1,53 @@
|
|||
# Opacity
|
||||
inactive-opacity = 0.4;
|
||||
## Shadow
|
||||
shadow = true;
|
||||
no-dnd-shadow = true;
|
||||
no-dock-shadow = false;
|
||||
clear-shadow = true;
|
||||
shadow-radius = 12;
|
||||
shadow-offset-x = -17;
|
||||
shadow-offset-y = -7;
|
||||
shadow-opacity = 0.5;
|
||||
|
||||
## fading
|
||||
fading = true;
|
||||
fade-delta = 0.25;
|
||||
fade-in-step = 0.02;
|
||||
fade-out-step = 0.02;
|
||||
fade-exclude = [
|
||||
];
|
||||
|
||||
## opacity
|
||||
active-opacity = 0.8;
|
||||
inactive-opacity = 0.4;
|
||||
frame-opacity = 0.7;
|
||||
opacity-rule = [
|
||||
"100:name *= 'Minecraft'"
|
||||
];
|
||||
|
||||
opacity-rule = [
|
||||
"100:name*='Minecraft'",
|
||||
"100:class_g='maim'"
|
||||
]
|
||||
|
||||
# Border
|
||||
corner-radius = 6
|
||||
round-borders = 6
|
||||
|
||||
# Blur
|
||||
blur:
|
||||
{
|
||||
method = "dual_kawase";
|
||||
strength = 12;
|
||||
background-exclude = [
|
||||
"name*='rect-overlay'"
|
||||
"name*='xclip'"
|
||||
];
|
||||
}
|
||||
|
||||
wintypes:
|
||||
{
|
||||
normal = { blur-background = true; };
|
||||
splash = { blur-background = false; };
|
||||
}
|
||||
|
||||
# Fading
|
||||
fading = false;
|
||||
fade-in-step = 0.07;
|
||||
fade-out-step = 0.07;
|
||||
fade-exclude = [ ];
|
||||
|
||||
# Other
|
||||
## other
|
||||
backend = "glx";
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
vsync = true;
|
||||
vsync = false;
|
||||
dbe = false;
|
||||
unredir-if-possible = true;
|
||||
paint-on-overlay = true;
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
|
||||
# GLX Backend
|
||||
backend = "glx";
|
||||
glx-no-stencil = true
|
||||
invert-color-include = [ ];
|
||||
glx-copy-from-front = false;
|
||||
use-damage = true;
|
||||
glx-no-rebind-pixmap = true;
|
||||
wintypes:
|
||||
{
|
||||
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
|
||||
};
|
||||
corner-radius = 10.0;
|
||||
|
||||
## blur
|
||||
blur-background = true;
|
||||
blur-background-frame = false;
|
||||
blur-background-fixed = false;
|
||||
blur-kern = "3x3box";
|
||||
blur-method = "dual_kawase";
|
||||
blur-strength = 10;
|
||||
blur-background-exclude = [ "class_g = 'slop'", "class_g = 'Peek'", "class_g = 'kdeconnect.daemon'", "window_type = 'desktop'" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue