From 5de2c4d480ba0c88ca4ffae4a6defc5890f43477 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 9 May 2020 14:38:20 +0300 Subject: refactor compton to picom --- .config/picom/picom.conf | 94 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 .config/picom/picom.conf (limited to '.config/picom/picom.conf') diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf new file mode 100644 index 0000000..67c459f --- /dev/null +++ b/.config/picom/picom.conf @@ -0,0 +1,94 @@ +# Shadow +shadow = true; +shadow-radius = 0; +shadow-offset-x = 5; +shadow-offset-y = 5; +log-level = "warn"; +# log-file = "/path/to/your/log/file"; +shadow-opacity = 0.8; +#shadow-red = 0.33; +#shadow-green = 0.33; +#shadow-blue = 0.33; +shadow-exclude = [ + "name = 'Notification'", + "class_g = 'Conky'", + "class_g ?= 'Notify-osd'", + "class_g = 'Cairo-clock'", + "_GTK_FRAME_EXTENTS@:c" +]; +# shadow-exclude = "n:e:Notification"; +# shadow-exclude-reg = "x10+0+0"; +# xinerama-shadow-crop = true; + +# Opacity +inactive-opacity = 0.95; +# active-opacity = 0.8; +frame-opacity = 1.0; +inactive-opacity-override = false; +inactive-dim = 0.0; +# inactive-dim-fixed = true; +#blur-background = true; +# blur-background-frame = true; +blur-kern = "3x3box"; +# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; +# blur-background-fixed = true; +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'", + "_GTK_FRAME_EXTENTS@:c" +]; +opacity-rule = [ + "100:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'", + "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'", + "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" +]; +# Fading +fading = true; +# fade-delta = 30; +fade-in-step = 0.03; +fade-out-step = 0.03; +# no-fading-openclose = true; +# no-fading-destroyed-argb = true; +fade-exclude = [ ]; + +# Other +backend = "glx"; +mark-wmwin-focused = true; +mark-ovredir-focused = true; +# use-ewmh-active-win = true; +detect-rounded-corners = true; +detect-client-opacity = true; +refresh-rate = 0; +vsync = "opengl-swc"; +# paint-on-overlay = true; +sw-opti = false; +# unredir-if-possible = true; +# unredir-if-possible-delay = 5000; +# unredir-if-possible-exclude = [ ]; +focus-exclude = [ "class_g = 'Cairo-clock'" ]; +detect-transient = true; +detect-client-leader = true; +invert-color-include = [ ]; +# resize-damage = 1; + +# GLX backend +glx-no-stencil = true; +glx-copy-from-front = false; +glx-swap-method = "undefined"; +# glx-no-rebind-pixmap = true; +# glx-swap-method = "undefined"; +# glx-use-gpushader4 = true; +# xrender-sync = true; +# xrender-sync-fence = true; +# Window type settings +wintypes: +{ + tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; + dock = { shadow = false; } + dnd = { shadow = false; } + popup_menu = { fade = true; shadow = true; opacity = 1; focus = true; full-shadow = true; } + dropdown_menu = { opacity = 1; } +}; -- cgit v1.2.3-70-g09d2 From baf7fef97f1fe2f1bbe8159f5a5a928a2eba73be Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 12 May 2020 12:38:49 +0300 Subject: update picom conf from compton --- .config/picom/picom.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.config/picom/picom.conf') diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index 67c459f..5d4b9ce 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -4,7 +4,7 @@ shadow-radius = 0; shadow-offset-x = 5; shadow-offset-y = 5; log-level = "warn"; -# log-file = "/path/to/your/log/file"; +# log-file = "~/.picom.log"; shadow-opacity = 0.8; #shadow-red = 0.33; #shadow-green = 0.33; @@ -62,7 +62,7 @@ mark-ovredir-focused = true; detect-rounded-corners = true; detect-client-opacity = true; refresh-rate = 0; -vsync = "opengl-swc"; +vsync = true; # paint-on-overlay = true; sw-opti = false; # unredir-if-possible = true; @@ -77,7 +77,7 @@ invert-color-include = [ ]; # GLX backend glx-no-stencil = true; glx-copy-from-front = false; -glx-swap-method = "undefined"; +use-damage = true # glx-no-rebind-pixmap = true; # glx-swap-method = "undefined"; # glx-use-gpushader4 = true; -- cgit v1.2.3-70-g09d2