summaryrefslogtreecommitdiff
path: root/spotify-shell
diff options
context:
space:
mode:
authorSam Delmerico <svdelmerico@gmail.com>2018-11-26 16:21:48 -0500
committerSam Delmerico <svdelmerico@gmail.com>2018-11-26 16:21:48 -0500
commit2cf217dc6c45f206aef0e065fa3ede4c36d73e3b (patch)
treea257f029216862d7525ca7e6e1818982b4a03085 /spotify-shell
parentf369e1cb28a308f6967d7bc31375c637755b1e3f (diff)
parent1eefac87faefa22b0d3941a9fd4c76010688f59e (diff)
merge biased battery levels
Diffstat (limited to 'spotify-shell')
-rw-r--r--spotify-shell/spotify-shell.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/spotify-shell/spotify-shell.lua b/spotify-shell/spotify-shell.lua
index e981e06..0611e66 100644
--- a/spotify-shell/spotify-shell.lua
+++ b/spotify-shell/spotify-shell.lua
@@ -23,7 +23,6 @@ local w = wibox {
border_color = '#84bd00',
max_widget_size = 500,
ontop = true,
- screen = mouse.screen,
height = 50,
width = 250,
shape = function(cr, width, height)
@@ -55,7 +54,7 @@ w:setup {
local function launch()
w.visible = true
- awful.placement.top(w, { margins = {top = 40}})
+ awful.placement.top(w, { margins = {top = 40}, parent = awful.screen.focused()})
awful.prompt.run{
prompt = "<b>Spotify Shell</b>: ",
bg_cursor = '#84bd00',