diff --git a/core/layout.lua b/core/layout.lua
index f7c5231..191e1a0 100644
--- a/core/layout.lua
+++ b/core/layout.lua
@@ -75,22 +75,38 @@ awful.screen.connect_for_each_screen(function(s)
layout = wibox.layout.align.horizontal,
{ -- Left widgets
layout = wibox.layout.fixed.horizontal,
- require("core.widgets.menu_launcher"),
+ {
+ {
+ require("core.widgets.menu_launcher"),
+ widget = wibox.container.place,
+ halign = "center"
+ },
+ bg = "#26262633",
+ widget = wibox.container.background,
+ forced_width = require("beautiful.xresources").apply_dpi(61),
+ },
--require("widgets.polylauncher")({vertical = false}),
--s.mytaglist,
s.mypromptbox,
+ require("widgets.current_window")({
+ style = {
+ icon_bg_normal = beautiful.topbar_bg
+ }
+ }),
spacing = 3
},
-- Middle widget
{
- widget = wibox.container.background
+ --[[require("widgets.polytasklist")({
+ vertical = false,
+ stretch = false,
+ constraint = 180,
+ names = true,
+ margins = 5
+ })(s),]]
+ layout = wibox.layout.fixed.horizontal
},
{ -- Right widgets
- wibox.widget.textclock(),
- {
- widget = wibox.container.background,
- forced_width = (math.abs(s.geometry.width/2)-200)
- },
layout = wibox.layout.fixed.horizontal,
awful.widget.keyboardlayout(),
require("widgets.wallpapers")({
@@ -119,6 +135,12 @@ awful.screen.connect_for_each_screen(function(s)
icon_bg_normal = beautiful.topbar_bg
}
}),
+ wibox.widget.textclock(),
+ require("widgets.username")({
+ style = {
+ icon_bg_normal = beautiful.topbar_bg
+ }
+ }),
s.mylayoutbox,
spacing = 4
},
diff --git a/core/titlebar.lua b/core/titlebar.lua
index 43c6c31..af98678 100644
--- a/core/titlebar.lua
+++ b/core/titlebar.lua
@@ -88,23 +88,36 @@ return function(c)
return awful.titlebar(c) : setup {
{ -- Left
c.menu_button,
- spacing = 10,
layout = wibox.layout.fixed.horizontal
},
{ -- Middle
- {
- widget = awful.titlebar.widget.titlewidget(c),
- align = "center"
- },
+ awful.titlebar.widget.titlewidget(c),
buttons = buttons,
layout = wibox.layout.flex.horizontal
},
{ -- Right
- awful.titlebar.widget.maximizedbutton(c),
- awful.titlebar.widget.minimizebutton (c),
- awful.titlebar.widget.closebutton (c),
- layout = wibox.layout.fixed.horizontal(),
+ {
+ {
+ awful.titlebar.widget.maximizedbutton(c),
+ awful.titlebar.widget.minimizebutton (c),
+ awful.titlebar.widget.closebutton (c),
+ layout = wibox.layout.fixed.horizontal(),
+ widget = wibox.container.margin,
+ margins = 3
+ },
+ widget = wibox.container.background,
+ shape = gears.shape.rounded_bar,
+ bg = {
+ type = "linear",
+ from = { 0, 15 },
+ to = { 0, 0},
+ stops = { { 0, "#5d5d5955"} , {1, "39383555"} }
+ },
+ },
+ widget = wibox.container.margin,
+ margins = 2
},
+ spacing = 10,
layout = wibox.layout.align.horizontal,
}
end
diff --git a/core/vars.lua b/core/vars.lua
index d7bc1cb..9c6ef06 100644
--- a/core/vars.lua
+++ b/core/vars.lua
@@ -5,7 +5,7 @@ global = {}
global.awesome_dir = os.getenv("HOME").."/.config/awesome/"
global.config_dir = os.getenv("HOME").."/.awesome/"
global.themes_dir = os.getenv("HOME").."/.config/awesome/themes/"
-global.theme = global.awesome_dir .. "themes/unity2/theme.lua"
+global.theme = global.awesome_dir .. "themes/unity/theme.lua"
global.terminal = "xterm"
global.editor = os.getenv("EDITOR") or "vim"
global.editor_cmd = global.terminal .. " -e ".. global.editor
diff --git a/themes/unity/icons/battery-caution-charging-symbolic.svg b/themes/unity/icons/battery-caution-charging-symbolic.svg
index 56fe444..84410f5 100644
--- a/themes/unity/icons/battery-caution-charging-symbolic.svg
+++ b/themes/unity/icons/battery-caution-charging-symbolic.svg
@@ -1,12 +1,138 @@
-
+
+
+
+
diff --git a/themes/unity/icons/battery-caution-symbolic.svg b/themes/unity/icons/battery-caution-symbolic.svg
index 3fb7d4a..eb31e2a 100644
--- a/themes/unity/icons/battery-caution-symbolic.svg
+++ b/themes/unity/icons/battery-caution-symbolic.svg
@@ -1,9 +1,123 @@
-
+
+
+
+
diff --git a/themes/unity/icons/battery-empty-charging-symbolic.svg b/themes/unity/icons/battery-empty-charging-symbolic.svg
index e3e8620..6054506 100644
--- a/themes/unity/icons/battery-empty-charging-symbolic.svg
+++ b/themes/unity/icons/battery-empty-charging-symbolic.svg
@@ -1,12 +1,148 @@
-
+
+
+
+
diff --git a/themes/unity/icons/battery-empty-symbolic.svg b/themes/unity/icons/battery-empty-symbolic.svg
index 710c02b..cf392d7 100644
--- a/themes/unity/icons/battery-empty-symbolic.svg
+++ b/themes/unity/icons/battery-empty-symbolic.svg
@@ -1,9 +1,147 @@
-
+
+
+
+
diff --git a/themes/unity/icons/battery-full-charged-symbolic.svg b/themes/unity/icons/battery-full-charged-symbolic.svg
index ae88a8c..0652e7e 100644
--- a/themes/unity/icons/battery-full-charged-symbolic.svg
+++ b/themes/unity/icons/battery-full-charged-symbolic.svg
@@ -1,70 +1,165 @@
+
+
diff --git a/themes/unity/icons/battery-full-charging-symbolic.svg b/themes/unity/icons/battery-full-charging-symbolic.svg
index 2db325e..b11ab4c 100644
--- a/themes/unity/icons/battery-full-charging-symbolic.svg
+++ b/themes/unity/icons/battery-full-charging-symbolic.svg
@@ -1,69 +1,165 @@
+
+
diff --git a/themes/unity/icons/battery-full-symbolic.svg b/themes/unity/icons/battery-full-symbolic.svg
index 7daa418..3241dad 100644
--- a/themes/unity/icons/battery-full-symbolic.svg
+++ b/themes/unity/icons/battery-full-symbolic.svg
@@ -1,62 +1,109 @@
+
+
diff --git a/themes/unity/icons/battery-good-charging-symbolic.svg b/themes/unity/icons/battery-good-charging-symbolic.svg
index 0b54f56..c7ece05 100644
--- a/themes/unity/icons/battery-good-charging-symbolic.svg
+++ b/themes/unity/icons/battery-good-charging-symbolic.svg
@@ -1,69 +1,165 @@
+
+
diff --git a/themes/unity/icons/battery-good-symbolic.svg b/themes/unity/icons/battery-good-symbolic.svg
index b55a8e0..4d654b4 100644
--- a/themes/unity/icons/battery-good-symbolic.svg
+++ b/themes/unity/icons/battery-good-symbolic.svg
@@ -1,62 +1,140 @@
+
+
diff --git a/themes/unity/icons/battery-low-charging-symbolic.svg b/themes/unity/icons/battery-low-charging-symbolic.svg
index 56fb9cc..3f12fbe 100644
--- a/themes/unity/icons/battery-low-charging-symbolic.svg
+++ b/themes/unity/icons/battery-low-charging-symbolic.svg
@@ -1,71 +1,165 @@
+
+
diff --git a/themes/unity/icons/battery-low-symbolic.svg b/themes/unity/icons/battery-low-symbolic.svg
index ab50fc2..b209891 100644
--- a/themes/unity/icons/battery-low-symbolic.svg
+++ b/themes/unity/icons/battery-low-symbolic.svg
@@ -1,62 +1,141 @@
+
+
diff --git a/themes/unity/icons/battery-missing-symbolic.svg b/themes/unity/icons/battery-missing-symbolic.svg
index f96c4b2..83b380b 100644
--- a/themes/unity/icons/battery-missing-symbolic.svg
+++ b/themes/unity/icons/battery-missing-symbolic.svg
@@ -1,69 +1,186 @@
+
+