Method: Fusuma::Environment.print_version

Defined in:
lib/fusuma/environment.rb


19
20
21
22
23
24
25
26
27
# File 'lib/fusuma/environment.rb', line 19

def print_version
  libinput_command = Plugin::Inputs::LibinputCommandInput.new.command
  MultiLogger.info "Fusuma: #{VERSION}"
  MultiLogger.info "libinput: #{libinput_command.version}"
  MultiLogger.info "ruby #{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
  MultiLogger.info "OS: #{`uname -rsv`}".strip
  MultiLogger.info "Distribution: #{`cat /etc/issue`}".strip
  MultiLogger.info "Desktop session: #{`echo $DESKTOP_SESSION $XDG_SESSION_TYPE`}".strip
end