]> git.rmz.io Git - dotfiles.git/blobdiff - awesome/themes/mlp/theme.lua
awesome: replace decrecated awful.util with corresponding gears module
[dotfiles.git] / awesome / themes / mlp / theme.lua
index 90f57639be8eaec161fa2e954e000bf30f617a46..d19e8f4049c1ca1e15c12301f21cf13c9402d507 100644 (file)
@@ -3,8 +3,9 @@
 ---------------------------
 
 local theme = {}
+local awful = require("awful")
 
-theme.path = awful.util.getdir("config").."/themes/mlp"
+theme.path = gears.filesystem.get_dir("config").."/themes/mlp"
 
 theme.font          = "Droid Sans 8"
 
@@ -95,6 +96,8 @@ theme.layout_cornerse   = theme.path.."/layouts/cornersew.png"
 
 theme.awesome_icon = "/usr/share/awesome/icons/awesome16.png"
 
+theme.mpd_default_album = theme.path.."/mpd_default_album.png"
+
 -- Define the icon theme for application icons. If not set then the icons
 -- from /usr/share/icons and /usr/share/icons/hicolor will be used.
 theme.icon_theme = nil