DEV Community

Discussion on: .Xresources

Collapse
 
sureshsaragadam profile image
sureshsaragadam

very impressive, i just want to find how to do the same desktop setup. I am using the arch, Urxvt, Vim, i3wm, but i copied the resource file as it is. i did not get the same output.

How is it possible to get the same desktop setup? can you please brief.

Collapse
 
haxnet profile image
HaxNet

Hi @sureshsaragadam my guess is that the resolution is the cause. I do the same with my desktop and laptop but I had to config my font size and stuff. Typically, I will end up forgetting something specific that throws it off. Sorry I can't be of any help

Collapse
 
dimassss profile image
Dmytro Karpus

You have to chage all lines where is * to dot. For example "URxvt*myvar" must be "URxvt.myvar". Howerver do not touch lines which start with *, for example "*color03: #123456". The difference is that in the case of URxvt example line that dot means accessing corresponding property of URxvt. So "URxvt.cursorBlink: true" means that you want to set property cursorBlink of namespace URxvt to value true. But in the case of lines which start with * it simply means "in all namespaces". So "*foreground: #123456" means to set foreground property to hex color #123456 as default in all namespaces where this property exists.