summaryrefslogtreecommitdiff
path: root/spotify-shell/spotify-shell.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spotify-shell/spotify-shell.lua')
-rw-r--r--spotify-shell/spotify-shell.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/spotify-shell/spotify-shell.lua b/spotify-shell/spotify-shell.lua
index 5269b67..e981e06 100644
--- a/spotify-shell/spotify-shell.lua
+++ b/spotify-shell/spotify-shell.lua
@@ -11,6 +11,7 @@
local awful = require("awful")
local gfs = require("gears.filesystem")
local wibox = require("wibox")
+local gears = require("gears")
local ICON = '/usr/share/icons/Papirus-Light/32x32/apps/spotify-linux-48x48.svg'
@@ -25,6 +26,9 @@ local w = wibox {
screen = mouse.screen,
height = 50,
width = 250,
+ shape = function(cr, width, height)
+ gears.shape.rounded_rect(cr, width, height, 3)
+ end
}
w:setup {