added rounded corners to kitty and inactive opacity

This commit is contained in:
Moritz Böhme 2021-04-25 19:03:12 +02:00
parent 1c74d35fb2
commit 93c578e4fe
2 changed files with 10 additions and 6 deletions

View file

@ -2,6 +2,8 @@ font_family FiraCode Nerd Font
font_size 10 font_size 10
window_padding_width 3
adjust_line_height 105% adjust_line_height 105%
cursor_shape underline cursor_shape underline

View file

@ -21,7 +21,7 @@ rounded-corners-exclude = [
"class_g = 'awesome'", "class_g = 'awesome'",
"class_g = 'URxvt'", "class_g = 'URxvt'",
"class_g = 'XTerm'", "class_g = 'XTerm'",
"class_g = 'kitty'", # "class_g = 'kitty'",
"class_g = 'Alacritty'", "class_g = 'Alacritty'",
"class_g = 'Polybar'", "class_g = 'Polybar'",
"class_g = 'code-oss'", "class_g = 'code-oss'",
@ -161,7 +161,7 @@ fade-exclude = [
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
# inactive-opacity = 1 # inactive-opacity = 1
inactive-opacity = 0.5; inactive-opacity = 0.95;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0 # frame-opacity = 1.0
@ -210,14 +210,16 @@ opacity-rule = [
"100:class_g = 'slop'", # maim "100:class_g = 'slop'", # maim
"100:class_g = 'XTerm'", "100:class_g = 'XTerm'",
"100:class_g = 'URxvt'", "100:class_g = 'URxvt'",
"90:class_g = 'kitty'", "90:class_g = 'kitty' && focused",
"85:class_g = 'kitty' && !focused",
"100:class_g = 'Alacritty'", "100:class_g = 'Alacritty'",
"80:class_g = 'Polybar'", "80:class_g = 'Polybar'",
"100:class_g = 'code-oss'", "100:class_g = 'code-oss'",
"100:class_g = 'Meld'", "100:class_g = 'Meld'",
"90:class_g = 'TelegramDesktop'", "90:class_g = 'TelegramDesktop'",
"90:class_g = 'Joplin'", "90:class_g = 'Joplin'",
"100:class_g = 'firefox'", "100:class_g = 'firefox' && focused",
"95:class_g = 'firefox' && !focused",
"100:class_g = 'Thunderbird'", "100:class_g = 'Thunderbird'",
#"70:class_g = 'kitty' && !focused", #"70:class_g = 'kitty' && !focused",
#"90:class_g = 'kitty' && focused", #"90:class_g = 'kitty' && focused",
@ -316,8 +318,8 @@ vsync = true
mark-wmwin-focused = true; mark-wmwin-focused = true;
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. # Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
# mark-ovredir-focused = false mark-ovredir-focused = false
mark-ovredir-focused = true; # mark-ovredir-focused = true;
# Try to detect windows with rounded corners and don't consider them # Try to detect windows with rounded corners and don't consider them
# shaped windows. The accuracy is not very high, unfortunately. # shaped windows. The accuracy is not very high, unfortunately.