In another thread https://forums.freebsd.org/threads/...a-lot-of-stuff-on-configuring-alacritty.94434 I asked about a status bar for dwl that is like that of dwm.
It seems that there is now a patch that will do at least some of it. The dwl patches section at https://codeberg.org/dwl/dwl-patches/src/branch/main/patches has a bar patch that will probably work on FreeBSD, so far I've only tried it on Fedora, where I downloaded the dwl-0.7.tgz and the bar patch, applied it and it worked. That still doesn't, at least not where someone with my limited knowledge can see, a way to have the date up there. However, there is a second patch, bar-systray, that seems as if it might work. I'll probably try it on Fedora tomorrow, as it's been a long day for various silly reasons. Not sure how, even if I got it working on Fedora, I'd be able to get it all working in FreeBSD, though I suspect someone with more knowledge than I have could.
On the other hand, as far as having time/date at top of the page, NapoleonWils0n's suggestion of tmux (did he mention the status bar at top of tmux, or was that my idea?) will certainly work. As things stand, on my main workstation, I can't get wayland working with the NVidia card, and don't really need it. I'm pretty old, so I suspect X will be around longer than I will be. And even the laptop, I mostly use it to watch videos, because it seems smoother than X, and with dwl, I can use wlr-randr to just turn off the laptop display, or, if I want to use dwl, put it in floating mode, drag the mpv window till it goes off the laptop screen and shows up on the TV. So, my issues are definitely First World Problems. It's more that I'd just like to be able to do it. I haven't yet tried putting the bar patch in dwl files, but probably will this week. To use it, you start dwl with
and like the dwm bar, it will show the different tags and show what program window is focused, as well as show the icons that dwm people know, to show if you are in floating, tiled, or monacle mode. In Fedora at least, when I run that slstatus -s |dwl, I do get a message that slstatus is not found or unknown, or something (too lazy to open the laptop and check the exact message), but despite that, the status bar runs and does what it should.
As far as adding the date, even with dwm, that is done through an xsetroot command, for example
To sum up, those who are using dwl and would like a status bar like dwm's, this bar patch is really nice, and does everything a dwm bar would do (save run any xsetroot commands)
It seems that there is now a patch that will do at least some of it. The dwl patches section at https://codeberg.org/dwl/dwl-patches/src/branch/main/patches has a bar patch that will probably work on FreeBSD, so far I've only tried it on Fedora, where I downloaded the dwl-0.7.tgz and the bar patch, applied it and it worked. That still doesn't, at least not where someone with my limited knowledge can see, a way to have the date up there. However, there is a second patch, bar-systray, that seems as if it might work. I'll probably try it on Fedora tomorrow, as it's been a long day for various silly reasons. Not sure how, even if I got it working on Fedora, I'd be able to get it all working in FreeBSD, though I suspect someone with more knowledge than I have could.
On the other hand, as far as having time/date at top of the page, NapoleonWils0n's suggestion of tmux (did he mention the status bar at top of tmux, or was that my idea?) will certainly work. As things stand, on my main workstation, I can't get wayland working with the NVidia card, and don't really need it. I'm pretty old, so I suspect X will be around longer than I will be. And even the laptop, I mostly use it to watch videos, because it seems smoother than X, and with dwl, I can use wlr-randr to just turn off the laptop display, or, if I want to use dwl, put it in floating mode, drag the mpv window till it goes off the laptop screen and shows up on the TV. So, my issues are definitely First World Problems. It's more that I'd just like to be able to do it. I haven't yet tried putting the bar patch in dwl files, but probably will this week. To use it, you start dwl with
Code:
slstatus -s dwl
As far as adding the date, even with dwm, that is done through an xsetroot command, for example
Code:
while true; do xsetroot -name "$(date +"%R %F")";sleep 1m;done &
To sum up, those who are using dwl and would like a status bar like dwm's, this bar patch is really nice, and does everything a dwm bar would do (save run any xsetroot commands)