]>
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:
c4c149d )
alsabar._notify = naughty.notify ({
replaces_id = alsabar._notify.id,
preset = preset,
alsabar._notify = naughty.notify ({
replaces_id = alsabar._notify.id,
preset = preset,
- screen = client.focus and client.focus.screen or 1
})
else
alsabar._notify = naughty.notify ({
preset = preset,
})
else
alsabar._notify = naughty.notify ({
preset = preset,
- screen = client.focus and client.focus.screen or 1
bat.id = naughty.notify({
preset = bat_notification_critical_preset,
replaces_id = bat.id,
bat.id = naughty.notify({
preset = bat_notification_critical_preset,
replaces_id = bat.id,
- screen = client.focus and client.focus.screen or 1
}).id
elseif nperc <= 15
then
bat.id = naughty.notify({
preset = bat_notification_low_preset,
replaces_id = bat.id,
}).id
elseif nperc <= 15
then
bat.id = naughty.notify({
preset = bat_notification_low_preset,
replaces_id = bat.id,
- screen = client.focus and client.focus.screen or 1
fg = calendar.fg,
bg = calendar.bg,
timeout = tims,
fg = calendar.fg,
bg = calendar.bg,
timeout = tims,
- screen = client.focus and client.focus.screen or 1
Licensed under GNU General Public License v2
* (c) 2013, Luke Bonham
Licensed under GNU General Public License v2
* (c) 2013, Luke Bonham
- * (c) 2010-2012, Peter Hofmann
--[[
Licensed under GNU General Public License v2
--[[
Licensed under GNU General Public License v2
- * (c) 2013, Luke Bonham
local setmetatable = setmetatable
-- Taskwarrior notification
local setmetatable = setmetatable
-- Taskwarrior notification
+-- lain.widgets.contrib. task
local task = {}
local task_notification = nil
local task = {}
local task_notification = nil
fg = task.fg,
bg = task.bg,
timeout = task.timeout,
fg = task.fg,
bg = task.bg,
timeout = task.timeout,
- screen = client.focus and client.focus.screen or 1
fg = task.fg,
bg = task.bg,
timeout = task.timeout,
fg = task.fg,
bg = task.bg,
timeout = task.timeout,
- screen = client.focus and client.focus.screen or 1
fg = task.fg,
bg = task.bg,
timeout = task.timeout,
fg = task.fg,
bg = task.bg,
timeout = task.timeout,
- screen = client.focus and client.focus.screen or 1
preset = fs_notification_preset,
text = ws,
timeout = t_out,
preset = fs_notification_preset,
text = ws,
timeout = t_out,
- screen = client.focus and client.focus.screen or 1
timeout = 8,
fg = "#000000",
bg = "#FFFFFF",
timeout = 8,
fg = "#000000",
bg = "#FFFFFF",
- screen = client.focus and client.focus.screen or 1
})
helpers.set_map("fs", true)
else
})
helpers.set_map("fs", true)
else
naughty.notify({
preset = mail_notification_preset,
text = nt,
naughty.notify({
preset = mail_notification_preset,
text = nt,
- screen = client.focus and client.focus.screen or 1
preset = mpd_notification_preset,
icon = "/tmp/mpdcover.png",
replaces_id = mpd.id,
preset = mpd_notification_preset,
icon = "/tmp/mpdcover.png",
replaces_id = mpd.id,
- screen = client.focus and client.focus.screen or 1
}).id
end
elseif mpd_now.state ~= "pause"
}).id
end
elseif mpd_now.state ~= "pause"
position = "top_left",
icon = helpers.icons_dir .. "no_net.png",
fg = notify_fg or "#FFFFFF",
position = "top_left",
icon = helpers.icons_dir .. "no_net.png",
fg = notify_fg or "#FFFFFF",
- screen = client.focus and client.focus.screen or 1
})
helpers.set_map(iface, false)
end
})
helpers.set_map(iface, false)
end
text = weather_data,
icon = sky,
timeout = t_out,
text = weather_data,
icon = sky,
timeout = t_out,
- screen = client.focus and client.focus.screen or 1