11 lines
400 B
Lua
11 lines
400 B
Lua
local wibox = require('wibox')
|
|
local awful = require('awful')
|
|
|
|
powerline_widget = wibox.widget.textbox()
|
|
powerline_widget:set_align('right')
|
|
|
|
function powerline(mode, widget) end
|
|
|
|
bindings_path = string.gsub(debug.getinfo(1).source:match('@(.*)$'), '/[^/]+$', '')
|
|
powerline_cmd = bindings_path .. '/powerline-awesome.py'
|
|
awful.util.spawn_with_shell('ps -C powerline-awesome.py || ' .. powerline_cmd)
|