Amethyst
Amethyst copied to clipboard
Float little arc windows?
Is your feature request related to a problem? Please describe. Feature Request
Describe the solution you'd like Possibly it is not possible without a change in Arc's application packaging/bundling, but I'd like to be able to float only "Little arc" windows, with floating the browser's regular/main windows
it would be nice to have a way to use the identifier (littleBrowserWindow-*
) as a filter, and not just the window title
This is something I'm looking for as well. I like the 'Little Arc' feature, but it pushes my windows all over the place. Perhaps we could extend on the work of #981 #1166? (I'm not very proficient in Swift though)
There does seem to be some window title prefix, but I'm not sure how to target it with regex. I've tried:
/^(?!Little Arc).*/
and /^(Little Arc).*/
while my floating is set to 'Automatically float all applications except those listed.'. Without success.
@rutger1140 Despite of what is shown on the dock, the actual title of the window does not contain Little Arc on it, so matching with regex won't work.
+1 @mpeterson, that'd be a great feature
You can check to see if Amethyst knows about a title with the cli debug tools.
/Applications/Amethyst.app/Contents/MacOS/Amethyst debug windows
But adding other sources of floating logic seems reasonable, generally speaking, but the UI gets more complicated.
You can check to see if Amethyst knows about a title with the cli debug tools.
Arc (pid 17496)
Title:
Frame: (1130.0, 719.0, 916.0, 515.0)
id: 18215
ScreenID: 37D8832A-2D66-02CA-B9F7-8F30A301B230
Screen Frame: (0.0, 0.0, 2056.0, 1329.0)
isActive: true
isOnScreen: true
isFocused: false
shouldBeManaged: false
shouldFloat: false
Title: heyvito/dotfiles: 💻 @heyvito's dotfiles
Frame: (130.0, 64.0, 1028.0, 1160.0)
id: 18294
ScreenID: 37D8832A-2D66-02CA-B9F7-8F30A301B230
Screen Frame: (0.0, 0.0, 2056.0, 1329.0)
isActive: true
isOnScreen: true
isFocused: false
shouldBeManaged: true
shouldFloat: false
The second window is actually Little Arc.
What if we could control floating windows by leveraging prefixes such as identifier:
, regex:
, etc? Or even just allow selection with a dropdown with options like Identifier
, Window Title
, and Bundle ID
, defaulting to the last one.
@ianyh I could give this a try and open a PR if you think that would add any value to your project! :)
I think expanding what you can do float matching on is reasonable, as long as it can be done in a backwards compatible way. I don't think I personally have the cycles for that, but if you want to give it a go I can try reviewing it.
Aight! I'll try to come up with some UIs later today, and I'll post here before actually trying to implement it. So we can discuss any improvements!
Any updates on this issue?
Friendly bump :)