Commit Graph

6 Commits

Author SHA1 Message Date
Myned
a7a8adb91b
Remove whitespace 2020-05-21 00:54:49 -04:00
Myned
463b54f1fb
Remove sorting when adding switches 2020-05-21 00:52:11 -04:00
Myned
e4b640903d
Add ability to choose focus state to window title switcher 2020-05-21 00:34:22 -04:00
Myned
d5052c94ca
Add direct matching to window, executable, and ignored switches
Reverts part of commit 5f87a61177

Direct matching occurs in the same loop as regex in order to allow the list order to function as indicated in the UI
2020-05-17 13:44:50 -04:00
Myned
5f87a61177
Remove direct match from window switcher and reorganize
Direct matching before regex has the potential to interfere with some usecases. For example, if a user wants to enter regex syntax such as `shell[1]`, a direct match would return a window matching `shell[1]` exactly instead of `shell1`. Granted, the odds of the two conflicting each other are slim, but the core logic shouldn't prevent a user from utilizing regex to its full potential. One can always escape reserved characters if they want to match it directly. I have also added a warning and link to https://regexr.com in the UI should this be accepted.

The rest of what has changed is simply to align with the executable switcher's matching, namely the use of `QRegularExpression` to drop the need for a try/catch block and moving the check for fullscreen to the if statement in order to remove the possibility of a race condition.
2020-05-17 00:18:28 -04:00
c3r1c3
14d78100c1 Most files: Move files into subdirectories
Almost all the files have been moved into folders and subfolders to keep everything organized and clean.
2019-02-09 01:35:46 -06:00