1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 19:22:32 +00:00

minor changes

This commit is contained in:
luke bonham 2013-05-02 14:03:22 +02:00
parent b0618a18cf
commit f712dc524a

View file

@ -19,7 +19,6 @@ local vicious = require("vicious")
local scratch = require("scratch") local scratch = require("scratch")
local yawn = require("yawn") local yawn = require("yawn")
-- Run once function -- Run once function
function run_once(cmd) function run_once(cmd)
@ -128,7 +127,7 @@ myaccessories = {
{ "text editor", gui_editor }, { "text editor", gui_editor },
} }
myinternet = { myinternet = {
{ "torrent" , "rtorrent" }, { "torrent" , "transmission-gtk" },
{ "torrent search" , "torrent-search" } { "torrent search" , "torrent-search" }
} }
myoffice = { myoffice = {
@ -308,7 +307,7 @@ vicious.register(mygmail, vicious.widgets.gmail,
gmail_t:add_to_object(mygmail) gmail_t:add_to_object(mygmail)
notify_title = "" notify_title = ""
notify_text = "" notify_text = ""
mailcount = args["{count}"] mailcount = args["{count}"]
if (args["{count}"] > 0 ) then if (args["{count}"] > 0 ) then
if (notify_shown == false) then if (notify_shown == false) then
-- Italian localization -- Italian localization
@ -378,7 +377,7 @@ function(widget, args)
end end
elseif args["{state}"] == "Pause" then elseif args["{state}"] == "Pause" then
if yawn.icon == yawn.sky_na then return gray .. "mpd " .. coldef .. white .. "in pausa" .. coldef if yawn.icon == yawn.sky_na then return gray .. "mpd " .. coldef .. white .. "in pausa" .. coldef
elseif mailcount == 0 then return gray .. "mpd " .. coldef .. white .. "in pausa<span font='Tamsun 5'> </span>" .. coldef elseif mailcount == 0 then return gray .. "mpd " .. coldef .. white .. "in pausa<span font='Tamsyn 5'> </span>" .. coldef
else return gray .. "mpd " .. coldef .. white .. "in pausa " .. coldef else return gray .. "mpd " .. coldef .. white .. "in pausa " .. coldef
end end
else else
@ -887,9 +886,6 @@ awful.rules.rules = {
{ rule = { class = "Dwb" }, { rule = { class = "Dwb" },
properties = { tag = tags[1][1] } }, properties = { tag = tags[1][1] } },
{ rule = { class = "Gvim" },
properties = { tag = tags[1][2] } },
{ rule = { class = "Zathura" }, { rule = { class = "Zathura" },
properties = { tag = tags[1][3] } }, properties = { tag = tags[1][3] } },