You are not logged in.
so in my awesome rc.lua i define my menu items as such
ex:
webbie = "arora -bg darkslategrey"
fm = "worker"-- etc --
then for menu items i do as
web = {
{ "Browser", arora }
}however .. rather than use a defined color i would like to do summin as such
webbie = "arora -bg "#222222""however that gives my rc.lua a headache and a crash back to default
(hope this is enough info)
i would like to set an x app to a hex color defined in my rc.lua unless there is a better way
plz n ty for the help
Last edited by VanillaFunk (2013-10-31 10:22:05)
Offline
I don't use Awesome, but that definition would crash every single scripting/programming language I know.
Have you tried to remove those unescaped double quotes?
webbie = "arora -bg #222222"Last edited by spcode (2013-10-31 11:28:33)
Offline
yea i have... just did it again to double check but when i remove the quotes it defaults and no color change is used. i also tried
export AROCOLOR="#222222"and inserting that in with
webbie = "arora -bg ${AROCOLOR}"but that does the same nothing that removing the quotes does.
-- edit --
only other thing i could think of was defining a color in X's color file. (rgb.txt)
gonna see if i can find it as its not in "/lib/X11/"
Last edited by VanillaFunk (2013-10-31 12:43:44)
Offline
so i read up a bit more ... rgb.txt is depricated and i found the answer lies in setting xresources. the command to put in xinitrc i get however when i define colors in .Xresources they dont seem to work for arora
assuming i understand the wiki i should be able to define colors i am not sure how much i wanna set as such as im very sure im not entirely understanding ... i would then :
arora.background: #222222ill look more into this unless some one can explain better to me. sometimes i need to reread things 4 or 5 times and im not understanding the wiki as its not working
https://wiki.archlinux.org/index.php/X_resources
is what im reading through in case anyone is familiar with this page
Last edited by VanillaFunk (2013-10-31 22:56:06)
Offline