Created
May 9, 2021 16:17
-
-
Save Albonycal/138c01e7802ff9941de1e26648b24fee to your computer and use it in GitHub Desktop.
picom
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# albony | |
# ***Picom*** | |
# | |
# Enabled client-side shadows on windows. Note desktop windows | |
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, | |
# unless explicitly requested using the wintypes option. | |
# | |
shadow = true; | |
# The blur radius for shadows, in pixels. (defaults to 12) | |
shadow-radius = 8; | |
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75) | |
shadow-opacity = .75 | |
# The left offset for shadows, in pixels. (defaults to -15) | |
shadow-offset-x = 1; | |
# The top offset for shadows, in pixels. (defaults to -15) | |
shadow-offset-y = 1; | |
# Specify a list of conditions of windows that should have no shadow. | |
# | |
# examples: | |
# shadow-exclude = "n:e:Notification"; | |
# | |
# shadow-exclude = [] | |
shadow-exclude = [ | |
"name = 'Notification'", | |
"class_g ?= 'Notify-osd'", | |
"class_g = 'slop'", | |
"class_g = 'Polybar'", | |
"_GTK_FRAME_EXTENTS@:c" | |
]; | |
# 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 | |
] | |
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) | |
# inactive-opacity = 0.8 | |
inactive-opacity = 1.0; | |
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) | |
# frame-opacity = 1.0 | |
frame-opacity = 0.7; | |
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) | |
# menu-opacity = 1.0 | |
# menu-opacity is depreciated use dropdown-menu and popup-menu instead. | |
#If using these 2 below change their values in line 510 & 511 aswell | |
popup_menu = { opacity = 0.8; } | |
dropdown_menu = { opacity = 0.8; } | |
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. | |
# inactive-opacity-override = true | |
inactive-opacity-override = false; | |
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) | |
active-opacity = 1.0; | |
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) | |
# inactive-dim = 0.0 | |
# Specify a list of conditions of windows that should always be considered focused. | |
# focus-exclude = [] | |
focus-exclude = [ | |
"class_g = 'Bar'", # lemonbar | |
"class_g = 'slop'" # maim | |
]; | |
opacity-rule = [ | |
"100:class_g = 'firefox'", | |
]; | |
wintypes: | |
{ | |
normal = { fade = false; shadow = true; } | |
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; | |
dock = { shadow = false; } | |
dnd = { shadow = true; } | |
popup_menu = { opacity = 0.8; } | |
dropdown_menu = { opacity = 0.8; } | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment