aboutsummaryrefslogtreecommitdiff
path: root/src/Rahm/Desktop/Keys
Commit message (Collapse)AuthorAge
...
* Add new conditional description for workspaces.Josh Rahm2022-10-09
| | | | | | | | | | | | | | | | | This adds the "<" condition, it used as "in" i.e. "<l₀l₁w₀w₁" reads as "if l₀ is a subset of l₁, then w₀ else w₁" Useful for macro programming like, if Spotify is on the current workspace, then go back to where I came from, otherwise jump to Spotify. This can be achieved with the following (assuming Spotify is marked with "s"): "<H-g><s@.'@s" "if spotify (s) is in the set of the windows on the current screen (@.), jump back to where I came from (workspace '), otherwise goto the workspace spotify is on (@s)."
* Add more Wml adjectives.Josh Rahm2022-10-09
| | | | | | | | | | | | | | | | | | | | | | | These are: '~ws' - Associated workspace, which is the workspace of the toggled case. I.e. workspace ~w == W, or ~. is the toggled case of the current workspace. '=ws₀ws₁ws₂ws₃' ws₂ if name(ws₀) == name(ws₁) otherwise ws₃ while not _that_ helpful for interactive usage, it is useful for programming macros. I.e. to jump to Spotify, unless I'm already on spotify, in which case go back to where I was, I can record this macro on my keyboard: <Hyper-g>=.s's or a macro to jump back and forth between the current workspace and the associated workspace on the next monitor: <Hyper-g>=.~,.'~,.
* Change WML workspaces to have a Maybe name.Josh Rahm2022-10-09
|
* Add R.D.StackSet as a replacement for StackSet.Josh Rahm2022-10-09
|
* Run hlintJosh Rahm2022-10-09
|
* Infrastructure for better logging, finally!Josh Rahm2022-10-09
| | | | | | | | Right now all existing logs are logged at Info, but this will change. This should make it significantly easier to debug things wit log levels like Trace. I may at some point define more log level endpoints or come up with a more expressive logging system, but this is a good start.
* Add macro support to WML.Josh Rahm2022-10-09
| | | | | | | | | | | | | | | | | Macros may be defined by using <M-d> <M-d>w begins defining a windowset macro <M-d>t begins defining a workspace macro The next character typed is the key chord to save the macro to. The next sequence of keys read up until the Return key is the macro value. This macro may then be used as WML objects. Macros are pretty primitive right now. I need to think about if it would be worthwhile to make these macros either take arguments or add some kind of state to WML a la sed to take a step to make the language Turing complete, and if such a development would actually be desirable. If anything it would be an academic exercise.
* Add :: object to tile windows onto a workspaceJosh Rahm2022-10-09
|
* Add : object to reference floating windowsJosh Rahm2022-10-09
|
* Change window border when selecting windowsJosh Rahm2022-10-09
|
* Rename Lang to WindowManagementLanguage (Moved to Wml.hs). Add more features ↵Josh Rahm2022-10-09
| | | | to it.
* Rename KeysM -> Keys/DslJosh Rahm2022-10-09