diff options
Diffstat (limited to 'Spotify')
-rw-r--r-- | Spotify/screenshot.png | bin | 2231 -> 0 bytes | |||
-rw-r--r-- | Spotify/spotify.lua | 15 |
2 files changed, 0 insertions, 15 deletions
diff --git a/Spotify/screenshot.png b/Spotify/screenshot.png Binary files differdeleted file mode 100644 index 9893a92..0000000 --- a/Spotify/screenshot.png +++ /dev/null diff --git a/Spotify/spotify.lua b/Spotify/spotify.lua deleted file mode 100644 index 828d3e6..0000000 --- a/Spotify/spotify.lua +++ /dev/null @@ -1,15 +0,0 @@ -local wibox = require("wibox") -local awful = require("awful") - -spotify_widget = wibox.widget.textbox() - -function updateSpotifyWidget(widget) - local current = awful.util.pread('sp current-oneline') - widget:set_text(current) -end - -spotify_timer = timer ({timeout = 10}) -spotify_timer:connect_signal ("timeout", function() updateSpotifyWidget(spotify_widget) end) -spotify_timer:start() - -spotify_timer:emit_signal("timeout")
\ No newline at end of file |