diff options
author | streetturtle <streetturtle@gmail.com> | 2018-01-27 19:39:12 -0500 |
---|---|---|
committer | streetturtle <streetturtle@gmail.com> | 2018-01-27 19:39:12 -0500 |
commit | 40a2560445a11e6444f125871c3ae2df730f8577 (patch) | |
tree | f801e842c691a549e4473b904796def0cf7ff790 | |
parent | 23862177f78863e894ca3848ddbf08d9f8562ab1 (diff) |
make corners rounded
-rw-r--r-- | spotify-shell/spotify-shell.lua | 4 |
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 { |