summaryrefslogtreecommitdiff
path: root/run-shell
diff options
context:
space:
mode:
authorPavel Makhov <pmakhov@touchtunes.com>2018-12-22 18:08:05 -0500
committerPavel Makhov <pmakhov@touchtunes.com>2018-12-22 18:08:17 -0500
commit9012468e8f9346fcbd8d1a59fab17b6ce6df990a (patch)
tree27024e66b4db91221f31579edd8cf1674f3d2ce4 /run-shell
parentdcdabdac27bce850b385af7a342db3e7253ced59 (diff)
Small fix for run shell
Diffstat (limited to 'run-shell')
-rw-r--r--run-shell/run-shell.lua9
1 files changed, 1 insertions, 8 deletions
diff --git a/run-shell/run-shell.lua b/run-shell/run-shell.lua
index ad02437..44fd367 100644
--- a/run-shell/run-shell.lua
+++ b/run-shell/run-shell.lua
@@ -20,12 +20,6 @@ local completion = require("awful.completion")
local run_shell = awful.widget.prompt()
-
-local function get_screen(s)
- return s and capi.screen[s]
-end
-
-
local widget = {}
function widget.new()
@@ -98,7 +92,7 @@ function widget.new()
w.bgimage = '/tmp/i3lock-' .. line .. '.png'
awful.placement.top(w, { margins = { top = 20 }, parent = awful.screen.focused() })
awful.prompt.run {
- prompt = "<b>Run</b>: ",
+ prompt = 'Run: ',
bg_cursor = '#74aeab',
textbox = run_shell.widget,
completion_callback = completion.shell,
@@ -107,7 +101,6 @@ function widget.new()
end,
history_path = gfs.get_cache_dir() .. "/history",
done_callback = function()
- -- w.bgimage=''
w.visible = false
w.bgimage = ''
awful.spawn([[bash -c 'rm -f /tmp/i3lock*']])