diff options
-rw-r--r-- | cpu-widget/cpu-widget.lua | 1 | ||||
-rw-r--r-- | run-shell/run-shell.lua | 10 | ||||
-rw-r--r-- | stackoverflow-widget/stackoverflow.lua | 1 |
3 files changed, 7 insertions, 5 deletions
diff --git a/cpu-widget/cpu-widget.lua b/cpu-widget/cpu-widget.lua index e0dea4d..64c3b93 100644 --- a/cpu-widget/cpu-widget.lua +++ b/cpu-widget/cpu-widget.lua @@ -57,7 +57,6 @@ local function worker(args) local is_update = true local process_rows = { - -- spacing = 8, layout = wibox.layout.fixed.vertical, } diff --git a/run-shell/run-shell.lua b/run-shell/run-shell.lua index 5ab4065..2fda71b 100644 --- a/run-shell/run-shell.lua +++ b/run-shell/run-shell.lua @@ -30,10 +30,14 @@ function widget.new() local w = wibox { visible = false, ontop = true, - height = 1060, - width = 1920, + height = mouse.screen.geometry.height, + width = mouse.screen.geometry.width, opacity = 0.9, - bg = 'radial:960,540,20:960,540,700:0,#00000022:0.2,#33333388:1,#000000ff' + bg = 'radial:'.. mouse.screen.geometry.width/2 .. ',' + .. mouse.screen.geometry.height/2 .. ',20:' + .. mouse.screen.geometry.width/2 .. ',' + .. mouse.screen.geometry.height/2 + .. ',700:0,#2E344022:0.2,#4C566A88:1,#2E3440ff' } local suspend_button = wibox.widget { diff --git a/stackoverflow-widget/stackoverflow.lua b/stackoverflow-widget/stackoverflow.lua index ecf06f6..d89f246 100644 --- a/stackoverflow-widget/stackoverflow.lua +++ b/stackoverflow-widget/stackoverflow.lua @@ -36,7 +36,6 @@ local function worker(args) } local popup = awful.popup{ - visible = true, ontop = true, visible = false, shape = gears.shape.rounded_rect, |