Created
January 31, 2017 00:28
-
-
Save Ram-Z/0652cde85b113ac799f12470e9fce474 to your computer and use it in GitHub Desktop.
awesome_declarative_awesome.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Add widgets to the wibox | |
s.mywibox:setup { | |
layout = wibox.layout.align.horizontal, | |
{ -- Left widgets | |
layout = wibox.layout.fixed.horizontal, | |
-- mylauncher, | |
s.mytaglist, | |
s.mypromptbox, | |
}, | |
s.mytasklist, -- Middle widget | |
{ -- Right widgets | |
layout = wibox.layout.fixed.horizontal, | |
mykeyboardlayout, | |
wibox.widget.systray(), | |
separator, | |
require("widgets/pomodoro"), | |
separator, | |
require("widgets/awesompd"), | |
require("widgets/volume_widget"), | |
utils.has_battery() and { | |
layout = wibox.layout.fixed.horizontal, | |
separator, | |
require("widgets/battery_widget"), | |
}, | |
separator, | |
require("widgets/network_widget"), | |
separator, | |
require("widgets/calendar"), | |
s.mylayoutbox, | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment