module Install

Public Class Methods

config(path) click to toggle source
# File lib/dotfiles/core/install.rb, line 42
def self.config(path)
  contents = FileSystem.contents(path)
  Sudo.copy(contents, @@config)
end
etc(path) click to toggle source
# File lib/dotfiles/core/install.rb, line 37
def self.etc(path)
  contents = FileSystem.contents(path)
  Sudo.copy(contents, @@etc)
end
scripts(name, path) click to toggle source
# File lib/dotfiles/core/install.rb, line 52
def self.scripts(name, path)
  contents = FileSystem.contents(path)
  scripts = FileSystem.mkdir(@@scripts+name)

  Sudo.copy(contents, scripts)
end
tools(path) click to toggle source
# File lib/dotfiles/core/install.rb, line 47
def self.tools(path)
  contents = FileSystem.contents(path)
  Sudo.copy(contents, @@root)
end
wallpapers(name, path) click to toggle source
# File lib/dotfiles/core/install.rb, line 59
def self.wallpapers(name, path)
  contents = FileSystem.contents(path)
  pictures = FileSystem.mkdir(@@pictures+name)

  Sudo.copy(contents, pictures)
end