From 3f95567a21dec4e994263964b3abd30853ac6b75 Mon Sep 17 00:00:00 2001 From: luke bonham Date: Thu, 15 Aug 2013 18:48:47 +0200 Subject: [PATCH] rainbow minor fix --- rc.lua.rainbow | 19 ++++++++++--------- themes/rainbow/theme.lua | 14 +++++++------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/rc.lua.rainbow b/rc.lua.rainbow index f43f2e6..96adf04 100755 --- a/rc.lua.rainbow +++ b/rc.lua.rainbow @@ -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 () diff --git a/themes/rainbow/theme.lua b/themes/rainbow/theme.lua index 7f4c0fc..4581c48 100644 --- a/themes/rainbow/theme.lua +++ b/themes/rainbow/theme.lua @@ -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]"