mihirlad55 / dwm-anybar

MIT License
34 stars 0 forks source link

Docks like plank and cairo-dock #8

Open gitlerat opened 3 years ago

gitlerat commented 3 years ago

Hi i want to use cairo-dock

Is this possible with your script? I cannot test it because i got patching erros:

I am on debian 10 and using a fresh dwm6.2 thats the dwm.c.rej file:

--- dwm.c
+++ dwm.c
@@ -713,6 +730,9 @@ dirtomon(int dir)
 void
 drawbar(Monitor *m)
 {
+   if (usealtbar)
+       return;
+
    int x, w, tw = 0;
    int boxs = drw->fonts->h / 9;
    int boxw = drw->fonts->h / 6 + 2;
mihirlad55 commented 2 years ago

Sorry for the late response.

I've never used cairo-dock before, but technically it should be possible so long as it is treated as a window in the X11 system and is either docked on the top or bottom of the screen. Just make sure to set the configuration variables as indicated in the README.

As far as patching goes, there are plenty of resources online on patching code and dwm in particular. Please refer to those. If you have other patches applied, it is likely that the anybar patch will not apply cleanly and this is often expected with dwm's patching system.

If you did happen to get cairo-dock working, please reply to this issue so others in the future can refer to this.