Explore the source / dotfiles

Inside dotfiles.

Shell, terminal, backup, and the configuration that joins them. Browse the current public files here, or visit the dotfiles repository on GitHub.

dotfiles / main

home/.config/karabiner/assets/complex_modifications/scripts/yomu/yomu_underline.sh

View on GitHub
currentPosition=$(/opt/homebrew/bin/cliclick p)
/opt/homebrew/bin/cliclick c:.
yPosition=$(echo $currentPosition | cut -d "," -f 2)

if [ $yPosition -gt 993 ]
then
	/opt/homebrew/bin/cliclick -w 200 m:+15,1030 c:.
else
	/opt/homebrew/bin/cliclick -w 200 m:+15,+30 c:.
fi

sleep 0.5
/opt/homebrew/bin/cliclick m:+0,-25 c:.
sleep 0.1
/opt/homebrew/bin/cliclick m:$currentPosition