#! /usr/bin/env sh # | CORDS=$(cat $HOME/.config/home-cords || echo '') LAT=$(echo $CORDS | cut -d '|' -f 1) LONG=$(echo $CORDS | cut -d '|' -f 2) if pidof wlsunset; then pkill wlsunset else wlsunset -l $LAT -L $LONG & fi