From 066ccd15c9bca2873478984f23cc1f365921aa8b Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Tue, 3 Mar 2020 17:56:37 +0530 Subject: improved compton --- bspwm/.config/bspwm/bspwmrc | 3 ++- compton/.config/compton.conf | 15 ++++++--------- x/.xinitrc | 2 +- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index 367abce..83be49c 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc @@ -3,7 +3,8 @@ sxhkd & dunst & unclutter & -xss-lock -- /home/fd0e/bin/lock & +xss-lock -- /home/fd0e/.local/bin/lock & +/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & compton --config ~/.config/compton.conf & ~/scrypts/bat_check.sh & redshift -l 13.082680:80.270718 & diff --git a/compton/.config/compton.conf b/compton/.config/compton.conf index e177591..885678c 100644 --- a/compton/.config/compton.conf +++ b/compton/.config/compton.conf @@ -1,6 +1,3 @@ -# Thank you code_nomad: http://9m.no/ꪯ鵞 -# Found on https://git.archlinux.org/svntogit/community.git/tree/trunk/compton.conf?h=packages/compton#n80 - ################################# # # Backend @@ -92,14 +89,14 @@ shadow-exclude = [ "name *= 'compton'", "name *= 'Chromium'", "name *= 'Chrome'", + "name *= 'Firefox'", "class_g = 'Conky'", "class_g = 'Kupfer'", "class_g = 'Synapse'", "class_g ?= 'Notify-osd'", "class_g ?= 'Cairo-dock'", "class_g ?= 'Xfce4-notifyd'", - "class_g ?= 'Xfce4-power-manager'", - "_GTK_FRAME_EXTENTS@:c" + "class_g ?= 'Xfce4-power-manager'" ]; # Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners) shadow-ignore-shaped = false; @@ -110,15 +107,15 @@ shadow-ignore-shaped = false; # ################################# -menu-opacity = 0.9; -inactive-opacity = 0.9; +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.1; +# inactive-dim = 0.2; # Do not let dimness adjust based on window opacity. # inactive-dim-fixed = true; # Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred. @@ -196,7 +193,7 @@ 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, # unless you wish to specify a lower refresh rate than the actual value. -sw-opti = true; +sw-opti = false; # Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games. # Known to cause flickering when redirecting/unredirecting windows. diff --git a/x/.xinitrc b/x/.xinitrc index 13792ac..1da9231 100644 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -61,4 +61,4 @@ if [ "$2" = "nvidia" ]; then xrandr --auto fi xsetroot -cursor_name left_ptr -exec bspwm +exec dbus-launch bspwm -- cgit v1.2.3