260528.1 · 1d482d25133809969396701572616d9360424b7a
bin: update for biff rename to bttf
Ref https://github.com/BurntSushi/bttf/pull/14
reading declarations
@@ -38,7 +38,7 @@ vim.keymap.set('v', [[\j]], '!jq .<CR>') -- Convenience keybinding for writing the current date. vim.keymap.set('n', [[\cd]], function()- local now = vim.fn.system({'biff', 'time', 'fmt', '-f', '%B %-d, %Y', 'now'})+ local now = vim.fn.system({'bttf', 'time', 'fmt', '-f', '%B %-d, %Y', 'now'}) vim.api.nvim_put({vim.fn.trim(now)}, 'l', true, false) end)
@@ -8,5 +8,5 @@ else fi nowcolor=3b82ff font='^fn(Cousine:bold:size=18)'-now="$(biff time fmt now -f "^fg(#$nowcolor)%a, %B %d, %Y, %H:%M %Z")"+now="$(bttf time fmt now -f "^fg(#$nowcolor)%a, %B %d, %Y, %H:%M %Z")" exec printf "%s%s ^fg(#$batcolor)%s\n" "$font" "$now" "$battery"
@@ -6,7 +6,7 @@ usage() { dir="/tmp/recordings" progressdir="$dir/progress"-stamp="$(biff time round -s second now | biff time fmt -f rfc3339)"+stamp="$(bttf time round -s second now | bttf time fmt -f rfc3339)" path="$dir/$stamp.mp4" progresspath="$progressdir/$stamp.log"