From 5e79356aefffbabe01477be171dc8464049a48f1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 23 Aug 2017 21:52:06 -0300 Subject: Use powerline --- config.dot/awesome.link/themes/xoria256/theme.lua | 3 ++- config.dot/awesome.link/wibar.lua | 10 +++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/config.dot/awesome.link/themes/xoria256/theme.lua b/config.dot/awesome.link/themes/xoria256/theme.lua index eed6077..00df4c0 100644 --- a/config.dot/awesome.link/themes/xoria256/theme.lua +++ b/config.dot/awesome.link/themes/xoria256/theme.lua @@ -10,7 +10,8 @@ local theme = {} theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/xoria256" theme.wallpaper = theme.dir .. "/wall.png" -theme.font = "xos4 Terminus 8" +--theme.font = "xos4 Terminus 8" +theme.font = "Inconsolata for Powerline 9" theme.fg_normal = "#FEFEFE" theme.fg_focus = "#32D6FF" theme.fg_urgent = "#C83F11" 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(), }, -- cgit v1.2.3