diff options
author | eug-vs <eug-vs@keemail.me> | 2021-01-06 20:10:20 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-01-06 20:10:20 +0300 |
commit | 35ce6e0061a6ed8b270b4cbc59668ff745ad3c80 (patch) | |
tree | 6e2fc5b1a4c4ab80083c588b4e34499d9b042c1d | |
parent | 14eb7ecf0ddd132fac72d0a1d982c19f0d8aa514 (diff) | |
download | dotfiles-35ce6e0061a6ed8b270b4cbc59668ff745ad3c80.tar.gz |
feat: add rounded corners and improve picom config
-rw-r--r-- | .picom.conf | 62 |
1 files changed, 10 insertions, 52 deletions
diff --git a/.picom.conf b/.picom.conf index 3a13239..290707b 100644 --- a/.picom.conf +++ b/.picom.conf @@ -15,12 +15,10 @@ size-transition = true # Corners # ################################# # requires: https://github.com/sdhand/compton or https://github.com/jonaburg/picom -# corner-radius = 10.0; -# rounded-corners-exclude = [ -# "class_g = 'firefox'", -# "class_g = 'i3status'", -# -# ]; +corner-radius = 10.0; +rounded-corners-exclude = [ + "window_type = 'dock'", +]; # round-borders = 1; # round-borders-exclude = [ # #"class_g = 'TelegramDesktop'", @@ -28,47 +26,13 @@ size-transition = true # ]; ################################# -# Fading # -################################# - - -# Fade windows in/out when opening/closing and when opacity changes, -# unless no-fading-openclose is used. -# fading = false -fading = true; - -# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) -# fade-in-step = 0.028 -fade-in-step = 0.03; - -# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) -# fade-out-step = 0.03 -fade-out-step = 0.03; - -# The time between steps in fade step, in milliseconds. (> 0, defaults to 10) -# fade-delta = 10 - -# Specify a list of conditions of windows that should not be faded. -# don't need this, we disable fading for all normal windows with wintypes: {} -fade-exclude = [ - "class_g = 'slop'" # maim -] - -# Do not fade on window open/close. -# no-fading-openclose = false - -# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. -# no-fading-destroyed-argb = false - - -################################# # Transparency / Opacity # ################################# # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) # inactive-opacity = 1 -inactive-opacity = 0.85; +inactive-opacity = 0.8; # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # frame-opacity = 1.0 @@ -115,6 +79,7 @@ focus-exclude = [ opacity-rule = [ "100:class_g = 'TelegramDesktop'", "100:class_g = 'Slack'", + "100:class_g = 'Spotify'", "100:class_g = 'firefox'", ]; @@ -159,7 +124,7 @@ blur: { # requires: https://github.com/ibhagwan/picom method = "kawase"; #method = "kernel"; - strength = 3; + strength = 2; # deviation = 1.0; # kernel = "11x11gaussian"; background = false; @@ -170,16 +135,9 @@ blur: { # Exclude conditions for background blur. blur-background-exclude = [ - #"window_type = 'dock'", - #"window_type = 'desktop'", - #"class_g = 'URxvt'", - # - # prevents picom from blurring the background - # when taking selection screenshot with `main` - # https://github.com/naelstrof/maim/issues/130 - "class_g = 'i3blocks'", - "class_g = 'slop'", - "_GTK_FRAME_EXTENTS@:c" + "window_type = 'tooltip'", + "window_type = 'menu'", + "window_type = 'notification'", ]; |