summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-03-03 12:26:37 +0000
committerShubham Saini <shubham6405@gmail.com>2020-03-03 12:26:37 +0000
commit066ccd15c9bca2873478984f23cc1f365921aa8b (patch)
tree33b16656cfac825fb2a790083f5b2275fd68bd16
parent335c34c82720180c1f2c71b8c199bc2bc512b804 (diff)
improved compton
-rwxr-xr-xbspwm/.config/bspwm/bspwmrc3
-rw-r--r--compton/.config/compton.conf15
-rw-r--r--x/.xinitrc2
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 @@
3sxhkd & 3sxhkd &
4dunst & 4dunst &
5unclutter & 5unclutter &
6xss-lock -- /home/fd0e/bin/lock & 6xss-lock -- /home/fd0e/.local/bin/lock &
7/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
7compton --config ~/.config/compton.conf & 8compton --config ~/.config/compton.conf &
8~/scrypts/bat_check.sh & 9~/scrypts/bat_check.sh &
9redshift -l 13.082680:80.270718 & 10redshift -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)
105shadow-ignore-shaped = false; 102shadow-ignore-shaped = false;
@@ -110,15 +107,15 @@ shadow-ignore-shaped = false;
110# 107#
111################################# 108#################################
112 109
113menu-opacity = 0.9; 110menu-opacity = 1;
114inactive-opacity = 0.9; 111inactive-opacity = 1;
115active-opacity = 1; 112active-opacity = 1;
116frame-opacity = 1; 113frame-opacity = 1;
117inactive-opacity-override = false; 114inactive-opacity-override = false;
118alpha-step = 0.06; 115alpha-step = 0.06;
119 116
120# Dim inactive windows. (0.0 - 1.0) 117# Dim inactive windows. (0.0 - 1.0)
121inactive-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.
199sw-opti = true; 196sw-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.
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
61 xrandr --auto 61 xrandr --auto
62fi 62fi
63xsetroot -cursor_name left_ptr 63xsetroot -cursor_name left_ptr
64exec bspwm 64exec dbus-launch bspwm