source: code/trunk/addons/kanako_menu@ 11

Last change on this file since 11 was 11, checked in by koizumi.aoi, 3 years ago

Moved addons to their own directory. Add kanako_gen, Removed
kanako-init, etc.

Signed-off-by: Aoi K <koizumi.aoi@…>

  • Property svn:executable set to on
File size: 366 bytes
RevLine 
[11]1#!/bin/sh -e
2readonly conf_dir="${conf_dir:-$HOME/.config/kanako}"
3readonly store_dir="${store_dir:-$HOME/.kanako-store}"
4
5if test -f "${conf_dir}"/kanako.conf; then
6 . "${conf_dir}"/kanako.conf
7else
8 echo "Configuration file has not been found!"
9 exit 1
10fi
11
12find . -name '*.enc' | sort | sed 's,^\./,,;s,\.enc$,,' | ${menu_prog} | xargs $(which kanako) -c
Note: See TracBrowser for help on using the repository browser.