Module awful.screen
Screen module for awful
Author:
Julien Danjou <julien@danjou.info> |
Copyright© 2008 Julien Danjou
Release: v3.4.4
Functions
focus (screen) | Give the focus to a screen, and move pointer. |
focus_relative (i) | Give the focus to a screen, and move pointer, but relative to the current focused screen. |
padding (screen, padding) | Get or set the screen padding. |
Functions
- focus (screen)
-
Give the focus to a screen, and move pointer.
Parameters
- screen: Screen number.
- focus_relative (i)
-
Give the focus to a screen, and move pointer, but relative to the current focused screen.
Parameters
- i: Value to add to the current focused screen index. 1 will focus next screen, -1 would focus the previous one.
- padding (screen, padding)
-
Get or set the screen padding.
Parameters
- screen: The screen object to change the padding on
- padding: The padding, an table with 'top', 'left', 'right' and/or 'bottom'. Can be nil if you only want to retrieve padding