From 05554f239c79d738848f5453b16b8ad01e9a5f50 Mon Sep 17 00:00:00 2001 From: Alexander Shabalin Date: Sun, 14 Sep 2014 14:28:26 +0400 Subject: Add iconRoot config option For all if path does not start with "/", "./", "../" it will have iconRoot ++ "/" prepended to it. --- src/Config.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Config.hs') diff --git a/src/Config.hs b/src/Config.hs index e7c25ad..3514e50 100644 --- a/src/Config.hs +++ b/src/Config.hs @@ -67,6 +67,7 @@ data Config = -- window stack on initialization , persistent :: Bool -- ^ Whether automatic hiding should -- be enabled or disabled + , iconRoot :: FilePath -- ^ Root folder for icons , commands :: [Runnable] -- ^ For setting the command, -- the command arguments -- and refresh rate for the programs @@ -118,6 +119,7 @@ defaultConfig = , allDesktops = True , overrideRedirect = True , pickBroadest = False + , iconRoot = "." , commands = [ Run $ Date "%a %b %_d %Y * %H:%M:%S" "theDate" 10 , Run StdinReader] , sepChar = "%" -- cgit v1.2.3