nvim, herbstluftwm: switch from calcurse to org mode
This commit is contained in:
@ -34,7 +34,7 @@ scripts="$XDG_CONFIG_HOME/herbstluftwm/scripts"
|
|||||||
terminal=kitty
|
terminal=kitty
|
||||||
browser=firefox
|
browser=firefox
|
||||||
calculator=dcalc
|
calculator=dcalc
|
||||||
calendar="$terminal -e calcurse"
|
calendar="$terminal -e nvim +Agenda"
|
||||||
feed_reader="$terminal -e newsboat"
|
feed_reader="$terminal -e newsboat"
|
||||||
file_manager=thunar
|
file_manager=thunar
|
||||||
launcher="dmenu_run -nb $color0 -nf $color15 -sb $color1 -sf $color15"
|
launcher="dmenu_run -nb $color0 -nf $color15 -sb $color1 -sf $color15"
|
||||||
@ -223,6 +223,3 @@ pidof mpd || mpd &
|
|||||||
pidof flameshot || flameshot &
|
pidof flameshot || flameshot &
|
||||||
pidof lxpolkit || lxpolkit &
|
pidof lxpolkit || lxpolkit &
|
||||||
wal -R && ~/.fehbg
|
wal -R && ~/.fehbg
|
||||||
pidof aw-server || aw-server
|
|
||||||
pidof aw-server-afk || aw-watcher-afk
|
|
||||||
pidof aw-watch-window || aw-watcher-window
|
|
||||||
|
|||||||
@ -22,3 +22,8 @@ vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter", "CursorHold", "CursorHo
|
|||||||
pattern = "*",
|
pattern = "*",
|
||||||
command = "if mode() != 'c' | checktime | endif",
|
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, {})
|
||||||
|
|||||||
Reference in New Issue
Block a user