summaryrefslogtreecommitdiff
path: root/spotify-shell
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@gmail.com>2018-01-27 19:39:12 -0500
committerstreetturtle <streetturtle@gmail.com>2018-01-27 19:39:12 -0500
commit40a2560445a11e6444f125871c3ae2df730f8577 (patch)
treef801e842c691a549e4473b904796def0cf7ff790 /spotify-shell
parent23862177f78863e894ca3848ddbf08d9f8562ab1 (diff)
make corners rounded
Diffstat (limited to 'spotify-shell')
-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 {