]>
git.madduck.net Git - etc/awesome.git/commitdiff
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:
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (parent:
81ba1e2 )
-- Standard awesome library
local gears = require("gears")
local awful = require("awful")
-- Standard awesome library
local gears = require("gears")
local awful = require("awful")
local naughty = require("naughty")
local menubar = require("menubar")
local hotkeys_popup = require("awful.hotkeys_popup").widget
local naughty = require("naughty")
local menubar = require("menubar")
local hotkeys_popup = require("awful.hotkeys_popup").widget
-- {{{ Error handling
-- Check if awesome encountered an error during startup and fell back to
-- {{{ Error handling
-- Check if awesome encountered an error during startup and fell back to
mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
menu = mymainmenu })
mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
menu = mymainmenu })
--- Menubar configuration
+-- {{{ Menubar configuration
menubar.utils.terminal = terminal -- Set the terminal for applications that require it
-- }}}
menubar.utils.terminal = terminal -- Set the terminal for applications that require it
-- }}}
--- Keyboard map indicator and switcher
-mykeyboardlayout = awful.widget.keyboardlayout()
-
-- {{{ Wibox
-- Create a textclock widget
mytextclock = wibox.widget.textclock("%a %d %b %H:%M:%S", 1)
-- {{{ Wibox
-- Create a textclock widget
mytextclock = wibox.widget.textclock("%a %d %b %H:%M:%S", 1)
+-- Keyboard map indicator and switcher
+mykeyboardlayout = awful.widget.keyboardlayout()
+
-- Create a wibox for each screen and add it
mywibox = {}
mypromptbox = {}
-- Create a wibox for each screen and add it
mywibox = {}
mypromptbox = {}
awful.button({ }, 5, function ()
awful.client.focus.byidx(-1)
end))
awful.button({ }, 5, function ()
awful.client.focus.byidx(-1)
end))
awful.screen.connect_for_each_screen(function(s)
-- Wallpaper
awful.screen.connect_for_each_screen(function(s)
-- Wallpaper