Only add dbus related calls for arch setups
This commit is contained in:
parent
373dad8448
commit
dc1285358e
1 changed files with 2 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ vim.api.nvim_create_autocmd({'OptionSet'}, {
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
{% if ansible_facts['os_family'] == 'Archlinux' %}
|
||||||
--[[
|
--[[
|
||||||
Use `busctl --user tree` to show a tree of available services.
|
Use `busctl --user tree` to show a tree of available services.
|
||||||
Use the `Introspect` option to inspect available options:
|
Use the `Introspect` option to inspect available options:
|
||||||
|
|
@ -89,3 +90,4 @@ local detect_scheme_change = function(channel_id, data, name)
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.fn.jobstart(monitor_command, { on_stdout = detect_scheme_change } )
|
vim.fn.jobstart(monitor_command, { on_stdout = detect_scheme_change } )
|
||||||
|
{% endif %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue