blob: 0ed7510ae2ca9d337305f3393346a66d5251f884 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/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
|