dotfiles/rofi/modes/script
Gabriel Arazas cef34b86cb Add slop and newsboat config
I've also updated the Rofi config with my custom mode scripts.
Aside from that, I've finally took the time to recreate my file metadata
editing script.

Well, there's also the update of the README.
2020-09-17 23:55:09 +08:00

25 lines
399 B
Bash
Executable File

#!/usr/bin/env bash
if [ -z "${ROFI_OUTSIDE}" ]
then
echo "run this script in rofi".
exit
fi
if [ "$ROFI_RETV" = 1 ]
then
ROFI_RETV=11
fi
echo -en "\x00no-custom\x1ftrue\n"
echo -en "aap\0icon\x1ffolder\x1finfo\x1ftest\n"
echo -en "baa\x00info\x1fMONMON\n"
echo -en "aap\x00info\x1fWHAT\n"
if [ -n "${ROFI_INFO}" ]
then
echo "my info: ${ROFI_INFO} "
fi
notify-send "$ROFI_RETV"