Class: Hexapic::WallpaperSetter::Mate

Inherits:
Object
  • Object
show all
Defined in:
lib/hexapic/wallpaper_setter.rb

Instance Method Summary collapse

Instance Method Details

#set(path) ⇒ Object



20
21
22
23
# File 'lib/hexapic/wallpaper_setter.rb', line 20

def set(path)
  comand = "gsettings set org.mate.background picture-filename #{path}"
  system comand
end