From 71f2c947381516a3f71403a25187b380d23868f4 Mon Sep 17 00:00:00 2001 From: Gregor Best Date: Sat, 8 Nov 2008 21:06:42 +0100 Subject: [PATCH] awesomerc/default theme: define awesome icon in theme instead of rc --- awesomerc.lua.in | 4 ++-- themes/default.in | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 23a47dd9..aa4ede22 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -102,12 +102,12 @@ myawesomemenu = { { "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 } } }) -mylauncher = awful.widget.launcher({ image = "@AWESOME_ICON_PATH@/awesome16.png", +mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon, menu = mymainmenu }) -- Create a systray diff --git a/themes/default.in b/themes/default.in index 1e04df10..6243f0b3 100644 --- a/themes/default.in +++ b/themes/default.in @@ -66,3 +66,5 @@ layout_tilebottom = @AWESOME_ICON_PATH@/layouts/tilebottom.png layout_tileleft = @AWESOME_ICON_PATH@/layouts/tileleft.png layout_tile = @AWESOME_ICON_PATH@/layouts/tile.png layout_tiletop = @AWESOME_ICON_PATH@/layouts/tiletop.png + +awesome_icon = @AWESOME_ICON_PATH@/awesome16.png