Compare commits

...
3 Commits
Author SHA1 Message Date
gitadmin aa66340875 feat(herdr): bind focus_agent and switch_workspace to number keys 2026-10-05 12:38:40 -04:00
gitadmin c2b4707b0a feat(hypr): bind org agenda and capture to floating terminal windows
SUPER+A now opens the Org agenda (replacing the alter_zorder binding,
commented out) and SUPER+CONTROL+A opens Org capture. Both launch in a
centered floating window via new window-class rules.
2026-10-05 12:07:38 -04:00
gitadmin 4b494eb433 chore(nvim): point orgmode and org-roam paths to ~/Documents/GTD 2026-10-03 08:45:11 -04:00
5 changed files with 16 additions and 6 deletions
+3
View File
@@ -39,6 +39,9 @@ detach = "prefix+d"
zoom = "prefix+z" zoom = "prefix+z"
copy_mode = "prefix+[" copy_mode = "prefix+["
last_pane = "prefix+;" last_pane = "prefix+;"
focus_agent = "prefix+alt+1..9"
switch_workspace = "prefix+shift+1..9"
[remote] [remote]
manage_ssh_config = true manage_ssh_config = true
+5 -1
View File
@@ -172,6 +172,10 @@ hl.bind("SUPER + SHIFT + return", hl.dsp.exec_cmd("gtk-launch herdr.desktop"), {
hl.bind("SUPER + return", hl.dsp.exec_cmd("gtk-launch tmux.desktop"), { description = "Open tmux terminal" }) hl.bind("SUPER + return", hl.dsp.exec_cmd("gtk-launch tmux.desktop"), { description = "Open tmux terminal" })
hl.bind("SUPER + N", hl.dsp.exec_cmd(terminal .. " -a quicknotes -e nvim +'Obsidian today'"), hl.bind("SUPER + N", hl.dsp.exec_cmd(terminal .. " -a quicknotes -e nvim +'Obsidian today'"),
{ description = "Open Obsidian today in a centered floating window" }) { description = "Open Obsidian today in a centered floating window" })
hl.bind("SUPER + A", hl.dsp.exec_cmd(terminal .. " -a agenda -e nvim +'Org agenda t'"),
{ description = "Open Org agenda in a centered floating window" })
hl.bind("SUPER + CONTROL + A", hl.dsp.exec_cmd(terminal .. " -a capture -e nvim +'Org capture t'"),
{ description = "Open Org capture in a centered floating window" })
hl.bind("SUPER + B", hl.dsp.exec_raw(browser), { description = "Open browser" }) hl.bind("SUPER + B", hl.dsp.exec_raw(browser), { description = "Open browser" })
hl.bind("SUPER + I", sysinfo, { description = "Show system info" }) hl.bind("SUPER + I", sysinfo, { description = "Show system info" })
@@ -252,7 +256,7 @@ hl.bind("SUPER + T", toggle_float_with_limit,
-- hl.bind("SUPER + P", hl.dsp.window.pseudo(), { description = "Window: Toggle pseudo tiling" }) -- hl.bind("SUPER + P", hl.dsp.window.pseudo(), { description = "Window: Toggle pseudo tiling" })
hl.bind("SUPER + P", toggle_pin, { description = "Window: Toggle Pin" }) hl.bind("SUPER + P", toggle_pin, { description = "Window: Toggle Pin" })
hl.bind("SUPER + A", hl.dsp.window.alter_zorder({ mode = "top" }), { description = "Window: Move to top" }) -- hl.bind("SUPER + A", hl.dsp.window.alter_zorder({ mode = "top" }), { description = "Window: Move to top" })
hl.bind("SUPER + left", hl.dsp.focus({ direction = "l" }), { description = "Window: Focus left" }) hl.bind("SUPER + left", hl.dsp.focus({ direction = "l" }), { description = "Window: Focus left" })
hl.bind("SUPER + right", hl.dsp.focus({ direction = "r" }), { description = "Window: Focus right" }) hl.bind("SUPER + right", hl.dsp.focus({ direction = "r" }), { description = "Window: Focus right" })
+3 -1
View File
@@ -14,7 +14,9 @@ hl.window_rule({
}) })
hl.window_rule({ hl.window_rule({
match = { class = "quicknotes" }, match = {
class = "(quicknotes|capture|agenda)"
},
tag = "+floating-window" tag = "+floating-window"
}) })
+1
View File
@@ -66,6 +66,7 @@ run = [
'herdr plugin install qu8n/herdr-automatic-rename --yes', 'herdr plugin install qu8n/herdr-automatic-rename --yes',
'herdr plugin install den-tanui/herdr-zoxide --yes', 'herdr plugin install den-tanui/herdr-zoxide --yes',
'herdr plugin install plannotator/herdr-annotate --yes', 'herdr plugin install plannotator/herdr-annotate --yes',
'herdr plugin install qu8n/herdr-automatic-rename --yes',
] ]
[tasks.tmux_setup] [tasks.tmux_setup]
+4 -4
View File
@@ -9,8 +9,8 @@ require('orgmode').setup({
use_vim_ui = true use_vim_ui = true
} }
}, },
org_agenda_files = {'~/Documents/notes/*project*org', '~/Documents/notes/Inbox*org', '~/Documents/journals/*.org'}, org_agenda_files = {'~/Documents/GTD/*project*org', '~/Documents/GTD/Inbox*org', '~/Documents/GTD/journals/*.org'},
org_default_notes_file = "~/Documents/notes/Inbox.org", org_default_notes_file = "~/Documents/GTD/Inbox.org",
org_todo_keywords = { 'TODO(t)', 'NEXT(n)', '|', 'DONE(d)', 'DELEGATED(a)' }, org_todo_keywords = { 'TODO(t)', 'NEXT(n)', '|', 'DONE(d)', 'DELEGATED(a)' },
mappings = { mappings = {
capture = { capture = {
@@ -25,7 +25,7 @@ require('orgmode').setup({
}, },
j = { j = {
description = "Journal entry", description = "Journal entry",
target = "~/Documents/notes/journals/%<%Y-%m-%d>.org", target = "~/Documents/GTD/journals/%<%Y-%m-%d>.org",
template = "* %<%Y-%m-%d %H:%M> %?\n", template = "* %<%Y-%m-%d %H:%M> %?\n",
}, },
}, },
@@ -65,7 +65,7 @@ require('org-roam').setup({
bindings = { bindings = {
prefix = "<LocalLeader>oO", prefix = "<LocalLeader>oO",
}, },
directory = "~/Documents/notes", directory = "~/Documents/GTD",
extensions = { extensions = {
dailies = { dailies = {
directory = "journals" directory = "journals"