From 12344cd4ba3ef99a5154f039ab1baaefbb7c3adc Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 18 Oct 2021 10:35:11 +0300 Subject: transparent & beautiful --- .config/picom/picom.conf | 55 +++++++++++++++++++++++++++++++++--------------- 1 file changed, 38 insertions(+), 17 deletions(-) (limited to '.config/picom') diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index 035c4fd..93022a9 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -3,18 +3,39 @@ log-level = "warn"; log-file = "/home/yigit/.local/share/picom/picom.log"; # shadow -shadow = true; +shadow = false; shadow-radius = 0; shadow-offset-x = 5; shadow-offset-y = 5; shadow-opacity = 0.8; +corner-radius = 25.0; +rounded-corners-exclude = [ +#"window_type = 'normal'", + "class_g = 'URxvt'", + "class_g = 'XTerm'", + "class_g = 'Polybar'", + "class_g = 'code-oss'", +#"class_g = 'TelegramDesktop'", + "class_g = 'firefox'", + "class_g = 'Thunderbird'", +]; + +blur: +{ + method = "kawase"; + strength = 7; + background = false; + background-frame = false; + background-fixed = false; +} + shadow-exclude = [ - "name = 'Notification'", - "class_g = 'Conky'", - "class_g = 'Dunst'", - "class_g = 'Rofi'", - "_GTK_FRAME_EXTENTS@:c" + "name = 'Notification'", + "class_g = 'Conky'", + "class_g = 'Dunst'", + "class_g = 'Rofi'", + "_GTK_FRAME_EXTENTS@:c" ]; # opacity @@ -25,12 +46,12 @@ inactive-opacity-override = false; inactive-dim = 0.0; 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'" + "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 @@ -62,9 +83,9 @@ 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; } + 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