argen: use top than left most output, name dotfiles kak session

This commit is contained in:
2026-06-02 20:49:32 +02:00
parent 85f7da444e
commit 8849674617
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ if argenctl context list | grep "^${id}\$"; then
fi
argenctl context new "$id"
first=$(argenctl output list --json | jq -r '.[0].id')
first=$(argenctl output list --json | jq -r 'min_by(80000 * .y + .x).id')
length=$(argenctl output list --json | jq -r 'length')
for n in $(seq $length); do
current=$(argenctl output list --json | jq -r '.[] | select(.focused).id')

View File

@@ -1,3 +1,3 @@
argenctl output focus next
argenctl sh "$TERMINAL -D ~/dotfiles kak"
argenctl sh "$TERMINAL -D ~/dotfiles kak -s dotfiles"