commit 6c5b5ca5c403cb4d382d57bd43735f5adc71052f
parent 23d1b0cb1049013a8271e6aca12f5cb8ad9657f7
Author: pyratebeard <root@pyratebeard.net>
Date: Fri, 28 Jul 2017 02:17:41 +0100
overlay terminal now in center of screen
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/awesome/.config/awesome/scratchdrop/init.lua b/awesome/.config/awesome/scratchdrop/init.lua
@@ -41,10 +41,10 @@ local dropdown = {}
-- Create a new window for the drop-down application when it doesn't
-- exist, or toggle between hidden and visible states when it does
function toggle(prog, vert, horiz, width, height, sticky, screen)
- vert = vert or "top"
+ vert = vert or "center"
horiz = horiz or "center"
- width = width or 1
- height = height or 0.25
+ width = width or 0.5
+ height = height or 0.5
sticky = sticky or false
screen = screen or capi.mouse.screen