added picom

This commit is contained in:
2025-06-07 21:49:42 -04:00
parent f1fbeb2cd7
commit b9c460cdcf
2 changed files with 141 additions and 1 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ exec --no-startup-id nm-applet
exec --no-startup-id /usr/lib/notify-osd/notify-osd &
exec_always feh --bg-fill "$(find /home/ion606/Pictures/astolfo/ -type f | shuf -n 1)"
exec_always picom --config .config/picom/picom.conf
exec_always picom --config /home/ion606/.config/picom/picom.config
exec_always --no-startup-id eww daemon
focus_follows_mouse no
+140
View File
@@ -0,0 +1,140 @@
# ~/.config/picom.conf
##################################
# GENERAL
##################################
# use xrender backend (more compatible)
backend = "xrender";
# enable vsync to avoid tearing
vsync = true;
# refresh rate detection (set to 0 to disable)
refresh_rate = 0;
# detect screens and reconfigure when outputs change
detect_outputs = true;
# start quiet (no startup notification)
startup_notification = false;
##################################
# SHADOWS
##################################
# whether to draw shadows
shadow = true;
# shadow radius for blur
shadow-radius = 7;
# shadow offset in x and y
shadow-offset-x = -7;
shadow-offset-y = -7;
# shadow color (rgba)
shadow-color = "#00000080";
# classes or windows to exclude from having shadows
shadow-exclude = [
"class_g = 'i3-frame'",
"window_type = 'dock'",
"window_type = 'desktop'"
];
##################################
# FADING (disabled)
##################################
# disable all fade effects
fading = false;
# or if you wanted to re-enable but only disable open/close fades:
# no-fading-openclose = true;
##################################
# BLUR (optional)
##################################
# enable blur
blur-background = true;
# blur method: options are 'kernel' or 'dual_kawase'
blur-method = "dual_kawase";
# strength of the blur
blur-strength = 5;
# windows to exclude from blur
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"class_g = 'Firefox'",
"class_g ?= '.*Termite.*'"
];
##################################
# OPACITY RULES
##################################
# inactive windows are slightly dimmed
inactive-opacity = 0.90;
# active window full opacity
active-opacity = 1.0;
# opacity for override-redirect (eg dropdowns)
frame-opacity = 0.80;
# per-window opacity overrides
opacity-rule = [
"90:class_g = 'URxvt'",
"85:class_g = 'Alacritty'",
"80:class_g = 'steam'",
"75:class_g = 'discord'"
];
##################################
# OTHER EFFECTS
##################################
# dim background windows (if wanted)
# dim = true;
# dim-fixed = 0.2;
# dim-exclude = [];
# mark focused windows (outline)
# mark-wm-focused = true;
# mark-wm-focused-color = "#ff0000";
# blur on fullscreen (eg videos)
# blur-background-frame = true;
##################################
# EXCLUSIONS
##################################
# don't blur or shadow some windows
shadow-exclude = [
"class_g = 'firefox'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
fading-exclude = [
"class_g = 'Conky'",
"class_g = 'plasmashell'"
];
##################################
# MISC
##################################
# detect inactive fullscreen and disable effects
detect-client-opacity = true;
# log file (for debugging)
log-file = "~/.cache/picom.log";
# log-level: trace, debug, info, warn, error
log-level = "info";