Files
_dotfiles/.config/i3blocks/configure
2024-06-11 21:08:44 +02:00

8 lines
132 B
Bash
Executable File

#!/bin/sh
set -ex
PREFIX=$(echo $1 | cut -d= -f 2)
if [ -n "$PREFIX" ]
then
sed -i "s;^PREFIX.*;PREFIX = $PREFIX;g" Makefile
fi