Class: Hexapic::WallpaperSetter::Gnome3

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

Instance Method Summary collapse

Instance Method Details

#set(path) ⇒ Object



13
14
15
16
# File 'lib/hexapic/wallpaper_setter.rb', line 13

def set(path)
  comand = "gsettings set org.gnome.desktop.background picture-uri file:///#{path}"
  system comand
end