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'",
|
2022-07-04 13:44:55 -04:00
|
|
|
"class_g = 'trayer'",
|
2020-12-12 10:09:31 -05:00
|
|
|
"_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
|
2022-05-01 20:52:36 -04:00
|
|
|
inactive-opacity = 1.00
|
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
|
2022-05-01 20:52:36 -04:00
|
|
|
frame-opacity = 1.00
|
2020-12-12 10:09:31 -05:00
|
|
|
|
|
|
|
# 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)
|
2022-04-25 19:11:27 -04:00
|
|
|
active-opacity = 1.00
|
2020-12-12 10:09:31 -05:00
|
|
|
|
|
|
|
# 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
|
2022-07-11 15:37:19 -04:00
|
|
|
"class_g = 'slop'", # maim
|
2022-07-04 13:44:55 -04:00
|
|
|
"class_g = 'trayer'" # trayer
|
2020-12-12 10:09:31 -05:00
|
|
|
];
|
|
|
|
|
|
|
|
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-04-25 17:45:42 -04:00
|
|
|
tooltip = { fade = true; shadow = true; opacity = 0.75; 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
|
|
|
};
|