vignette-like run-shell

This commit is contained in:
Pavel Makhov 2019-03-21 09:36:24 -04:00
parent 94252c405a
commit e3255c7af8
1 changed files with 3 additions and 6 deletions

View File

@ -7,10 +7,6 @@
-- @copyright 2019 Pavel Makhov -- @copyright 2019 Pavel Makhov
------------------------------------------------- -------------------------------------------------
local capi = {
screen = screen,
client = client,
}
local awful = require("awful") local awful = require("awful")
local gfs = require("gears.filesystem") local gfs = require("gears.filesystem")
local wibox = require("wibox") local wibox = require("wibox")
@ -22,6 +18,7 @@ local run_shell = awful.widget.prompt()
local widget = {} local widget = {}
function widget.new() function widget.new()
local widget_instance = { local widget_instance = {
_cached_wiboxes = {} _cached_wiboxes = {}
} }
@ -32,8 +29,8 @@ function widget.new()
ontop = true, ontop = true,
height = 1060, height = 1060,
width = 1920, width = 1920,
opacity = 0.6, opacity = 0.9,
bg = '#000002' bg = 'radial:960,540,20:960,540,700:0,#00000022:0.2,#33333388:1,#000000ff'
} }
w:setup { w:setup {