awesome-wm-widgets/volumearc-widget/README.md

1.1 KiB

Volumearc widget

Almost the same as volumebar widget, but using arcchart:

![screenshot]({{'/assets/img/screenshots/volumearc-widget.gif' | relative_url }}){:.center-image}

Installation

  1. Clone this repo under ~/.config/awesome/

    git clone https://github.com/streetturtle/awesome-wm-widgets.git ~/.config/awesome/
    
  2. Require volumearc widget at the beginning of rc.lua:

    local volumearc_widget = require("awesome-wm-widgets.volumearc-widget.volumearc")
    
  3. Add widget to the tasklist:

    s.mytasklist, -- Middle widget
        { -- Right widgets
            layout = wibox.layout.fixed.horizontal,
            ...
            --[[default]]
            volumearc_widget(),
            --[[or customized]]
            volumearc_widget({
                main_color = '#0000ff',
                mute_color = '#ff0000',
                path_to_icon = '/usr/share/icons/Arc/actions/symbolic/view-grid-symbolic.svg',
                thickness = 5,
                height = 25
            }),
    
            ...