From d55b77db1e0e65cf839ef6dee9e7ea5fd0fb9268 Mon Sep 17 00:00:00 2001 From: fdev31 Date: Thu, 4 May 2023 19:41:18 +0200 Subject: [PATCH] shift_monitors: add a docstring (for -h) --- pyprland/plugins/shift_monitors.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyprland/plugins/shift_monitors.py b/pyprland/plugins/shift_monitors.py index caa179d..f047da3 100644 --- a/pyprland/plugins/shift_monitors.py +++ b/pyprland/plugins/shift_monitors.py @@ -8,6 +8,7 @@ class Extension(Plugin): self.monitors = [mon["name"] for mon in await hyprctlJSON("monitors")] async def run_shift_monitors(self, arg: str): + """Swaps monitors' workspaces in the given direction""" direction: int = int(arg) if direction > 0: mon_list = self.monitors[:-1]