diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-08-23 21:52:06 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-08-23 21:52:06 -0300 |
commit | 5e79356aefffbabe01477be171dc8464049a48f1 (patch) | |
tree | bc76b968617813dafabb8be99ccf3dc2656dd137 /config.dot/awesome.link/wibar.lua | |
parent | 19311e2d673d3e02a46e1c143c26b3837a7e1af4 (diff) | |
download | awesome-5e79356aefffbabe01477be171dc8464049a48f1.tar.gz awesome-5e79356aefffbabe01477be171dc8464049a48f1.tar.bz2 |
Use powerline
Diffstat (limited to 'config.dot/awesome.link/wibar.lua')
-rw-r--r-- | config.dot/awesome.link/wibar.lua | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/config.dot/awesome.link/wibar.lua b/config.dot/awesome.link/wibar.lua index 0f37ccf..41eafd8 100644 --- a/config.dot/awesome.link/wibar.lua +++ b/config.dot/awesome.link/wibar.lua @@ -1,11 +1,14 @@ -- {{{ Wibar -- Keyboard map indicator and switcher -mykeyboardlayout = awful.widget.keyboardlayout() +--mykeyboardlayout = awful.widget.keyboardlayout() -- Create a textclock widget --mytextclock = wibox.widget.textclock() mytextclock = wibox.widget.textclock('%H:%M ') +package.path = package.path .. ';/usr/share/powerline/bindings/awesome/?.lua' +require('powerline') + -- Create a wibox for each screen and add it local taglist_buttons = awful.util.table.join( awful.button({ }, 1, function(t) t:view_only() end), @@ -102,8 +105,9 @@ awful.screen.connect_for_each_screen(function(s) s.mytasklist, -- Middle widget { -- Right widgets layout = wibox.layout.fixed.horizontal, - mykeyboardlayout, - mytextclock, + --mykeyboardlayout, + powerline_widget, + --mytextclock, --s.mylayoutbox, wibox.widget.systray(), }, |