dots-of-war/eggs/scripts/wpms.sh

17 lines
192 B
Bash
Raw Normal View History

2024-12-05 21:10:22 +00:00
#!/bin/sh
file="$(echo ~/wpms/* | xargs realpath | rofi -dmenu)"
if [ -f "$file" ]; then
echo "$(date +%s) $(rofi -dmenu)" >> "$file"
else
notify-send "No valid file given :/"
fi