From adc8631a9f8baa9ce5f2a5a7570ff26eb3ccdcc3 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 8 Dec 2020 14:11:55 +0300 Subject: cleanup the picom config --- .config/picom/picom.conf | 54 +++++++++++++----------------------------------- 1 file changed, 14 insertions(+), 40 deletions(-) (limited to '.config/picom') diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index 78a57df..0e2be0a 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -1,43 +1,28 @@ -# Shadow +# log +log-level = "warn"; +log-file = "/home/yigit/.local/share/picom/picom.log"; + +# shadow shadow = true; shadow-radius = 0; shadow-offset-x = 5; shadow-offset-y = 5; -log-level = "warn"; -# log-file = "~/.picom.log"; 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 = 'Dunst'", - "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 +# opacity inactive-opacity = 1; # 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'", @@ -46,45 +31,34 @@ opacity-rule = [ "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'", "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ]; -# Fading + +# 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 +# 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 = true; -# paint-on-overlay = true; sw-opti = false; unredir-if-possible = false; -# 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 backend glx-no-stencil = true; glx-copy-from-front = false; use-damage = true -# glx-no-rebind-pixmap = true; -# glx-swap-method = "undefined"; -# glx-use-gpushader4 = true; -# xrender-sync = true; xrender-sync-fence = true; -# Window type settings + +# window type settings wintypes: { tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; -- cgit v1.2.3-70-g09d2