diff options
author | Shubham Saini <shubham6405@gmail.com> | 2020-03-03 12:26:37 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@gmail.com> | 2020-03-03 12:26:37 +0000 |
commit | 066ccd15c9bca2873478984f23cc1f365921aa8b (patch) | |
tree | 33b16656cfac825fb2a790083f5b2275fd68bd16 | |
parent | 335c34c82720180c1f2c71b8c199bc2bc512b804 (diff) |
improved compton
-rwxr-xr-x | bspwm/.config/bspwm/bspwmrc | 3 | ||||
-rw-r--r-- | compton/.config/compton.conf | 15 | ||||
-rw-r--r-- | 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 @@ | |||
3 | sxhkd & | 3 | sxhkd & |
4 | dunst & | 4 | dunst & |
5 | unclutter & | 5 | unclutter & |
6 | xss-lock -- /home/fd0e/bin/lock & | 6 | xss-lock -- /home/fd0e/.local/bin/lock & |
7 | /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & | ||
7 | compton --config ~/.config/compton.conf & | 8 | compton --config ~/.config/compton.conf & |
8 | ~/scrypts/bat_check.sh & | 9 | ~/scrypts/bat_check.sh & |
9 | redshift -l 13.082680:80.270718 & | 10 | 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 @@ | |||
1 | # Thank you code_nomad: http://9m.no/ꪯ鵞 | ||
2 | # Found on https://git.archlinux.org/svntogit/community.git/tree/trunk/compton.conf?h=packages/compton#n80 | ||
3 | |||
4 | ################################# | 1 | ################################# |
5 | # | 2 | # |
6 | # Backend | 3 | # Backend |
@@ -92,14 +89,14 @@ shadow-exclude = [ | |||
92 | "name *= 'compton'", | 89 | "name *= 'compton'", |
93 | "name *= 'Chromium'", | 90 | "name *= 'Chromium'", |
94 | "name *= 'Chrome'", | 91 | "name *= 'Chrome'", |
92 | "name *= 'Firefox'", | ||
95 | "class_g = 'Conky'", | 93 | "class_g = 'Conky'", |
96 | "class_g = 'Kupfer'", | 94 | "class_g = 'Kupfer'", |
97 | "class_g = 'Synapse'", | 95 | "class_g = 'Synapse'", |
98 | "class_g ?= 'Notify-osd'", | 96 | "class_g ?= 'Notify-osd'", |
99 | "class_g ?= 'Cairo-dock'", | 97 | "class_g ?= 'Cairo-dock'", |
100 | "class_g ?= 'Xfce4-notifyd'", | 98 | "class_g ?= 'Xfce4-notifyd'", |
101 | "class_g ?= 'Xfce4-power-manager'", | 99 | "class_g ?= 'Xfce4-power-manager'" |
102 | "_GTK_FRAME_EXTENTS@:c" | ||
103 | ]; | 100 | ]; |
104 | # Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners) | 101 | # Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners) |
105 | shadow-ignore-shaped = false; | 102 | shadow-ignore-shaped = false; |
@@ -110,15 +107,15 @@ shadow-ignore-shaped = false; | |||
110 | # | 107 | # |
111 | ################################# | 108 | ################################# |
112 | 109 | ||
113 | menu-opacity = 0.9; | 110 | menu-opacity = 1; |
114 | inactive-opacity = 0.9; | 111 | inactive-opacity = 1; |
115 | active-opacity = 1; | 112 | active-opacity = 1; |
116 | frame-opacity = 1; | 113 | frame-opacity = 1; |
117 | inactive-opacity-override = false; | 114 | inactive-opacity-override = false; |
118 | alpha-step = 0.06; | 115 | alpha-step = 0.06; |
119 | 116 | ||
120 | # Dim inactive windows. (0.0 - 1.0) | 117 | # Dim inactive windows. (0.0 - 1.0) |
121 | inactive-dim = 0.1; | 118 | # inactive-dim = 0.2; |
122 | # Do not let dimness adjust based on window opacity. | 119 | # Do not let dimness adjust based on window opacity. |
123 | # inactive-dim-fixed = true; | 120 | # inactive-dim-fixed = true; |
124 | # Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred. | 121 | # Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred. |
@@ -196,7 +193,7 @@ paint-on-overlay = true; | |||
196 | # Limit compton to repaint at most once every 1 / refresh_rate second to boost performance. | 193 | # Limit compton to repaint at most once every 1 / refresh_rate second to boost performance. |
197 | # This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already, | 194 | # This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already, |
198 | # unless you wish to specify a lower refresh rate than the actual value. | 195 | # unless you wish to specify a lower refresh rate than the actual value. |
199 | sw-opti = true; | 196 | sw-opti = false; |
200 | 197 | ||
201 | # Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games. | 198 | # Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games. |
202 | # Known to cause flickering when redirecting/unredirecting windows. | 199 | # Known to cause flickering when redirecting/unredirecting windows. |
@@ -61,4 +61,4 @@ if [ "$2" = "nvidia" ]; then | |||
61 | xrandr --auto | 61 | xrandr --auto |
62 | fi | 62 | fi |
63 | xsetroot -cursor_name left_ptr | 63 | xsetroot -cursor_name left_ptr |
64 | exec bspwm | 64 | exec dbus-launch bspwm |