mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 19:22:32 +00:00
blackburn perfected
This commit is contained in:
parent
f55ca6dc9b
commit
d365496dc8
|
@ -41,7 +41,7 @@ Gallery
|
|||
|
||||
**Blackburn** the wannabe definitive configuration, born from the best of previous ones
|
||||
|
||||
.. image:: http://i.imgur.com/HWSLolo.jpg
|
||||
.. image:: http://dotshare.it/public/images/uploads/540.png
|
||||
|
||||
.. _tip: http://theimmortalphoenix.deviantart.com/art/Full-Color-Awesome-340997258
|
||||
.. _romockee: https://github.com/romockee/powerarrow-dark
|
||||
|
|
|
@ -33,7 +33,7 @@ end
|
|||
|
||||
-- autostart applications
|
||||
run_once("urxvtd")
|
||||
run_once("unclutter -idle 10")
|
||||
run_once("unclutter")
|
||||
run_once("compton")
|
||||
|
||||
|
||||
|
@ -345,7 +345,9 @@ vicious.register(mygmail, vicious.widgets.gmail,
|
|||
})
|
||||
notify_shown = true
|
||||
end
|
||||
return gray .. " Mail " .. coldef .. white .. args["{count}"] .. " " .. coldef
|
||||
if perceptive.icon == perceptive.sky_na then return gray .. " Mail " .. coldef .. white .. args["{count}"] .. coldef
|
||||
else return gray .. " Mail " .. coldef .. white .. args["{count}"] .. "<span font='Tamsyn 1'> </span>" .. coldef
|
||||
end
|
||||
else
|
||||
notify_shown = false
|
||||
return ''
|
||||
|
@ -520,7 +522,7 @@ function (widget, args)
|
|||
position = "top_left",
|
||||
icon = beautiful.widget_no_net_notify,
|
||||
fg = "#ff5e5e",
|
||||
bg = beautiful.bg_normal })
|
||||
bg = "#060606" })
|
||||
no_net_shown = false
|
||||
end
|
||||
return gray .. " Net " .. coldef .. "<span color='#e54c62'>Off " .. coldef
|
||||
|
|
|
@ -343,7 +343,14 @@ function(widget, args)
|
|||
if( args["{Title}"] ~= curr_track )
|
||||
then
|
||||
curr_track = args["{Title}"]
|
||||
run_once(scriptdir .. "mpdinfo")
|
||||
os.execute(scriptdir .. "mpdinfo")
|
||||
old_id = naughty.notify({
|
||||
title = "Now playing",
|
||||
text = args["{Artist}"] .. " (" .. args["{Album}"] .. ")\n" .. args["{Title}"],
|
||||
icon = "/tmp/mpdnotify_cover.png",
|
||||
timeout = 5,
|
||||
replaces_id = old_id
|
||||
}).id
|
||||
end
|
||||
return gray .. args["{Title}"] .. coldef .. white .. " " .. args["{Artist}"] .. coldef
|
||||
elseif (args["{state}"] == "Pause") then
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
|
@ -2,10 +2,12 @@
|
|||
|
||||
# A simple notify script for now-playing songs on mpd. This script uses
|
||||
# notify-send and mpc to get the current song information.
|
||||
# ImageMagick is also needed for the cover.
|
||||
|
||||
# Configuration-------------------------------------------------------
|
||||
|
||||
# The music directory that contains the music and cover files
|
||||
# Change according to your configuration
|
||||
MUSIC_DIR="$HOME/Musica"
|
||||
|
||||
# The default cover to use (optional)
|
||||
|
|
|
@ -16,8 +16,8 @@ theme.wallpaper = themes_dir .. "/wall.png"
|
|||
|
||||
theme.font = "Tamsyn 10"
|
||||
theme.taglist_font = "Termsyn 10"
|
||||
theme.fg_normal = "#AAAAAA"
|
||||
theme.fg_focus = "#D79D38"
|
||||
theme.fg_normal = "#D7D7D7"
|
||||
theme.fg_focus = "#F6784F"
|
||||
theme.bg_normal = themes_bg_normal
|
||||
theme.bg_focus = "#060606"
|
||||
theme.fg_urgent = "#CC9393"
|
||||
|
|
Loading…
Reference in a new issue