]>
git.madduck.net Git - etc/awesome.git/blobdiff - .config/awesome/rc.lua
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
-- Create a systray
mysystray = widget({ type = "systray", name = "mysystray", align = "right" })
-- Create a systray
mysystray = widget({ type = "systray", name = "mysystray", align = "right" })
+-- Create textbox widgets
+mytimebox = widget({ type = "textbox", name = "mytimebox", align = "right" })
+mybatterybox = widget({ type = "textbox", name = "mybatterybox", align = "right" })
+
-- Create a wibox for each screen and add it
mywibox = {}
mypromptbox = {}
-- Create a wibox for each screen and add it
mywibox = {}
mypromptbox = {}
mywibox[s].widgets = { mytaglist[s],
mytasklist[s],
mypromptbox[s],
mywibox[s].widgets = { mytaglist[s],
mytasklist[s],
mypromptbox[s],
mytimebox,
mylayoutbox[s],
mytimebox,
mylayoutbox[s],
- s == 1 and mysystray or nil }
+ s == screen.count() and mysystray or nil }
mywibox[s].screen = s
end
-- }}}
mywibox[s].screen = s
end
-- }}}
--- Create a textbox widget
-mytimebox = widget({ type = "textbox", name = "mytimebox", align = "right" })
-mybatterybox = widget({ type = "textbox", name = "mybatterybox", align = "right" })
-
--Battery widget
batterywidget = widget({ type = 'progressbar', name = 'batterywidget' })
batterywidget.width = 100
--Battery widget
batterywidget = widget({ type = 'progressbar', name = 'batterywidget' })
batterywidget.width = 100