Update picom configuration

This commit is contained in:
Şahin Akkaya 2022-04-06 23:55:36 +03:00
parent de41acff1f
commit a80154bb2d
2 changed files with 17 additions and 17 deletions

View File

@ -8,22 +8,22 @@
# unless explicitly requested using the wintypes option. # unless explicitly requested using the wintypes option.
# #
# shadow = false # shadow = false
shadow = true; shadow = false;
# The blur radius for shadows, in pixels. (defaults to 12) # The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12 # shadow-radius = 12
shadow-radius = 7; shadow-radius = 24;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75) # The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
# shadow-opacity = .75 shadow-opacity = .86
# The left offset for shadows, in pixels. (defaults to -15) # The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15 shadow-offset-x = -15
shadow-offset-x = -7; # shadow-offset-x = -7;
# The top offset for shadows, in pixels. (defaults to -15) # The top offset for shadows, in pixels. (defaults to -15)
# shadow-offset-y = -15 shadow-offset-y = -15
shadow-offset-y = -7; # shadow-offset-y = -7;
# Red color value of shadow (0.0 - 1.0, defaults to 0). # Red color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-red = 0 # shadow-red = 0
@ -104,15 +104,15 @@ fade-delta = 5
# 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.95; inactive-opacity = 0.5;
# 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
frame-opacity = 0.9; # frame-opacity = 0.9;
# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows. # Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
# inactive-opacity-override = true # inactive-opacity-override = true
inactive-opacity-override = false; inactive-opacity-override = true;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
# active-opacity = 1.0 # active-opacity = 1.0
@ -144,11 +144,11 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Sets the radius of rounded window corners. When > 0, the compositor will # Sets the radius of rounded window corners. When > 0, the compositor will
# round the corners of windows. Does not interact well with # round the corners of windows. Does not interact well with
# `transparent-clipping`. # `transparent-clipping`.
corner-radius = 0 # corner-radius = 13
# Exclude conditions for rounded corners. # Exclude conditions for rounded corners.
rounded-corners-exclude = [ rounded-corners-exclude = [
"window_type = 'dock'", "window_type = 'dock'",
"window_type = 'desktop'" "window_type = 'desktop'"
]; ];
@ -159,18 +159,18 @@ rounded-corners-exclude = [
# Parameters for background blurring, see the *BLUR* section for more information. # Parameters for background blurring, see the *BLUR* section for more information.
# blur-method = blur-method = "dual_kawase"
# blur-size = 12 blur-size = 12
# #
# blur-deviation = false # blur-deviation = false
# #
# blur-strength = 5 blur-strength = 5
# Blur background of semi-transparent / ARGB windows. # Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior. # Bad in performance, with driver-dependent behavior.
# The name of the switch may change without prior notifications. # The name of the switch may change without prior notifications.
# #
# blur-background = false blur-background = false
# Blur background of windows when the window frame is not opaque. # Blur background of windows when the window frame is not opaque.
# Implies: # Implies:

View File

@ -11,7 +11,7 @@ function run {
rm ~/.cache/workspaces rm ~/.cache/workspaces
nitrogen --save --set-zoom-fill ~/Pictures/Wallpapers/default.jpg nitrogen --save --set-zoom-fill ~/Pictures/Wallpapers/default.jpg
run picom & disown # --experimental-backends --vsync should prevent screen tearing on most setups if needed run picom --experimental-backends --vsync -b # should prevent screen tearing on most setups if needed
eww -c ~/.config/eww/bar/ close-all eww -c ~/.config/eww/bar/ close-all
eww -c ~/.config/eww/bar/ open bar eww -c ~/.config/eww/bar/ open bar