chore(dotfiles): add foot window titles, herdr keybinds, fix jq tab escapes

- Add -T window title flags to all SSH/tmux/herdr desktop entries
- Rename nca-ai-01.desktop -> nca-ai-01-tmux.desktop, update mise symlink
- Add herdr reload_config and zoom keybinds, toast delivery config
- Bind Leader+Shift+Return to launch herdr terminal
- Fix jq \t to literal tab in hyprland client scripts
This commit is contained in:
2026-07-30 09:40:14 -04:00
parent 8a240fbde7
commit 38b77f94a3
20 changed files with 35 additions and 26 deletions
+5
View File
@@ -14,6 +14,8 @@ auto_switch = true
[keys]
prefix = "ctrl+space"
reload_config = "prefix+ctrl+r"
zoom = "prefix+z"
[remote]
manage_ssh_config = true
@@ -44,3 +46,6 @@ key = "prefix+o"
type = "plugin_action"
command = "herdr-zoxide.browse"
description = "Browse zoxide directories"
[ui.toast]
delivery = "herdr"
+8 -1
View File
@@ -280,8 +280,15 @@ hl.bind(LEADER .. "return", function()
field = "class",
cmd = "gtk-launch tmux.desktop",
})
end, { description = "Open terminal" })
end, { description = "Open tmux terminal" })
hl.bind(LEADER .. "SHIFT + return", function()
focus_or_launch({
match = "herdr",
field = "class",
cmd = "gtk-launch herdr.desktop",
})
end, { description = "Open herdr terminal" })
hl.bind(LEADER .. "B", hl.dsp.exec_raw(browser), { description = "Open browser" })
hl.bind(LEADER .. "T", hl.dsp.exec_raw(terminal .. " -e btop"), { description = "Open system monitor" })
+1 -1
View File
@@ -2,7 +2,7 @@
Version=1.0
Name=alcazar herdr
Comment=remote dev
Exec=foot -a alcazar-herdr ssh alcazar mise exec -- herdr --session main
Exec=foot -a alcazar-herdr -T "alcazar herdr" ssh alcazar mise exec -- herdr --session main
Terminal=false
Type=Application
Icon=foot
+1 -1
View File
@@ -2,7 +2,7 @@
Version=1.0
Name=alcazar tmux
Comment=remote dev
Exec=foot -a alcazar-tmux ssh alcazar mise exec -- tmux new -A -s main
Exec=foot -a alcazar-tmux -T "alcazar tmux" ssh alcazar mise exec -- tmux new -A -s main
Terminal=false
Type=Application
Icon=foot
+1 -1
View File
@@ -2,7 +2,7 @@
Version=1.0
Name=bianca Herdr
Comment=remote dev
Exec=foot -a bianca-herdr ssh bianca mise exec -- herdr --session main
Exec=foot -a bianca-herdr -T "bianca herdr" ssh bianca mise exec -- herdr --session main
Terminal=false
Type=Application
Icon=foot
+1 -1
View File
@@ -2,7 +2,7 @@
Version=1.0
Name=bianca tmux
Comment=remote dev
Exec=foot -a bianca-tmux ssh bianca mise exec -- tmux new -A -s main
Exec=foot -a bianca-tmux -T "bianca tmux" ssh bianca mise exec -- tmux new -A -s main
Terminal=false
Type=Application
Icon=foot
+1 -1
View File
@@ -2,7 +2,7 @@
Version=1.0
Name=dupont herdr
Comment=remote dev
Exec=foot -a dupont-herdr ssh dupont mise exec -- herdr --session main
Exec=foot -a dupont-herdr -T "dupont herdr" ssh dupont mise exec -- herdr --session main
Terminal=false
Type=Application
Icon=foot
+1 -1
View File
@@ -2,7 +2,7 @@
Version=1.0
Name=dupont tmux
Comment=remote dev
Exec=foot -a dupont-tmux ssh dupont mise exec -- tmux new -A -s main
Exec=foot -a dupont-tmux -T "dupont tmux" ssh dupont mise exec -- tmux new -A -s main
Terminal=false
Type=Application
Icon=foot
+3 -3
View File
@@ -1,8 +1,8 @@
[Desktop Entry]
Version=1.0
Name=herdr Terminal
Comment=herdr Terminal
Exec=foot -a herdr mise exec -- herdr --session=main
Name=Terminal herdr
Comment=Terminal with herdr mux
Exec=foot -a herdr -T "terminal herdr" mise exec -- herdr --session=main
Terminal=false
Type=Application
Icon=foot
+1 -1
View File
@@ -2,7 +2,7 @@
Version=1.0
Name=nca-ai-01 herdr
Comment=remote dev
Exec=foot -a nca-ai-01-herdr ssh nca-ai-01 mise exec -- herdr --session main
Exec=foot -a nca-ai-01-herdr -T "nca ai 01 herdr" ssh nca-ai-01 mise exec -- herdr --session main
Terminal=false
Type=Application
Icon=foot
@@ -2,7 +2,7 @@
Version=1.0
Name=nca-ai-01 tmux
Comment=remote dev
Exec=foot -a nca-ai-01-tmux ssh nca-ai-01 mise exec -- tmux new -A -s main
Exec=foot -a nca-ai-01-tmux -T "nca ai 01 tmux" ssh nca-ai-01 mise exec -- tmux new -A -s main
Terminal=false
Type=Application
Icon=foot
+1 -1
View File
@@ -2,7 +2,7 @@
Version=1.0
Name=obelix herdr
Comment=remote dev
Exec=foot -a obelix-herdr ssh obelix mise exec -- herdr --session main
Exec=foot -a obelix-herdr -T "obelix herdr" ssh obelix mise exec -- herdr --session main
Terminal=false
Type=Application
Icon=foot
+1 -1
View File
@@ -2,7 +2,7 @@
Version=1.0
Name=obelix tmux
Comment=remote dev
Exec=foot -a obelix-tmux ssh obelix mise exec -- tmux new -A -s main
Exec=foot -a obelix-tmux -T "obelix tmux" ssh obelix mise exec -- tmux new -A -s main
Terminal=false
Type=Application
Icon=foot
+1 -1
View File
@@ -2,7 +2,7 @@
Version=1.0
Name=steve dev herdr
Comment=remote dev
Exec=foot -a steve-dev-herdr ssh steve-dev mise exec -- herdr --session main
Exec=foot -a steve-dev-herdr -T "steve dev herdr" ssh steve-dev mise exec -- herdr --session main
Terminal=false
Type=Application
Icon=foot
+1 -1
View File
@@ -2,7 +2,7 @@
Version=1.0
Name=steve dev tmux
Comment=remote dev
Exec=foot -a steve-dev-tmux ssh steve-dev mise exec -- tmux new -A -s main
Exec=foot -a steve-dev-tmux -T "steve dev tmux" ssh steve-dev mise exec -- tmux new -A -s main
Terminal=false
Type=Application
Icon=foot
+1 -1
View File
@@ -1,6 +1,6 @@
[Desktop Entry]
Type=Application
Exec=foot
Exec=foot -T terminal
Icon=foot
Terminal=false
Categories=System;TerminalEmulator;
+3 -3
View File
@@ -1,8 +1,8 @@
[Desktop Entry]
Version=1.0
Name=Tmux Terminal
Comment=Tmux Terminal
Exec=foot -a tmux mise exec -- tmux new -A -s main
Name=Terminal tmux
Comment=Terminal with tmux
Exec=foot -a tmux -T "terminal tmux" mise exec -- tmux new -A -s main
Terminal=false
Type=Application
Icon=foot
+1 -1
View File
@@ -77,7 +77,7 @@ dotfiles.default_mode = "symlink-each"
"~/.local/share/applications/dupont-herdr.desktop" = { source = "desktop/dupont-herdr.desktop", mode = "symlink" }
"~/.local/share/applications/obelix-tmux.desktop" = { source = "desktop/obelix-tmux.desktop", mode = "symlink" }
"~/.local/share/applications/obelix-herdr.desktop" = { source = "desktop/obelix-herdr.desktop", mode = "symlink" }
"~/.local/share/applications/nca-ai-01.desktop" = { source = "desktop/nca-ai-01.desktop", mode = "symlink" }
"~/.local/share/applications/nca-ai-01-tmux.desktop" = { source = "desktop/nca-ai-01-tmux.desktop", mode = "symlink" }
"~/.local/share/applications/nca-ai-01-herdr.desktop" = { source = "desktop/nca-ai-01-herdr.desktop", mode = "symlink" }
# scripts.
+1 -1
View File
@@ -2,7 +2,7 @@
#chooser="walker -d"
chooser="rofi -i -dmenu -display-columns 1"
workspace=$(hyprctl activeworkspace -j | jq -r '.id')
selected=$(hyprctl clients -j | jq -r 'to_entries | .[] | select(.value.hidden == false) | "\(.value.title)\\\t\(.value.class)::\(.value.address)"' | $chooser -p 'Client to Fetch')
selected=$(hyprctl clients -j | jq -r 'to_entries | .[] | select(.value.hidden == false) | "\(.value.title)\t\(.value.class)::\(.value.address)"' | $chooser -p 'Client to Fetch')
#address=$(hyprctl clients -j | jq -r "to_entries | .[] | select(.value.title == \"$selected\") | \"\(.value.address)\"")
address=$(echo "$selected" | awk -F '::' '{print $NF}')
#hyprctl dispatch movetoworkspace "$workspace,address:$address"
+1 -4
View File
@@ -1,12 +1,9 @@
#!/bin/sh
#chooser="walker -d"
chooser="rofi -i -dmenu -display-columns 1"
selected=$(hyprctl clients -j | jq -r 'to_entries | .[] | select(.value.hidden == false) | "\(.value.title)\\\t\(.value.class)::\(.value.address)"' | $chooser -p 'Client to Focus')
selected=$(hyprctl clients -j | jq -r 'to_entries | .[] | select(.value.hidden == false) | "\(.value.title) \t\(.value.class)::\(.value.address)"' | $chooser -p 'Client to Focus')
address=$(echo $selected | awk -F'::' '{print $NF}')
#address=$(hyprctl clients -j | jq -r "to_entries | .[] | select(.value.title == '$selected') | \"\(.value.address)\"")
json=$(hyprctl clients -j | jq -r ".[] | select(.address == \"$address\")")
workspace=$(echo $json | jq -r '.workspace.id')
hyprctl dispatch "hl.dsp.focus({workspace = $workspace , on_current_monitor = true})"
hyprctl dispatch "hl.dsp.focus({ window = \"address:$address\" })"
#hyprctl dispatch focusworkspaceoncurrentmonitor "$workspace"
#hyprctl dispatch focuswindow "address:$address"