summaryrefslogtreecommitdiff
path: root/Spotify/spotify.lua
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@gmail.com>2017-01-30 21:38:50 -0500
committerstreetturtle <streetturtle@gmail.com>2017-01-30 21:40:01 -0500
commitc4826fd21340d34e3592b0c8ca24fc068e52c6ef (patch)
treedbbc8fd3df693cfc57cbc1ff5246164f8fc41c01 /Spotify/spotify.lua
parenta079c79ab81a4bc2f7cf7971db6373fefe1e6110 (diff)
new widgets added
Diffstat (limited to 'Spotify/spotify.lua')
-rw-r--r--Spotify/spotify.lua15
1 files changed, 0 insertions, 15 deletions
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