mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-08 08:19:28 -05:00
added steam toggle
This commit is contained in:
@@ -66,10 +66,18 @@ class Command:
|
||||
and c["title"] == "btop"
|
||||
and c["workspace"]["name"] == "special:sysmon",
|
||||
# ["foot", "-a", "btop", "-T", "btop", "fish", "-C", "exec btop"],
|
||||
["sleep", "1", "kitty", "-T", "btop", "fish", "-c", "btop"],
|
||||
["kitty", "-T", "btop", "fish", "-c", "btop"],
|
||||
)
|
||||
hypr.dispatch("togglespecialworkspace", "sysmon")
|
||||
|
||||
def steam(self) -> None:
|
||||
self.spawn_or_move(
|
||||
lambda c: c["class"] == "steam" or c["initialTitle"] == "Steam",
|
||||
["steam"],
|
||||
"steam",
|
||||
)
|
||||
hypr.dispatch("togglespecialworkspace", "steam")
|
||||
|
||||
def todo(self) -> None:
|
||||
self.spawn_or_move(lambda c: c["class"] == "Todoist", ["todoist"], "todo")
|
||||
hypr.dispatch("togglespecialworkspace", "todo")
|
||||
|
||||
Reference in New Issue
Block a user