swayfx-dots/config/sway/.swaymonad/print_tree.py
2025-05-06 13:24:30 +02:00

8 lines
134 B
Python
Executable file

#!/usr/bin/env python3
import i3ipc
import common
i3 = i3ipc.Connection()
print(common.tree_str(common.get_focused_workspace(i3)))