From 0bbbfe8b67aacb6bdb672ff98d6bf4ba6ca4441a Mon Sep 17 00:00:00 2001 From: streetturtle Date: Mon, 4 Feb 2019 20:29:08 -0500 Subject: run shell --- run-shell/run-shell.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'run-shell/run-shell.lua') diff --git a/run-shell/run-shell.lua b/run-shell/run-shell.lua index ae86a9e..a50400f 100644 --- a/run-shell/run-shell.lua +++ b/run-shell/run-shell.lua @@ -76,18 +76,18 @@ function widget.new() function widget_instance:launch(s, c) c = c or capi.client.focus s = mouse.screen - naughty.notify { text = 'screen ' .. s.index } +-- naughty.notify { text = 'screen ' .. s.index } if not self._cached_wiboxes[s] then self._cached_wiboxes[s] = {} - naughty.notify { text = 'nope' } +-- naughty.notify { text = 'nope' } end if not self._cached_wiboxes[s][1] then self._cached_wiboxes[s][1] = self:_create_wibox() - naughty.notify { text = 'nope' } +-- naughty.notify { text = 'nope' } end local w = self._cached_wiboxes[s][1] local rnd = math.random() - awful.spawn.with_line_callback(string.format(self._cmd_pixelate, tostring(awful.screen.focused().geometry.x), rnd), { + awful.spawn.with_line_callback(string.format(self._cmd_blur, tostring(awful.screen.focused().geometry.x), rnd), { stdout = function(line) w.visible = true w.bgimage = '/tmp/i3lock-' .. rnd ..'.png' -- cgit v1.2.3