On Tue, Mar 13, 2012 at 7:06 AM, Ignas Anikevicius <[email protected]> wrote: > Mainly I want to change the colours. Would a simple hack work to just > change the theme table with some hackish function I might come up with > or is there a proper way to do it? Is beautiful.init("mytheme") suitable > for the job?
`beautiful.init` will re-init the theme table but the only visible change you are likely to see are wallpaper, and font (font family, and color). For widgets and others to start using the new theme, you will have to restart awesome. > I'd be very grateful if anybody could help me on this. Perhaps, there might be an interest in the community to have this in core? (I would love to.) Maybe a `beautiful.apply`, which does `beautiful.init` followed by `awesome.restart`. A potential issue might be that restarting awesome after switching theme is not 'safe' -- awesome may not restart (properly) because of an error in the theme. -- Anurag Priyam -- To unsubscribe, send mail to [email protected].
