openbsd-ports/x11/awesome/patches/patch-lib_naughty_lua_in

22 lines
934 B
Plaintext

$OpenBSD: patch-lib_naughty_lua_in,v 1.5 2012/12/31 17:41:44 dcoppa Exp $
--- lib/naughty.lua.in.orig Mon Dec 24 15:36:05 2012
+++ lib/naughty.lua.in Mon Dec 31 17:05:35 2012
@@ -30,7 +30,7 @@ module("naughty")
-- @field padding Space between popups and edge of the workarea. Default: 4
-- @field spacing Spacing between popups. Default: 1
-- @field icon_dirs List of directories that will be checked by getIcon()
--- Default: { "/usr/share/pixmaps/", }
+-- Default: { "${LOCALBASE}/share/pixmaps/", }
-- @field icon_formats List of formats that will be checked by getIcon()
-- Default: { "png", "gif" }
-- @field default_preset Preset to be used by default.
@@ -47,7 +47,7 @@ module("naughty")
config = {}
config.padding = 4
config.spacing = 1
-config.icon_dirs = { "/usr/share/pixmaps/", }
+config.icon_dirs = { "${LOCALBASE}/share/pixmaps/", }
config.icon_formats = { "png", "gif" }
config.notify_callback = nil