From c65e4885b999e90732bf37ee954540bae58a4880 Mon Sep 17 00:00:00 2001 From: mms Date: Tue, 12 Nov 2024 23:23:01 +0100 Subject: feat: rename, again --- bin/chotto | 13 +++++++++++++ bin/osugiru | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) create mode 100755 bin/chotto delete mode 100755 bin/osugiru (limited to 'bin') diff --git a/bin/chotto b/bin/chotto new file mode 100755 index 0000000..0dabd48 --- /dev/null +++ b/bin/chotto @@ -0,0 +1,13 @@ +#!/usr/bin/env ruby + +require_relative "../lib/chotto.rb" + +CONFIG_FILEPATH = 'chotto/config.rb' +XDG_HOME = ENV.fetch('XDG_CONFIG_HOME', "#{Dir.home}/.config") +def start_chotto + config_file = File.read("#{XDG_HOME}/#{CONFIG_FILEPATH}") + instance_eval(config_file) + eval_rules +end + +start_chotto diff --git a/bin/osugiru b/bin/osugiru deleted file mode 100755 index 0ed7510..0000000 --- a/bin/osugiru +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env ruby - -require_relative "../lib/osugiru.rb" - -CONFIG_FILEPATH = 'osugiru/config.rb' -XDG_HOME = ENV.fetch('XDG_CONFIG_HOME', "#{Dir.home}/.config") -def start_osugiru - config_file = File.read("#{XDG_HOME}/#{CONFIG_FILEPATH}") - instance_eval(config_file) - eval_rules -end - -start_osugiru -- cgit v1.2.3