changed btop class to kitty for sysmon toggle

This commit is contained in:
kenji
2025-07-16 17:37:01 -05:00
parent dca14f0fa9
commit f737ed6cc4
+3 -3
View File
@@ -61,18 +61,18 @@ class Command:
hypr.dispatch("togglespecialworkspace", "music") hypr.dispatch("togglespecialworkspace", "music")
def sysmon(self) -> None: def sysmon(self) -> None:
hypr.dispatch("togglespecialworkspace", "sysmon")
self.spawn_client( self.spawn_client(
lambda c: c["class"] == "btop" lambda c: c["class"] == "kitty"
and c["title"] == "btop" and c["title"] == "btop"
and c["workspace"]["name"] == "special:sysmon", and c["workspace"]["name"] == "special:sysmon",
# ["foot", "-a", "btop", "-T", "btop", "fish", "-C", "exec btop"], # ["foot", "-a", "btop", "-T", "btop", "fish", "-C", "exec btop"],
["kitty", "--detach", "-T", "btop", "fish", "-C", "btop"], ["kitty", "--detach", "-T", "btop", "fish", "-C", "btop"],
) )
hypr.dispatch("togglespecialworkspace", "sysmon")
def todo(self) -> None: def todo(self) -> None:
self.spawn_or_move(lambda c: c["class"] == "Todoist", ["todoist"], "todo")
hypr.dispatch("togglespecialworkspace", "todo") hypr.dispatch("togglespecialworkspace", "todo")
self.spawn_or_move(lambda c: c["class"] == "Todoist", ["todoist"], "todo")
def specialws(self) -> None: def specialws(self) -> None:
workspaces = hypr.message("workspaces") workspaces = hypr.message("workspaces")