dots-of-war/files/scripts/wpms.sh
2021-01-02 17:33:37 +01:00

16 lines
192 B
Bash
Executable file

#!/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