awesomerc/default theme: define awesome icon in theme instead of rc

This commit is contained in:
Gregor Best 2008-11-08 21:06:42 +01:00 committed by Julien Danjou
parent 5f250eedc2
commit 71f2c94738
2 changed files with 4 additions and 2 deletions

View File

@ -102,12 +102,12 @@ myawesomemenu = {
{ "quit", awesome.quit } { "quit", awesome.quit }
} }
mymainmenu = awful.menu.new({ items = { { "awesome", myawesomemenu, "@AWESOME_ICON_PATH@/awesome16.png" }, mymainmenu = awful.menu.new({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
{ "open terminal", terminal } { "open terminal", terminal }
} }
}) })
mylauncher = awful.widget.launcher({ image = "@AWESOME_ICON_PATH@/awesome16.png", mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
menu = mymainmenu }) menu = mymainmenu })
-- Create a systray -- Create a systray

View File

@ -66,3 +66,5 @@ layout_tilebottom = @AWESOME_ICON_PATH@/layouts/tilebottom.png
layout_tileleft = @AWESOME_ICON_PATH@/layouts/tileleft.png layout_tileleft = @AWESOME_ICON_PATH@/layouts/tileleft.png
layout_tile = @AWESOME_ICON_PATH@/layouts/tile.png layout_tile = @AWESOME_ICON_PATH@/layouts/tile.png
layout_tiletop = @AWESOME_ICON_PATH@/layouts/tiletop.png layout_tiletop = @AWESOME_ICON_PATH@/layouts/tiletop.png
awesome_icon = @AWESOME_ICON_PATH@/awesome16.png