aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-08-23 21:52:06 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-08-23 21:52:06 -0300
commit5e79356aefffbabe01477be171dc8464049a48f1 (patch)
treebc76b968617813dafabb8be99ccf3dc2656dd137
parent19311e2d673d3e02a46e1c143c26b3837a7e1af4 (diff)
downloadawesome-5e79356aefffbabe01477be171dc8464049a48f1.tar.gz
awesome-5e79356aefffbabe01477be171dc8464049a48f1.tar.bz2
Use powerline
-rw-r--r--config.dot/awesome.link/themes/xoria256/theme.lua3
-rw-r--r--config.dot/awesome.link/wibar.lua10
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(),
},