Class: Hexapic::WallpaperSetter::KDE4
- Inherits:
-
Object
- Object
- Hexapic::WallpaperSetter::KDE4
- Defined in:
- lib/hexapic/wallpaper_setter.rb
Instance Method Summary collapse
Instance Method Details
#set(path) ⇒ Object
27 28 29 30 |
# File 'lib/hexapic/wallpaper_setter.rb', line 27 def set(path) comand = "dbus-send --session --dest=org.new_wallpaper.Plasmoid --type=method_call /org/new_wallpaper/Plasmoid/0 org.new_wallpaper.Plasmoid.SetWallpaper string:#{path}" system comand end |