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

@ -34,6 +34,7 @@ gaps outer 3
# show window title bars (not officially supported with i3gaps)
#default_border normal
default_border pixel 0
# window title alignment
#title_align center
@ -545,7 +546,7 @@ bindsym $mod+t exec rofi -show window \
#exec --no-startup-id greenclip daemon>/dev/null
#bindsym $mod+c exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard \
# -config ~/.config/rofi/rofidmenu.rasi
exec_always --no-startup-id xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-0 -r 144.00 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-4 --off --output DP-5 --mode 1920x1080 --pos 1920x0 --rotate normal
exec_always --no-startup-id xrandr --output DP-0 --off --output DP-1 --off --output DP-2 --off --output DP-3 --off --output HDMI-0 -r 144.00 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-4 --off --output DP-5 -r 74.97 --mode 1920x1080 --pos 1920x0 --rotate normal
# Polybar
exec_always --no-startup-id killall -q polybar

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

View file

@ -37,7 +37,7 @@ foreground = ${colors.foreground}
line-size = 3pt
border-size = 4pt
border-size = 6pt
border-color = #00000000
padding-left = 0