with status update
This commit is contained in:
13
lua/github_presence/github.lua
Normal file
13
lua/github_presence/github.lua
Normal 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
|
Reference in New Issue
Block a user