SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
18
x11/awesome/patches/patch-lib_awful_util_lua
Normal file
18
x11/awesome/patches/patch-lib_awful_util_lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
Index: lib/awful/util.lua
|
||||
--- lib/awful/util.lua.orig
|
||||
+++ lib/awful/util.lua
|
||||
@@ -222,12 +222,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/', '/usr/share/icons/hicolor/' }
|
||||
local icontypes = { 'apps', 'actions', 'categories', 'emblems',
|
||||
'mimetypes', 'status', 'devices', 'extras', 'places', 'stock' }
|
||||
for _, d in pairs(dirs) do
|
Loading…
Add table
Add a link
Reference in a new issue