awesome-wm-widgets/stackoverflow-widget
2020-04-28 20:46:35 -04:00
..
README.md various cosmetic readme improvements 2019-12-15 15:55:38 -05:00
screenshot.png Add stackoverflow widget 2019-11-14 22:23:43 -05:00
so-icon.svg Add stackoverflow widget 2019-11-14 22:23:43 -05:00
stackoverflow.lua remove duplicated param 2020-04-28 20:46:35 -04:00

Stackoverflow widget

When clicked, widget shows latest questions from stackoverflow.com with a given tag(s).

screenshot

Customization

It is possible to customize widget by providing a table with all or some of the following config parameters:

Name Default Description
icon /.config/awesome/awesome-wm-widgets/stackoverflow-widget/so-icon.svg Path to the icon
limit 5 Number of items to show in the widget
tagged awesome-wm Tag, or comma-separated tags

Installation

  1. Clone this repo (if not cloned yet) under ~/.config/awesome/:

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

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

    s.mytasklist, -- Middle widget
        { -- Right widgets
            layout = wibox.layout.fixed.horizontal,
            ...
            --default
            stackoverflow_widget(),
            --customized
            stackoverflow_widget({
                limit = 10
            })
            ...