AutoYADM commit: 2025-05-19 23:13:24

This commit is contained in:
Daniel Fichtinger 2025-05-19 23:13:24 -04:00
parent 7c5ec89ddf
commit 9fddc43a37
2 changed files with 138 additions and 131 deletions

View file

@ -117,9 +117,11 @@ define-command bar-buflist %{
while read buf; do while read buf; do
index=$(($index + 1)) index=$(($index + 1))
# if [ "$buf" = "$kak_bufname" ]; then # if [ "$buf" = "$kak_bufname" ]; then
list="$list $index $buf" cur=$(printf '[%s] %s' "$index" "$buf")
list="$list $cur"
done <<< $(printf '%s\n' "$kak_buflist" | tr ' ' '\n') done <<< $(printf '%s\n' "$kak_buflist" | tr ' ' '\n')
quoted=$(printf '%q' "$list" | sed "s/\\*/\*/g") quoted=$(printf '%q' "$list" | sed -e 's/\\\*/\*/g' -e 's/\\\[/\[/g' -e 's/\\\]/\]/g')
printf "set-option -add global ui_options terminal_title=%s" "$quoted" printf "set-option -add global ui_options terminal_title=%s" "$quoted"
} }
} }

View file

@ -15,7 +15,12 @@
], ],
"niri/window": { "niri/window": {
"max-length": 100, "max-length": 100,
"separate-outputs": true "separate-outputs": true,
"expand": true,
"format": "{}",
"rewrite": {
"(.*) - Kakoune": "$1"
}
}, },
"custom/colcount": { "custom/colcount": {
"exec": "~/dev/niri-windows/niri-windows.py", "exec": "~/dev/niri-windows/niri-windows.py",