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/compton/compton.conf | 94 ------------------------------------- .config/i3/config##c.desktop,h.Maus | 2 +- .config/picom/picom.conf | 94 +++++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+), 95 deletions(-) delete mode 100644 .config/compton/compton.conf create mode 100644 .config/picom/picom.conf diff --git a/.config/compton/compton.conf b/.config/compton/compton.conf deleted file mode 100644 index 357f978..0000000 --- a/.config/compton/compton.conf +++ /dev/null @@ -1,94 +0,0 @@ -# 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; } -}; diff --git a/.config/i3/config##c.desktop,h.Maus b/.config/i3/config##c.desktop,h.Maus index 39a2dc3..a6d85d7 100644 --- a/.config/i3/config##c.desktop,h.Maus +++ b/.config/i3/config##c.desktop,h.Maus @@ -13,7 +13,7 @@ exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer no #autostart exec --no-startup-id xsettingsd & -exec --no-startup-id compton -b & +exec --no-startup-id picom -b & exec --no-startup-id nextcloud & exec --no-startup-id copyq & exec --no-startup-id redshift-gtk & 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