toggle: source fish on btop startup

This commit is contained in:
2 * r + 2 * t
2025-06-16 16:14:39 +10:00
parent edbaa9d674
commit 4f6b4ef27e
+1 -1
View File
@@ -54,7 +54,7 @@ class Command:
def sysmon(self) -> None: def sysmon(self) -> None:
self.spawn_client( self.spawn_client(
lambda c: c["class"] == "btop" and c["title"] == "btop" and c["workspace"]["name"] == "special:sysmon", lambda c: c["class"] == "btop" and c["title"] == "btop" and c["workspace"]["name"] == "special:sysmon",
["foot", "-a", "btop", "-T", "btop", "--", "btop"], ["foot", "-a", "btop", "-T", "btop", "fish", "-C", "exec btop"],
) )
hypr.dispatch("togglespecialworkspace", "sysmon") hypr.dispatch("togglespecialworkspace", "sysmon")