mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +00:00
17 lines
192 B
Bash
17 lines
192 B
Bash
|
#!/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
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|