From dc1285358e2f56b38b7fc53310e2451257072c33 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Fri, 20 Sep 2024 21:58:24 +0200 Subject: [PATCH] Only add dbus related calls for arch setups --- templates/nvim/lua/colorscheme.lua.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/nvim/lua/colorscheme.lua.j2 b/templates/nvim/lua/colorscheme.lua.j2 index f24b052..995b0c1 100644 --- a/templates/nvim/lua/colorscheme.lua.j2 +++ b/templates/nvim/lua/colorscheme.lua.j2 @@ -15,6 +15,7 @@ vim.api.nvim_create_autocmd({'OptionSet'}, { end }) +{% if ansible_facts['os_family'] == 'Archlinux' %} --[[ Use `busctl --user tree` to show a tree of available services. Use the `Introspect` option to inspect available options: @@ -89,3 +90,4 @@ local detect_scheme_change = function(channel_id, data, name) end vim.fn.jobstart(monitor_command, { on_stdout = detect_scheme_change } ) +{% endif %}