3 ms·
For frequently used apps, I do what eviks says. It’s a solution that annoys me as an idea, but it’s the only thing I have found that works for me. I have about
by demetris 3y ago
For frequently used apps, I do what eviks says.
It’s a solution that annoys me as an idea, but it’s the only thing I have found that works for me. I have about 20 individual AutoHotkey scripts that are named GO TO <application name> and that go like this:
SetTitleMatchMode 2
if (not WinExist("Mozilla Firefox ahk_class MozillaWindowClass")) {
Run A_ProgramFiles . "\Mozilla Firefox\firefox.exe"
} else {
WinActivate
}
Return
I also have individual LNK files that target the AutoHotkey scripts, so that you can run the scripts from any launcher. Here is how it looks in PowerToys Run:
https://op111.net/images/20240117-powertoys-run-autohotkey-switch-to-go-to.png https://op111.net/images/20240117-powertoys-run-autohotkey-s...
- csdvrx 3y agoI did the same thing on Windows, and when I recently moved to linux, I upped my game with Hyprland workspaces: - if the window doesn't exist, open it (*) - if the window exists, change focus to it (*) - (*): on it own workspace, which allows me to run windows in full screen mode, without a title bar wasting space! The workspaces are configured by a set of rules (ex: I have mozilla|firefox|edge => go to workspace #2 for browsers) Hyprland is both a tiling and a normal window manager, so you can make a window either. I'm running one terminal in quake mode, with what's called a special workspace I added a few dedicated keys: - F2: send me to workspace #2 - Win+F2: reassign the window to workspace #2, say if I want to have a text editor to take notes while reading a page - Win+Shift+Arrows: resize the tile, because I want a lot of space for the browser and not so much for the editor - Win+J: toggle the tile, because I want the text editor at the bottom (or top) of the screen, not on the left (or the right)