argen: use top than left most output, name dotfiles kak session
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
argenctl output focus next
|
||||
|
||||
argenctl sh "$TERMINAL -D ~/dotfiles kak"
|
||||
argenctl sh "$TERMINAL -D ~/dotfiles kak -s dotfiles"
|
||||
|
||||
Reference in New Issue
Block a user