2018-07-24 14:27:41 +02:00
|
|
|
--DOC_GEN_OUTPUT --DOC_GEN_IMAGE --DOC_HIDE
|
2021-12-18 21:05:00 +01:00
|
|
|
require("awful.tag").add("1", {screen=screen[1], selected=true}) --DOC_HIDE
|
2016-04-25 04:21:35 +02:00
|
|
|
screen[1]._resize {x = 175, width = 128, height = 96} --DOC_HIDE
|
|
|
|
mouse.coords {x=175+60,y=60} --DOC_HIDE
|
|
|
|
|
2016-12-27 21:39:08 +01:00
|
|
|
-- Get the position
|
2016-04-25 04:21:35 +02:00
|
|
|
print(mouse.coords().x)
|
2016-11-21 22:38:23 +01:00
|
|
|
|
2016-12-27 21:39:08 +01:00
|
|
|
-- Change the position
|
2016-04-25 04:21:35 +02:00
|
|
|
mouse.coords {
|
|
|
|
x = 185,
|
|
|
|
y = 10
|
|
|
|
}
|
|
|
|
|
|
|
|
mouse.push_history() --DOC_HIDE
|
2016-12-31 13:59:38 +01:00
|
|
|
|
|
|
|
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|