Skip to content

Conversation

@historical-theology
Copy link
Contributor

The one trouble with using a shell script for the spectrwm bar is that any shell scripts is not going to be portable/cross-platform. What made this apparent to me was trying to find a script to clone (as a non-programmer and non-scripter) for my FreeBSD installation; the default baraction.sh in the FreeBSD package is actually written for OpenBSD, and most iterations across the Web are for GNU/Linux (and written in Bash rather than Bourne or another more common *BSD shell).

A conky configuration, however, is almost entirely cross-platform (save odds and ends like mixer vs. pulseaudio) -- and easy. I think that it would be good for the project to include a sample conky configuration and a note about the option of installing and using conky directly in the same .spectrwm.conf file. What I have done here is a (very) simple iteration of just that idea.

Many thanks for all of your great work on my favorite window manager, folks.

For piping a conky reading through the spectrwm bar. Helpful for making a truly portable (cross-platform) set of spectrwm dotfiles.
@LordReg
Copy link
Contributor

LordReg commented Jun 4, 2021

The main baraction.sh file is just an example that works on OpenBSD since the main directory targets OpenBSD. An example for GNU/Linux was merged a couple years ago and is under linux/. If someone wants to submit an example for FreeBSD, it could be added under freebsd/. We have generally avoided including configuration files for other programs. I think the spectrwm wiki would be a more appropriate place for guides/examples to help with specific programs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants