14 lines
293 B
Lua
14 lines
293 B
Lua
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
|