aboutsummaryrefslogtreecommitdiff
path: root/src/Rahm/Desktop/Keys.hs
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2022-08-03 14:00:30 -0600
committerJosh Rahm <rahm@google.com>2022-08-03 14:00:30 -0600
commitb67dbf6462187a9a8346a8d312b46b33e8d74fa3 (patch)
treee2f9b59a482e5441eadaec3dc6f4d3856e7cf5e7 /src/Rahm/Desktop/Keys.hs
parent7b91c18a7b6b16fb3f18eafb4ce2657bd155d55d (diff)
downloadrde-b67dbf6462187a9a8346a8d312b46b33e8d74fa3.tar.gz
rde-b67dbf6462187a9a8346a8d312b46b33e8d74fa3.tar.bz2
rde-b67dbf6462187a9a8346a8d312b46b33e8d74fa3.zip
Add new conditional description for workspaces.
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)."
Diffstat (limited to 'src/Rahm/Desktop/Keys.hs')
0 files changed, 0 insertions, 0 deletions