You are not logged in.
Hi there,
I am reasonably new to DWM and I am trying my hand at a bit of customization. Currently what i am trying to do is for one of the "Tags" (9 specifically) to be named "R" to be Red when in focus and to only have a terminal open. I am just wondering how i could achieve this?
I have gotten the tag name to change but that's it. Any ideas?
--Brendan
Offline
If you change the selfgcolor in config.h and recompile, the selected tag will be red.
You can add a rule to have a terminal assigned to that tagwhen it is opened, something like:
{ NULL, NULL, "redterm", 0, True, -1 },
...
static const char *redcmd[] = { "urxvtc", "-title", "redterm", NULL }; Offline
Hey Jason, Thanks for the speedy reply! Sorry to be a pain in the ass but would it be possible to give me an example on how one could do this my C is 110% non-existent ![]()
Offline
Have a look at my configs (in my signature). It is pretty straightforward once you play around with it for a bit...
Offline
Okay will give it a go I'm just assuming this one: This one
Offline
Yep. Use the scratchpad as an example (it's just an empty terminal with a preconfigured geometry that I pull up with a keybind).
Offline
hey Jason,
your above stuff was SUPER helpful thanks heaps! I do however, have another question. As per the attached image is it possible to change the colour of the status bar (currently blue) depending on what tag you're in?
Offline
If by status bar you mean the area where 'st' is printed, no. There may be a patch for it, but I've not come across it...
Offline
Ahh damn! Yeah that's where I meant. What about where the actual tag is shown?
Offline
Well, you can change the four variables in config.h, but that is about it. Otherwise, you are looking at patching, or hacking something yourself.
If you are really set on it, look at Awesome or Xmonad; both were inspired by dwm but cater for more bling...
Offline