aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authormms <git@sapka.me>2024-11-12 23:23:01 +0100
committermms <git@sapka.me>2024-11-12 23:23:01 +0100
commitc65e4885b999e90732bf37ee954540bae58a4880 (patch)
treea9e22b04c7306dc4f292ae22469c3f136ac9611f /bin
parent53112538e1f47ed446848c5787a87350a2cc6e31 (diff)
feat: rename, again
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chotto (renamed from bin/osugiru)8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/osugiru b/bin/chotto
index 0ed7510..0dabd48 100755
--- a/bin/osugiru
+++ b/bin/chotto
@@ -1,13 +1,13 @@
#!/usr/bin/env ruby
-require_relative "../lib/osugiru.rb"
+require_relative "../lib/chotto.rb"
-CONFIG_FILEPATH = 'osugiru/config.rb'
+CONFIG_FILEPATH = 'chotto/config.rb'
XDG_HOME = ENV.fetch('XDG_CONFIG_HOME', "#{Dir.home}/.config")
-def start_osugiru
+def start_chotto
config_file = File.read("#{XDG_HOME}/#{CONFIG_FILEPATH}")
instance_eval(config_file)
eval_rules
end
-start_osugiru
+start_chotto