rainbow minor fix

This commit is contained in:
luke bonham 2013-08-15 18:48:47 +02:00
parent 43a2367a3d
commit 3f95567a21
2 changed files with 17 additions and 16 deletions

View File

@ -34,7 +34,7 @@ function run_once(cmd)
end
run_once("urxvtd")
run_once("unclutter -idle 10")
run_once("unclutter -noevents")
run_once("compton")
-- }}}
@ -140,6 +140,7 @@ myaccessories = {
{ "archives", "7zFM" },
{ "charmap", "gucharmap" },
{ "gbdfed", "gbdfed" },
{ "fontsel", "gtk2fontsel" },
{ "gimp", "gimp" },
{ "text editor", gui_editor },
}
@ -317,14 +318,14 @@ function(widget, args)
end
return gray .. args["{Artist}"] .. coldef .. white .. " " .. args["{Title}"] .. " " .. coldef
elseif args["{state}"] == "Pause" then
-- Italian localization
-- can be a stub for your own localization
if language:find("it_IT") ~= nil then
-- Italian localization
-- can be a stub for your own localization
if language:find("it_IT") ~= nil
then
return gray .. "mpd " .. coldef .. white .. "in pausa " .. coldef
else
return gray .. "mpd " .. coldef .. white .. "in pausa " .. coldef
return gray .. "mpd " .. coldef .. white .. "paused " .. coldef
end
then
else
curr_track = nil
return ''
@ -338,7 +339,7 @@ vicious.register(fshwidget, vicious.widgets.fs,
function (widget, args)
if ( args["{/home used_p}"] >= 90 ) then
if ( args["{/home used_p}"] >= 99 and too_much == false ) then
naughty.notify({ title = "warning", text = "/home partition ran out!\nmake some room",
naughty.notify({ title = "Attenzione", text = "Partizione /home esaurita!\nFa' un po' di spazio.",
timeout = 7,
position = "top_right",
fg = beautiful.fg_urgent,
@ -728,9 +729,9 @@ globalkeys = awful.util.table.join(
awful.key({ altkey }, "p", function() awful.util.spawn("screenshot",false) end),
awful.key({ modkey, }, "Left", awful.tag.viewprev ),
awful.key({ altkey, "Control" }, "j", awful.tag.viewprev ),
awful.key({ altkey, "Shift" }, "j", awful.tag.viewprev ),
awful.key({ modkey, }, "Right", awful.tag.viewnext ),
awful.key({ altkey, "Control" }, "k", awful.tag.viewnext ),
awful.key({ altkey, "Shift" }, "k", awful.tag.viewnext ),
awful.key({ modkey, }, "Escape", awful.tag.history.restore),
awful.key({ modkey, }, "k",
function ()

View File

@ -8,8 +8,8 @@
theme = {}
themes_dir = os.getenv("HOME") .. "/.config/awesome/themes/rainbow"
theme.wallpaper = themes_dir .. "/wall.png"
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/rainbow"
theme.wallpaper = theme.dir .. "/wall.png"
theme.font = "Tamsyn 10"
theme.fg_normal = "#9E9E9E"
@ -26,11 +26,11 @@ theme.taglist_bg_focus = "#3D3D3D"
theme.menu_height = "16"
theme.menu_width = "140"
theme.menu_submenu_icon = themes_dir .. "/icons/submenu.png"
theme.taglist_squares_sel = themes_dir .. "/icons/square_sel.png"
theme.taglist_squares_unsel = themes_dir .. "/icons/square_unsel.png"
theme.widget_mail_notify = themes_dir .. "/icons/mail_notify.png"
theme.widget_no_net_notify = themes_dir .. "/icons/no_net_notify.png"
theme.menu_submenu_icon = theme.dir .. "/icons/submenu.png"
theme.taglist_squares_sel = theme.dir .. "/icons/square_sel2.png"
theme.taglist_squares_unsel = theme.dir .. "/icons/square_unsel.png"
theme.widget_mail_notify = theme.dir .. "/icons/mail_notify.png"
theme.widget_no_net_notify = theme.dir .. "/icons/no_net_notify.png"
theme.layout_txt_tile = "[t]"
theme.layout_txt_tileleft = "[l]"