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
24
awes2/widget/music/content/volume-slider.lua
Executable file
24
awes2/widget/music/content/volume-slider.lua
Executable file
|
@ -0,0 +1,24 @@
|
|||
local beautiful = require('beautiful')
|
||||
local gears = require('gears')
|
||||
local awful = require('awful')
|
||||
local wibox = require('wibox')
|
||||
local dpi = beautiful.xresources.apply_dpi
|
||||
|
||||
local slider = {}
|
||||
|
||||
slider.vol_slider = wibox.widget {
|
||||
bar_shape = gears.shape.rounded_rect,
|
||||
bar_height = dpi(5),
|
||||
bar_color = '#ffffff20',
|
||||
bar_active_color = '#f2f2f2EE',
|
||||
handle_color = '#ffffff',
|
||||
handle_shape = gears.shape.circle,
|
||||
handle_width = dpi(15),
|
||||
handle_border_color = '#00000012',
|
||||
handle_border_width = dpi(1),
|
||||
maximum = 100,
|
||||
widget = wibox.widget.slider,
|
||||
}
|
||||
|
||||
return slider
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue