From 6c8a1386a5938eaea247e9cdb5f1d820bf9fbe2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Kmie=C4=87?= Date: Thu, 27 Jan 2022 22:52:22 +0100 Subject: [PATCH] picom: configure some transparency --- .config/alacritty/alacritty.yml | 5 +++-- .config/picom.conf | 19 ++++++++++--------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index ad45900..fbaf154 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -529,8 +529,9 @@ hints: # # - `mods` (see key bindings) #mouse_bindings: -# - { mouse: Right, action: ExpandSelection } -# - { mouse: Middle, mode: ~Vi, action: PasteSelection } +# - { mouse: Right, action: ExpandSelection } +# - { mouse: Right, mods: Control, action: ExpandSelection } +# - { mouse: Middle, mode: ~Vi, action: PasteSelection } # Key bindings # diff --git a/.config/picom.conf b/.config/picom.conf index 26fc9e4..0750f87 100644 --- a/.config/picom.conf +++ b/.config/picom.conf @@ -8,7 +8,6 @@ # unless explicitly requested using the wintypes option. # # shadow = false -shadow = true; # The blur radius for shadows, in pixels. (defaults to 12) # shadow-radius = 12 @@ -88,7 +87,7 @@ shadow-exclude = [ # Fade windows in/out when opening/closing and when opacity changes, # unless no-fading-openclose is used. # fading = false -fading = true +fading = false # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # fade-in-step = 0.028 @@ -122,7 +121,7 @@ inactive-opacity = 0.8; # 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 @@ -132,10 +131,10 @@ frame-opacity = 0.7; inactive-opacity-override = false; # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) -# active-opacity = 1.0 +active-opacity = 0.95 # Dim inactive windows. (0.0 - 1.0, defaults to 0.0) -# inactive-dim = 0.0 +#inactive-dim = 0.05 # Specify a list of conditions of windows that should always be considered focused. # focus-exclude = [] @@ -151,7 +150,9 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ]; # example: # opacity-rule = [ "80:class_g = 'URxvt'" ]; # -# opacity-rule = [] +opacity-rule = [ "100:name *= 'Firefox'", + "100:name *= 'Chrome'", + "100:name *= 'Slack'"] ################################# @@ -161,7 +162,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ]; # Parameters for background blurring, see the *BLUR* section for more information. # blur-method = -# blur-size = 12 +blur-size = 12 # # blur-deviation = false @@ -169,7 +170,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ]; # Bad in performance, with driver-dependent behavior. # The name of the switch may change without prior notifications. # -# blur-background = false +blur-background = true # Blur background of windows when the window frame is not opaque. # Implies: @@ -245,7 +246,7 @@ detect-client-opacity = true; # try detecting this with X RandR extension. # # refresh-rate = 60 -refresh-rate = 144 +refresh-rate = 120 # Limit picom to repaint at most once every 1 / 'refresh_rate' second to # boost performance. This should not be used with