예제 #1
0
def move_window_here(window):
    '''Does `move workspace current` on the specified window.'''
    return i3.msg(0, "{} move workspace current".format(
        i3.container(id=window)))
예제 #2
0
def move_window_here(window):
    '''Does `move workspace current` on the specified window.'''
    return i3.msg(0,
                  "{} move workspace current".format(i3.container(id=window)))
예제 #3
0
def move_window_here(window):
    """Does `move workspace current` on the specified window."""
    return i3.msg(0, "%s move workspace current" % i3.container(id=window))
예제 #4
0
파일: test.py 프로젝트: Adaephon-GH/i3-py
 def test_container(self):
     container = i3.container(title='abc', con_id=123)
     output = ['[title="abc" con_id="123"]',
             '[con_id="123" title="abc"]']
     self.assertTrue(container in output)
예제 #5
0
 def test_container(self):
     container = i3.container(title='abc', con_id=123)
     output = ['[title="abc" con_id="123"]', '[con_id="123" title="abc"]']
     self.assertTrue(container in output)