$OpenBSD: patch-lib_awful_util_lua,v 1.3 2017/08/05 20:18:11 dcoppa Exp $
Index: lib/awful/util.lua
--- lib/awful/util.lua.orig
+++ lib/awful/util.lua
@@ -236,12 +236,12 @@ end
 -- given extensions for the icon filename.
 -- @param iconname The name of the icon to search for.
 -- @param exts Table of image extensions allowed, otherwise { 'png', gif' }
--- @param dirs Table of dirs to search, otherwise { '/usr/share/pixmaps/' }
+-- @param dirs Table of dirs to search, otherwise { '${LOCALBASE}/share/pixmaps/' }
 -- @tparam[opt] string size The size. If this is specified, subdirectories `x`
 --   of the dirs are searched first.
 function util.geticonpath(iconname, exts, dirs, size)
     exts = exts or { 'png', 'gif' }
-    dirs = dirs or { '/usr/share/pixmaps/', '/usr/share/icons/hicolor/' }
+    dirs = dirs or { '${LOCALBASE}/share/pixmaps/', '${LOCALBASE}/share/icons/hicolor/' }
     local icontypes = { 'apps', 'actions',  'categories',  'emblems',
         'mimetypes',  'status', 'devices', 'extras', 'places', 'stock' }
     for _, d in pairs(dirs) do
