fyrfaras It's actually telling you exactly what it's wrong,
~/.config/leftwm/themes/current/up: line 31: tac: command not found
sed: 1: "/\s*$/d": RE error: trailing backslash ()
What shell are you using?
Can you maybe post your up
script?
Depending on your shell, this on the default script
sizes=( $(leftwm-state -q -n -t $SCRIPTPATH/sizes.liquid | sed -r '/^\s*$/d') )
might need to be adjusted.
I'm running leftwm
-git but, on NetBSD and I have the following up
script,
#!/bin/sh
export SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
# Down the last running theme
if [ -f "/tmp/leftwm-theme-down" ]; then
/tmp/leftwm-theme-down
rm /tmp/leftwm-theme-down
fi
ln -s $SCRIPTPATH/down /tmp/leftwm-theme-down
# Start picom
if [ -x "$(command -v picom)" ]; then
picom --config $SCRIPTPATH/picom.conf &> /dev/null &
fi
# Define theme.toml
echo "LoadTheme $SCRIPTPATH/theme.toml" > "$XDG_RUNTIME_DIR"/leftwm/commands.pipe
# Set wallpaper
if [ -x "$(command -v feh)" ]; then
feh --bg-fill $SCRIPTPATH/wall.jpg
fi
# Start lemonbar and pipe leftwm status into it
sizes=$(leftwm-state -q -n -t $SCRIPTPATH/sizes.liquid | sed -r '/^s*$/d')
index=0
for size in ${sizes}
do
leftwm-state -w $index -t $SCRIPTPATH/template.liquid | lemonbar -f 'Fantasque Sans Mono Nerd Font Complete Mono:style=Regular:pixelsize=10' -g $size -F#C0C5CE -B#BD282828&
let index=index+1
done
Note: you need lemonbar-xft
to be able to use ttf fonts, so don't just copy/paste.
https://www.unitedbsd.com/d/452-show-us-your-screen/98