moved to personal fennel config for awesome and added qutebrowser
This commit is contained in:
parent
403cb92b7d
commit
688748f8a6
502 changed files with 8576 additions and 9597 deletions
22
awes2/widget/music/content/album-cover.lua
Executable file
22
awes2/widget/music/content/album-cover.lua
Executable file
|
@ -0,0 +1,22 @@
|
|||
local gears = require('gears')
|
||||
local awful = require('awful')
|
||||
local wibox = require('wibox')
|
||||
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
local config_dir = gears.filesystem.get_configuration_dir()
|
||||
local widget_icon_dir = config_dir .. 'widget/music/icons/'
|
||||
|
||||
local album_cover_img = wibox.widget {
|
||||
{
|
||||
id = 'cover',
|
||||
image = widget_icon_dir .. 'vinyl' .. '.svg',
|
||||
resize = true,
|
||||
clip_shape = gears.shape.rounded_rect,
|
||||
widget = wibox.widget.imagebox,
|
||||
},
|
||||
layout = wibox.layout.fixed.vertical
|
||||
}
|
||||
|
||||
|
||||
return album_cover_img
|
Loading…
Add table
Add a link
Reference in a new issue