minor changes

This commit is contained in:
luke bonham 2013-05-02 14:03:22 +02:00
parent b0618a18cf
commit f712dc524a
1 changed files with 3 additions and 7 deletions

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 = {
@ -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] } },