nvim, herbstluftwm: switch from calcurse to org mode

This commit is contained in:
2023-07-08 15:20:41 +03:00
parent 0504d3861b
commit 60c4015172
2 changed files with 6 additions and 4 deletions

View File

@ -34,7 +34,7 @@ scripts="$XDG_CONFIG_HOME/herbstluftwm/scripts"
terminal=kitty
browser=firefox
calculator=dcalc
calendar="$terminal -e calcurse"
calendar="$terminal -e nvim +Agenda"
feed_reader="$terminal -e newsboat"
file_manager=thunar
launcher="dmenu_run -nb $color0 -nf $color15 -sb $color1 -sf $color15"
@ -223,6 +223,3 @@ pidof mpd || mpd &
pidof flameshot || flameshot &
pidof lxpolkit || lxpolkit &
wal -R && ~/.fehbg
pidof aw-server || aw-server
pidof aw-server-afk || aw-watcher-afk
pidof aw-watch-window || aw-watcher-window

View File

@ -22,3 +22,8 @@ vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter", "CursorHold", "CursorHo
pattern = "*",
command = "if mode() != 'c' | checktime | endif",
})
-- org agenda command so I can do nvim +Agenda to open agenda
vim.api.nvim_create_user_command("Agenda", function()
require("orgmode").action("agenda.prompt")
end, {})