#!/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