From 85a427e45dbeb22859b4d4298e3cfd479693d27f Mon Sep 17 00:00:00 2001 From: serxoz Date: Thu, 13 Apr 2023 16:43:52 +0200 Subject: [PATCH] picom e buffers no nvim --- nvim/lua/serxoz/remap.lua | 4 +++ picom/picom.conf | 62 +++++++++++++++++++-------------------- 2 files changed, 35 insertions(+), 31 deletions(-) diff --git a/nvim/lua/serxoz/remap.lua b/nvim/lua/serxoz/remap.lua index a0c4d94..41aaa82 100644 --- a/nvim/lua/serxoz/remap.lua +++ b/nvim/lua/serxoz/remap.lua @@ -53,3 +53,7 @@ end) vim.keymap.set("n", "", ":bnext") vim.keymap.set("n", "", ":bprevious") vim.keymap.set("n", "x", ":bdelete") +vim.keymap.set("n", "tk", ":bnext") +vim.keymap.set("n", "tj", ":bprev") +vim.keymap.set("n", "th", ":bfirst") +vim.keymap.set("n", "tl", ":blast") diff --git a/picom/picom.conf b/picom/picom.conf index 93e31e0..f88c869 100644 --- a/picom/picom.conf +++ b/picom/picom.conf @@ -9,7 +9,7 @@ shadow-offset-y = 1; shadow-opacity = .3; shadow-ignore-shaped = false; shadow-exclude = [ - "name = 'Notification'", + "name = 'Notification'", # workaround for conky until it provides window properties: "override_redirect = 1 && !WM_CLASS@:s", "class_g ?= 'Dmenu'", @@ -54,47 +54,47 @@ detect-client-leader = true; invert-color-include = [ ]; glx-copy-from-front = false; -#opacity-rule = [ -#"99:name *?= 'Call'", -#"99:class_g = 'Chromium'", -#"99:name *?= 'Conky'", -#"99:class_g = 'Darktable'", -#"50:class_g = 'Dmenu'", -#"99:name *?= 'Event'", -#"99:class_g = 'Firefox'", -#"99:class_g = 'GIMP'", +#opacity-rule = [ +#"99:name *?= 'Call'", +#"99:class_g = 'Chromium'", +#"99:name *?= 'Conky'", +#"99:class_g = 'Darktable'", +#"50:class_g = 'Dmenu'", +#"99:name *?= 'Event'", +#"99:class_g = 'Firefox'", +#"99:class_g = 'GIMP'", #"99:name *?= 'Image'", -#"99:class_g = 'Lazpaint'", -#"99:class_g = 'Midori'", -#"99:name *?= 'Minitube'", +#"99:class_g = 'Lazpaint'", +#"99:class_g = 'Midori'", +#"99:name *?= 'Minitube'", #"99:class_g = 'Mousepad'", -#"99:name *?= 'MuseScore'", -#"90:name *?= 'Page Info'", -#"99:name *?= 'Pale Moon'", -#"90:name *?= 'Panel'", -#"99:class_g = 'Pinta'", -#"90:name *?= 'Restart'", -#"99:name *?= 'sudo'", -#"99:name *?= 'Screenshot'", -#"99:class_g = 'Viewnior'", -#"99:class_g = 'VirtualBox'", -#"99:name *?= 'VLC'", -#"99:name *?= 'Write'", -#"93:class_g = 'URxvt' && !_NET_WM_STATE@:32a", -#"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", -#"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'" +#"99:name *?= 'MuseScore'", +#"90:name *?= 'Page Info'", +#"99:name *?= 'Pale Moon'", +#"90:name *?= 'Panel'", +#"99:class_g = 'Pinta'", +#"90:name *?= 'Restart'", +#"99:name *?= 'sudo'", +#"99:name *?= 'Screenshot'", +#"99:class_g = 'Viewnior'", +#"99:class_g = 'VirtualBox'", +#"99:name *?= 'VLC'", +#"99:name *?= 'Write'", +#"93:class_g = 'URxvt' && !_NET_WM_STATE@:32a", +#"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", +#"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'" #]; -wintypes : +wintypes : { - tooltip : + tooltip : { fade = true; shadow = false; opacity = 0.85; focus = true; }; - fullscreen : + fullscreen : { fade = true; shadow = false;