source: code/trunk/addons/kanako_menu@ 14

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

Prefix core variables with kanako_

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

  • Property svn:executable set to on
File size: 394 bytes
Line 
1#!/bin/sh -e
2readonly kanako_conf_dir="${conf_dir:-$HOME/.config/kanako}"
3readonly kanako_store_dir="${store_dir:-$HOME/.kanako-store}"
4
5if test -f "${kanako_conf_dir}"/kanako.conf; then
6 . "${kanako_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.