Skip to content

Commit

Permalink
(i3) fix ghosting on ania
Browse files Browse the repository at this point in the history
  • Loading branch information
fbegyn committed Jan 16, 2024
1 parent 0ebe73f commit 011452d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 21 deletions.
2 changes: 1 addition & 1 deletion users/francis/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl -e s +10%
exec --no-startup-id chromium
exec --no-startup-id dunst
exec --no-startup-id ~/.fehbg
exec --no-startup-id picom --daemon
# exec --no-startup-id picom --daemon
exec --no-startup-id nm-applet
#exec --no-startup-id slack
#exec --no-startup-id telegram-desktop
Expand Down
53 changes: 33 additions & 20 deletions users/francis/i3/picom.conf
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.
};

0 comments on commit 011452d

Please sign in to comment.