mr-pennyworth / alfred-extra-pane

Rich previews for Alfred script filters
130 stars 5 forks source link

Adjust Pane Width #6

Closed chrisgrieser closed 8 months ago

chrisgrieser commented 8 months ago

The extra pane is rather squished to the side for me, being able to adjust the width would be quite useful

Pasted image 2024-02-23 at 17 16 25@2x

mr-pennyworth commented 8 months ago

That's a cool idea @chrisgrieser! I've updated AlfredExtraPane so that now the appearance of the pane(s) can be configured by editing ~/Library/Application Support/mr.pennyworth.AlfredExtraPane/config.json

Here's an example with four panes configured:

[{
  "workflowUID" : "*",
  "alignment" : {
    "horizontal" : {"placement" : "right", "width" : 300, "minHeight" : 400}}
}, {
  "workflowUID" : "*",
  "alignment" : {
    "horizontal" : {"placement" : "left", "width" : 300, "minHeight" : 400}}
}, {
  "workflowUID" : "*",
  "alignment" : {
    "vertical" : {"placement" : "top", "height" : 100}}
}, {
  "workflowUID" : "*",
  "alignment" : {
    "vertical" : {"placement" : "bottom", "height" : 200}}
}]
image