Configure default worker settings

This commit is contained in:
Thibault Jouan
2015-04-17 20:04:07 +00:00
parent cb0c5f6ca2
commit 231e7cd67a
2 changed files with 8 additions and 2 deletions

View File

@@ -3,10 +3,11 @@ module Uh
class Env
RC_PATH = '~/.uhwmrc.rb'.freeze
MODIFIER = :mod1
KEYBINDS = {
MODIFIER = :mod1
KEYBINDS = {
q: proc { quit }
}.freeze
WORKER = :block
LOGGER_LEVEL = Logger::WARN
LOGGER_LEVEL_VERBOSE = Logger::INFO
@@ -28,6 +29,7 @@ module Uh
@rc_path = RC_PATH
@modifier = MODIFIER
@keybinds = KEYBINDS.dup
@worker = :block
end
def verbose?