nixos-configs/waybar/scripts/toggle-heart.sh

8 lines
123 B
Bash
Executable file

#!/bin/bash
TOGGLE=$HOME/.config/waybar/scripts/.heart
if [ ! -e $TOGGLE ]; then
touch $TOGGLE
else
rm $TOGGLE
fi