forked from Shinonome/caelestia-cli
record: fix region
This commit is contained in:
@@ -58,7 +58,7 @@ class Command:
|
||||
else:
|
||||
region = self.args.region
|
||||
args += ["-g", region.strip()]
|
||||
|
||||
else:
|
||||
monitors = json.loads(subprocess.check_output(["hyprctl", "monitors", "-j"]))
|
||||
focused_monitor = next(monitor for monitor in monitors if monitor["focused"])
|
||||
if focused_monitor:
|
||||
|
||||
Reference in New Issue
Block a user