-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
21 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,55 @@ | ||
# Opacity | ||
inactive-opacity = 1.0; # Default opacity of inactive windows. (0.0 - 1.0) | ||
active-opacity = 1; # Default opacity for active windows. (0.0 - 1.0) | ||
# inactive-opacity = 1.0; # Default opacity of inactive windows. (0.0 - 1.0) | ||
# active-opacity = 1; # Default opacity for active windows. (0.0 - 1.0) | ||
|
||
# blur | ||
blur-background-fixed = false; # Do not let blur radius adjust based on window opacity. | ||
blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ]; | ||
# blur-background-exclude = [ | ||
# "window_type = 'dock'", | ||
# "window_type = 'desktop'", | ||
# "class_g ?= 'zoom'", | ||
# "name = 'rect-overlay'", | ||
# ]; | ||
|
||
# shadow | ||
shadow = false; # Enabled client-side shadows on windows. | ||
# no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows. | ||
# no-dnd-shadow = true; # Don't draw shadows on DND windows. | ||
# shadow-radius = 7; # The blur radius for shadows. (default 12) | ||
# shadow-offset-x = -7; # The left offset for shadows. (default -15) | ||
# shadow-offset-y = -7; # The top offset for shadows. (default -15) | ||
# shadow-exclude = [ | ||
# "name = 'cpt_frame_xcb_window'", | ||
# "class_g ?= 'zoom'", | ||
# "class_g = 'firefox' && argb", | ||
# "name = 'rect-overlay'", | ||
# "n:w:*Firefox*", | ||
# "n:w:*Chrome*", | ||
# "n:w:*Chromium*", | ||
# ]; | ||
|
||
# Fading | ||
fading = false; # Fade windows during opacity changes. | ||
fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028). | ||
fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03). | ||
fade-exclude = [ ]; # Exclude conditions for fading. | ||
# fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028). | ||
# fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03). | ||
# fade-exclude = [ ]; # Exclude conditions for fading. | ||
|
||
# Other | ||
backend = "glx" # Backend to use: "xrender" or "glx". GLX backend is typically | ||
mark-wmwin-focused = true; # Try to detect WM windows and mark them as active. | ||
mark-ovredir-focused = true; # Mark all non-WM but override-redirect windows active (e.g. menus). | ||
use-ewmh-active-win = false; # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused | ||
detect-rounded-corners = true; # Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on. | ||
vsync = true; | ||
dbe = false; # Enable DBE painting mode. Rarely needed. | ||
unredir-if-possible = true; # Unredirect all windows if a full-screen opaque window is | ||
detect-rounded-corners = true; # Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on. | ||
detect-client-opacity = true; | ||
detect-transient = true; # Use WM_TRANSIENT_FOR to group windows, and consider windows in | ||
detect-client-leader = true; # Use WM_CLIENT_LEADER to group windows. | ||
|
||
# GLX backend # GLX backend fine-tune options. See man page for more info. | ||
#glx-no-stencil = true; # Recommended. | ||
#glx-copy-from-front = false; # Useful with --glx-swap-method, | ||
#glx-use-copysubbuffermesa = true; # Recommended if it works. Breaks VSync. | ||
# glx-no-rebind-pixmap = true; # Recommended if it works. | ||
# glx-swap-method = "undefined"; # See man page. | ||
glx-no-stencil = true; # Recommended. | ||
glx-no-rebind-pixmap = true; # Recommended if it works. | ||
|
||
# Window type settings | ||
wintypes: | ||
{ | ||
tooltip = { fade = true; shadow = false; opacity = 0.95; focus = true; }; | ||
# fade: Fade the particular type of windows. | ||
# shadow: Give those windows shadow | ||
# opacity: Default opacity for the type of windows. | ||
# focus: Whether to always consider windows of this type focused. | ||
}; | ||
|