feat(picom and i3) tweaks corner, opacity and refresh rate

This commit is contained in:
Anhgelus Morhtuuzh 2022-11-04 13:38:49 +01:00
parent 08d7de79ed
commit 430674ecaf
No known key found for this signature in database
GPG key ID: 7765EC9C8383805F
3 changed files with 15 additions and 11 deletions

View file

@ -15,19 +15,18 @@ size-transition = true
# Corners #
#################################
# requires: https://github.com/sdhand/compton or https://github.com/jonaburg/picom
corner-radius = 0;
corner-radius = 6;
rounded-corners-exclude = [
#"window_type = 'normal'",
"class_g = 'awesome'",
"class_g = 'URxvt'",
"class_g = 'XTerm'",
"class_g = 'Alacritty'",
"class_g = 'Polybar'",
#"class_g = 'TelegramDesktop'",
"class_g = 'firefox'",
"class_g = 'Thunderbird'"
];
round-borders = 1;
round-borders = 6;
round-borders-exclude = [
#"class_g = 'TelegramDesktop'",
];
@ -157,11 +156,11 @@ fade-exclude = [
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
# inactive-opacity = 1
inactive-opacity = 0.8;
inactive-opacity = 0.75;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0
frame-opacity = 0.7;
frame-opacity = 0.5;
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
# menu-opacity = 1.0
@ -177,7 +176,7 @@ dropdown_menu = { opacity = 0.8; }
inactive-opacity-override = false;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
active-opacity = 0.9;
active-opacity = 0.95;
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
# inactive-dim = 0.0
@ -187,7 +186,11 @@ active-opacity = 0.9;
focus-exclude = [
"class_g = 'Cairo-clock'",
"class_g = 'Bar'", # lemonbar
"class_g = 'slop'" # maim
"class_g = 'slop'", # maim
# Minecraft
"class_g = 'Minecraft* 1.19.2'",
"class_g = 'Minecraft* 1.8.9'",
"class_g = 'Minecraft* 1.12.2'"
];
# Use fixed inactive dim value, instead of adjusting according to window opacity.
@ -207,7 +210,7 @@ opacity-rule = [
"100:class_g = 'XTerm'",
"100:class_g = 'URxvt'",
"80:class_g = 'kitty'",
"100:class_g = 'Alacritty'",
"95:class_g = 'Alacritty'",
"80:class_g = 'Polybar'",
"90:class_g = 'code-oss'",
"100:class_g = 'Meld'",
@ -297,7 +300,7 @@ backend = "glx";
# Enable/disable VSync.
# vsync = false
vsync = false
vsync = true
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
# dbus = false