text: from pynput.keyboard import Controller, Key, GlobalHotKeys
  
  keyboard = Controller()
  
  def align_top():
      with keyboard.pressed(Key.ctrl, Key.alt):
          keyboard.tap('t')
  
  def align_bottom():
      with keyboard.pressed(Key.ctrl, Key.alt):
          keyboard.tap('b')
  
  def align_left():
      with keyboard.pressed(Key.ctrl, Key.alt):
          keyboard.tap('l')
  
  def align_right():
      with keyboard.pressed(Key.ctrl, Key.alt):
          keyboard.tap('r')
  
  def align_middle():
      with keyboard.pressed(Key.ctrl, Key.alt):
          keyboard.tap('m')
  
  def align_top_left():
      align_top()
      align_left()
  
  def align_top_right():
      align_top()
      align_right()
  
  def align_bottom_left():
      align_bottom()
      align_left()
  
  def align_bottom_right():
      align_bottom()
      align_right()
  
  def distribute_horizontal():
      with keyboard.pressed(Key.ctrl, Key.alt):
          keyboard.tap('h')
  
  def distribute_vertical():
      with keyboard.pressed(Key.ctrl, Key.alt):
          keyboard.tap('v')
  
  def align_text_right():
      with keyboard.pressed(Key.ctrl):
          keyboard.tap('r')
  
  def align_text_left():
      with keyboard.pressed(Key.ctrl):
          keyboard.tap('l')
  
  hotkeys = {
      "<ctrl>+<alt>+t": align_top,
      "<ctrl>+<alt>+b": align_bottom,
      "<ctrl>+<alt>+l": align_left,
      "<ctrl>+<alt>+r": align_right,
      "<ctrl>+<alt>+m": align_middle,
      "<ctrl>+<alt>+z": align_top_left,
      "<ctrl>+<alt>+x": align_top_right,
      "<ctrl>+<alt>+c": align_bottom_left,
      "<ctrl>+<alt>+v": align_bottom_right,
      "<ctrl>+<alt>+m": distribute_horizontal,
      "<ctrl>+<alt>+n": distribute_vertical,
      "o": align_text_left,
      "p": align_text_right
  }
  
  with GlobalHotKeys(hotkeys, suppress=True) as gh:
      gh.join()