PROPOSAL : Command to allow for pane size customization #1

Closed
opened 2024-02-15 04:32:03 +00:00 by oxaliq · 3 comments
Owner

propose a size command that takes two arguments: the name of a pane and the size (in cells) to set.

this should be possible to run from within a bunkdeck session, or from without.

accepted pane names are
proclaim - sets height (from bottom) of lower left pane
heed - sets depth (from top) of upper left pane
chat - sets width (from left) of combined left panes
tilde - sets width (from right) of right pane. this name is not great
`` - gives help for size command

example
bunkdeck size proclaim 10 when run from outside of a bunkdeck session, creates or attaches to a session, targets the pane with proclaim running and runs the tmux command :resize-pane -U 10

Considerations:
this will require changing bunkdeck so that it names each pane to make them easier to target

propose a size command that takes two arguments: the name of a pane and the size (in cells) to set. this should be possible to run from within a bunkdeck session, or from without. accepted pane names are `proclaim` - sets height (from bottom) of lower left pane `heed` - sets depth (from top) of upper left pane `chat` - sets width (from left) of combined left panes `tilde` - sets width (from right) of right pane. *this name is not great* `` - gives help for size command example `bunkdeck size proclaim 10` when run from outside of a bunkdeck session, creates or attaches to a session, targets the pane with `proclaim` running and runs the tmux command `:resize-pane -U 10` Considerations: this will require changing `bunkdeck` so that it names each pane to make them easier to target
Owner

this is great let's do it!

i agree there's probably a better name for that pane than tilde -- maybe shell?

this is great let's do it! i agree there's probably a better name for that pane than `tilde` -- maybe `shell`?
Author
Owner

shell works!

i can put together a pr later today!
this is one step on the way to having something like user config for bunkchat

`shell` works! i can put together a pr later today! this is one step on the way to having something like user config for bunkchat
Author
Owner
closed with [2815067b1cb869c768d9f8e0de1c4b9876e7be03](https://git.bunk.computer/bunk/bunkdeck/commit/2815067b1cb869c768d9f8e0de1c4b9876e7be03)
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: bunk/bunkdeck#1
No description provided.