with status update

This commit is contained in:
2022-10-13 22:19:21 +02:00
parent 90fac0d1ef
commit 635eac655b
8 changed files with 105 additions and 13 deletions

View File

@@ -0,0 +1,13 @@
local notify = require "github_presence.notify"
local M = {}
function M.set_status(activity)
if activity == nil then return end
local _ = vim.fn.systemlist(
string.format("github-status --message 'Currently editting: %s'", activity.file)
)
notify.info "set status"
end
return M