From 7b9b0e45108eedb48d440725a726175546ef4968 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 19 Jan 2020 14:59:23 +0100 Subject: [PATCH] modify compton and add albert as launcher --- awesome/.config/awesome/autorun.sh | 1 + wm/.config/{compton.conf => picom.conf} | 29 +++++++++++++++---------- wm/.xinitrc | 2 +- 3 files changed, 20 insertions(+), 12 deletions(-) rename wm/.config/{compton.conf => picom.conf} (94%) diff --git a/awesome/.config/awesome/autorun.sh b/awesome/.config/awesome/autorun.sh index 9adaeb8..568fdf8 100755 --- a/awesome/.config/awesome/autorun.sh +++ b/awesome/.config/awesome/autorun.sh @@ -14,3 +14,4 @@ run keepassxc run aarchup run redshift-gtk run start-pulseaudio-x11 +run albert diff --git a/wm/.config/compton.conf b/wm/.config/picom.conf similarity index 94% rename from wm/.config/compton.conf rename to wm/.config/picom.conf index f4ca8b0..6af0c61 100644 --- a/wm/.config/compton.conf +++ b/wm/.config/picom.conf @@ -47,7 +47,6 @@ glx-copy-from-front = false; # Useless with --glx-use-copysubbuffermesa. # Partially breaks --resize-damage. # Defaults to undefined. -glx-swap-method = "undefined"; ################################# # @@ -57,12 +56,7 @@ glx-swap-method = "undefined"; # Enabled client-side shadows on windows. shadow = true; -# Don't draw shadows on DND windows. -no-dnd-shadow = true; -# Avoid drawing shadows on dock/panel windows. -no-dock-shadow = true; # Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows. -clear-shadow = true; # The blur radius for shadows. (default 12) shadow-radius = 5; # The left offset for shadows. (default -15) @@ -109,12 +103,10 @@ shadow-ignore-shaped = false; # ################################# -menu-opacity = 1; inactive-opacity = 1; active-opacity = 1; frame-opacity = 1; inactive-opacity-override = false; -alpha-step = 0.06; # Dim inactive windows. (0.0 - 1.0) # inactive-dim = 0.2; @@ -184,13 +176,12 @@ refresh-rate = 0; # opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental. # 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-swc"; +vsync = true; # Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing. # Reported to have no effect, though. dbe = false; # Painting on X Composite overlay window. Recommended. -paint-on-overlay = true; # 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 essentially does --sw-opti's job already, @@ -218,7 +209,23 @@ detect-client-leader = true; ################################# wintypes: -{ +{ + popup_menu= + { + opacity = 1; + } + dropdown_menu = + { + opacity = 1; + } + dock = + { + shadow = false; + } + dnd = + { + shadow = false; + } tooltip = { # fade: Fade the particular type of windows. diff --git a/wm/.xinitrc b/wm/.xinitrc index 35a7129..88ce988 100644 --- a/wm/.xinitrc +++ b/wm/.xinitrc @@ -14,7 +14,7 @@ nvidia-settings --load-config-only & eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) export SSH_AUTH_SOCK numlockx & -compton -b & +picom -b & #config pad xinput set-prop 13 312 1 & xinput set-prop 13 304 1 &