summarylogtreecommitdiffstats
path: root/macroPrompt.sh
blob: ca76fc2335483897618ae0886f83251151f0569b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

macroDir=~/.config/xmacro
if [ ! -d ${macroDir} ];then
	mkdir -p ${macrodir}
fi

echo "Which macro button should this be assigned to? [1-5]"
read macroNumber

fileName=macro${macroNumber}.rec

xmacrorec2 -o ${macroDir}/${fileName}