17 lines
323 B
Python
Executable file
17 lines
323 B
Python
Executable file
#!/usr/bin/env python3
|
|
import i3ipc
|
|
|
|
i3 = i3ipc.Connection()
|
|
splitv_text = '[ V ]'
|
|
splith_text = '[ H ]'
|
|
split_none = ''
|
|
parent = i3.get_tree().find_focused().parent
|
|
|
|
# if parent.layout == 'splitv':
|
|
# print(splitv_text)
|
|
# elif parent.layout == 'splith':
|
|
# print(splith_text)
|
|
# else:
|
|
# print(split_none)
|
|
|
|
print("")
|