DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

i3ipc Notes


Install package i3ipc with pip, and run the following script to make current window fullscreen:

import i3ipc
i3 = i3ipc.Connection()
tree = i3.get_tree()
cur = tree.find_focused()
cur.command('fullscreen')

Ref:

i3ipc-python’s documentation



Published

Nov 29, 2018

Last Updated

Nov 29, 2018

Category

Tech

Tags

  • i3wm 6
  • ipc 1

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor