mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-12-23 01:35:51 +01:00
12 lines
307 B
Bash
12 lines
307 B
Bash
mkdir -p $HOME/xmacros
|
|
|
|
register=$(ls $HOME/xmacros | rofi -dmenu)
|
|
count=$(echo "2;5;10;20;50;100" | rofi -dmenu -sep ";" -l 5)
|
|
|
|
for i in $(seq $count); do
|
|
echo $i
|
|
xmacroplay "$DISPLAY" < $HOME/xmacros/$register
|
|
done
|
|
register=$(ls $HOME/xmacros | rofi -dmenu)
|
|
|
|
xmacrorec2 > $HOME/xmacros/$register
|