diff --git a/os/+arch/.config/compton.conf b/os/+arch/.config/compton.conf index 9824ef88..c132b7ab 100644 --- a/os/+arch/.config/compton.conf +++ b/os/+arch/.config/compton.conf @@ -1,4 +1,4 @@ -backend = "glx"; +backend = "xrender"; glx-no-stencil = true; glx-copy-from-front = false; glx-no-rebind-pixmap = true; @@ -18,7 +18,7 @@ glx-swap-method = "undefined"; # + opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the # same as opengl-swc above, except the extension we use. # (Note some VSync methods may not be enabled at compile time.) -vsync = "opengl-mswc"; +vsync = "none"; # Limit compton to repaint at most once every 1 / refresh_rate second to boost # performance. This should not be used with --vsync drm/opengl/opengl-oml as they @@ -41,11 +41,12 @@ unredir-if-possible = true; # Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused # at the same time. -detect-transient = true; +detect-transient = false; + # Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused # at the same time. WM_TRANSIENT_FOR has higher priority if --detect-transient is # enabled, too. -detect-client-leader = true; +detect-client-leader = false; ######################################## @@ -80,9 +81,9 @@ shadow-ignore-shaped = true; # ######################################## -menu-opacity = 0.95; -active-opacity = 1.00; -inactive-opacity = 0.90; +menu-opacity = 1; +active-opacity = 1; +inactive-opacity = 0.9; inactive-dim = 0.25; # frame-opacity = 0.8; inactive-opacity-override = false; @@ -103,7 +104,7 @@ fade-out-step = 0.08; detect-rounded-corners = true; #mark-wmwin-focused = true; #mark-ovredir-focused = true; -#refresh-rate = 0; +refresh-rate = 0; focus-exclude = [ "class_g = 'love'", diff --git a/os/+arch/.xprofile b/os/+arch/.xprofile index 0c3182e9..a71a9024 100644 --- a/os/+arch/.xprofile +++ b/os/+arch/.xprofile @@ -1,7 +1,5 @@ #!/usr/bin/env bash -export __GL_THREADED_OPTIMISATIONS=1 - # Maybe start this daemon running() { pgrep -x "$1" >/dev/null; } run() { @@ -29,7 +27,9 @@ run feh --no-fehbg --image-bg black --bg-center "$HOME/wallpaper" # essentials run sxhkd & # keyboard daemon run dunst & # notifications -run compton & # perdy effects + transparency + +# perdy effects + transparency +[[ -f ~/.config/compton.conf ]] && run compton & # non-essentials run mpd & # music server