academo / ww-run-raise

CLI tool to run or raise applications in KDE.
52 stars 11 forks source link

feat: make a kde6 compatible version #8

Open FlyingpigNZ opened 2 months ago

FlyingpigNZ commented 2 months ago

Made a copy that works with KDE6. Mainly just changed to a compatible way of doing pretty much the same thing

anor4k commented 2 months ago

I'm testing it locally, and while bringing an existing window into focus works, it doesn't seem to launch new windows.

FlyingpigNZ commented 2 months ago

I'm testing it locally, and while bringing an existing window into focus works, it doesn't seem to launch new windows.

ww -t -f "Alacritty" -c alacritty is what I used for activate or create an instance of alacritty. Since that is the only application I used Can you post your command for creating new instance? The one after -c param

anor4k commented 1 month ago

my dumbass forgot to pass the -c argument. ww -f kitty -c kitty works perfectly.

star-szr commented 1 month ago

I've been testing this for several days and haven't run into any issues. Thanks for this!

When already focused on an application I was expecting running the same command multiple times to switch between the windows of that application, but I've never used the pre-kde6 ww so it's likely this is not a regression, just an expectations mismatch/feature request.

FlyingpigNZ commented 2 weeks ago

I've been testing this for several days and haven't run into any issues. Thanks for this!

When already focused on an application I was expecting running the same command multiple times to switch between the windows of that application, but I've never used the pre-kde6 ww so it's likely this is not a regression, just an expectations mismatch/feature request.

From my understanding, this tool is just to raise the running application/create a new instance (when the specified application was not running). Which is to allow using shortcuts to switch/launch applications using keyboard. I do not think there is a function to raise different instances of the same application though.