1
0
Fork 0
mirror of https://gitlab.com/dwt1/dotfiles.git synced 2023-02-13 20:55:19 -05:00
dwt1--dotfiles/.config/picom/picom.conf

117 lines
3.3 KiB
Text
Raw Normal View History

2020-12-12 10:09:31 -05:00
# ____ _____
# | _ \_ _| Derek Taylor (DistroTube)
# | | | || | http://www.youtube.com/c/DistroTube
# | |_| || | http://www.gitlab.com/dwt1/
# |____/ |_|
#
2021-04-04 11:43:40 -04:00
# My config. Not much to see here; just some pretty standard stuff.
2020-12-12 10:09:31 -05:00
2021-04-04 11:43:40 -04:00
# Enabled client-side shadows on windows. Note desktop windows
2020-12-12 10:09:31 -05:00
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
# unless explicitly requested using the wintypes option.
#
2020-05-13 13:37:29 -04:00
shadow = true;
2020-12-12 10:09:31 -05:00
# The blur radius for shadows, in pixels. (defaults to 12)
2021-04-04 11:43:40 -04:00
shadow-radius = 8;
2020-12-12 10:09:31 -05:00
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
2021-04-07 17:38:17 -04:00
shadow-opacity = .6
2020-12-12 10:09:31 -05:00
# The left offset for shadows, in pixels. (defaults to -15)
2021-04-07 17:38:17 -04:00
shadow-offset-x = -3;
2020-12-12 10:09:31 -05:00
# The top offset for shadows, in pixels. (defaults to -15)
2021-04-07 17:38:17 -04:00
shadow-offset-y = -3;
2020-12-12 10:09:31 -05:00
# 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 = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"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
2020-05-13 13:37:29 -04:00
fade-in-step = 0.03;
2020-12-12 10:09:31 -05:00
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
# fade-out-step = 0.03
2020-05-13 13:37:29 -04:00
fade-out-step = 0.03;
2020-12-12 10:09:31 -05:00
# 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)
2021-04-04 11:43:40 -04:00
# inactive-opacity = 0.8
inactive-opacity = 1.0;
2020-12-12 10:09:31 -05:00
# 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 = 'Cairo-clock'",
"class_g = 'Bar'", # lemonbar
"class_g = 'slop'" # maim
];
opacity-rule = [
"100:class_g = 'XTerm'",
"100:class_g = 'URxvt'",
"100:class_g = 'firefox'",
"100:class_g = 'Thunderbird'"
];
wintypes:
2020-05-13 13:37:29 -04:00
{
2020-12-12 10:09:31 -05:00
normal = { fade = false; shadow = true; }
2022-03-01 18:02:07 -05:00
tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; full-shadow = false; };
2021-04-04 11:43:40 -04:00
dock = { shadow = false; }
dnd = { shadow = true; }
2020-12-12 10:09:31 -05:00
popup_menu = { opacity = 0.8; }
dropdown_menu = { opacity = 0.8; }
2020-05-13 13:37:29 -04:00
};