1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-10-22 20:41:22 +00:00

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 end
run_once("urxvtd") run_once("urxvtd")
run_once("unclutter -idle 10") run_once("unclutter -noevents")
run_once("compton") run_once("compton")
-- }}} -- }}}
@ -140,6 +140,7 @@ myaccessories = {
{ "archives", "7zFM" }, { "archives", "7zFM" },
{ "charmap", "gucharmap" }, { "charmap", "gucharmap" },
{ "gbdfed", "gbdfed" }, { "gbdfed", "gbdfed" },
{ "fontsel", "gtk2fontsel" },
{ "gimp", "gimp" }, { "gimp", "gimp" },
{ "text editor", gui_editor }, { "text editor", gui_editor },
} }
@ -317,14 +318,14 @@ function(widget, args)
end end
return gray .. args["{Artist}"] .. coldef .. white .. " " .. args["{Title}"] .. " " .. coldef return gray .. args["{Artist}"] .. coldef .. white .. " " .. args["{Title}"] .. " " .. coldef
elseif args["{state}"] == "Pause" then elseif args["{state}"] == "Pause" then
-- Italian localization -- Italian localization
-- can be a stub for your own localization -- can be a stub for your own localization
if language:find("it_IT") ~= nil then if language:find("it_IT") ~= nil
then
return gray .. "mpd " .. coldef .. white .. "in pausa " .. coldef return gray .. "mpd " .. coldef .. white .. "in pausa " .. coldef
else else
return gray .. "mpd " .. coldef .. white .. "in pausa " .. coldef return gray .. "mpd " .. coldef .. white .. "paused " .. coldef
end end
then
else else
curr_track = nil curr_track = nil
return '' return ''
@ -338,7 +339,7 @@ vicious.register(fshwidget, vicious.widgets.fs,
function (widget, args) function (widget, args)
if ( args["{/home used_p}"] >= 90 ) then if ( args["{/home used_p}"] >= 90 ) then
if ( args["{/home used_p}"] >= 99 and too_much == false ) 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, timeout = 7,
position = "top_right", position = "top_right",
fg = beautiful.fg_urgent, 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({ altkey }, "p", function() awful.util.spawn("screenshot",false) end),
awful.key({ modkey, }, "Left", awful.tag.viewprev ), 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({ 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, }, "Escape", awful.tag.history.restore),
awful.key({ modkey, }, "k", awful.key({ modkey, }, "k",
function () function ()

View file

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