Commit Graph

59 Commits

Author SHA1 Message Date
Nguyễn Gia Phong 365e754d8d [docs] Create symlinks to CONTRIBUTING and CHANGELOG 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong d35eeb2ed3 [docs] Move examples from README 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong 897ebe97b7 [docs] Move format function guide from README 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong 5f87644d28 [docs] Move custom widget type guide from README 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong 1840d0b10d [docs] Move widget type API from README 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong 901e03f39f [docs] Move caching and security notes from README 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong be0eb4870d [docs] Move *See also* from README 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong 2a8f987b22 [docs] Move basic instructions from README 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong b7d08fc84b Draft Sphinx doc structure 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong eca31413bd
Merge pull request #94 from vicious-widgets/copyright
Add copyright notices and contributing guidelines
2019-10-24 21:08:54 +07:00
Enric Morales 9493dcaa73
[cpu_openbsd] Add a CPU usage widget for OpenBSD (#95)
* [cpu_openbsd] Add a CPU usage widget for OpenBSD

* Remove filename from the header and fix the license name

* Reindent file to get rid of tabs

* Re-add file header and add space after year in copyright line

* Remove space before parens

* Make `ticks` local to the module
2019-10-18 13:27:56 +02:00
Enric Morales ee970d0c68 Add a notmuch widget (#92) 2019-10-17 21:26:06 +07:00
Nguyễn Gia Phong b9c424c768 Fix styling according to CONTRIBUTING.md 2019-10-17 21:26:06 +07:00
Enric Morales 969ea465e0 Add a notmuch widget (#92) 2019-10-15 20:11:15 +07:00
Nguyễn Gia Phong 5e7a5325f5 Update changelog and contributor list in README.md 2019-09-18 15:52:45 +07:00
mutlusun 8092915e86
[fanspeed_freebsd] Multiple fans are now supported 2019-08-23 10:08:05 +02:00
Nguyễn Gia Phong 16831e899c
Merge branch 'master' into async 2019-08-16 20:51:10 +07:00
Xaver Hellauer ca075d0c8e BSSID in vicious.widgets.wifiiw 2019-07-19 09:57:25 +07:00
Xaver Hellauer a2467bead4 documentation of ${bssid} in vicious.widgets.wifiiw 2019-07-19 09:56:17 +07:00
Nguyễn Gia Phong b8afc3aafc [cmus] Deprecate io.popen and promote to widgets/ 2019-07-04 21:49:08 +07:00
Nguyễn Gia Phong 565d74cc8b [fs] Deprecate io.popen
Also clarify unit prefix convention
2019-06-22 17:25:18 +07:00
mutlusun b0b6d46937
Merge branch 'master' into async 2019-06-03 19:11:25 +02:00
Nguyễn Gia Phong 62e9a757df [{wifi,wifiiw}_linux] Deprecate io.popen 2019-05-29 21:46:02 +07:00
Arthur Axel 'fREW' Schmidt cf81341fc9 Surface {when} in local time for weather widget
Here's how I use this:

      local weather_widget = function(
        code,
        url,
        name
      )
        local actual_widget = wibox.widget.textbox()
        local actual_tooltip = awful.tooltip({ objects = { actual_widget } });

        actual_widget:buttons(awful.util.table.join(
          awful.button({}, 1, function () awful.spawn("firefox '" .. url .. os.time() .. "'") end)
        ))

        vicious.register(actual_widget, vicious.widgets.weather,
          function (widget, args)
            actual_tooltip:set_text(
              "City: " .. args["{city}"] ..
                "\nWind: " .. args["{windmph}"] .. "mph " ..
                "\nSky: " .. args["{sky}"] ..
                "\nHumidity: " .. args["{humid}"] ..
                "\nMeasured at: " .. os.date("%F %T", args["{when}"]))
            return name .. " " .. args["{tempf}"] .. "°F"
        end, 60 * 10, code)

        return actual_widget
      end
2019-05-21 21:31:28 +07:00
Lorenzo Gaggini f37566b0af [mpd] Add playing progress percentage (#80) 2019-03-16 08:38:52 +07:00
Enric Morales 96c9d59eb5 Add battery support for OpenBSD (#76) 2019-03-08 11:57:08 +07:00
Nguyễn Gia Phong a3759eb8a4 Nitpick documentation for 2.3.2 release 2019-02-14 20:32:55 +07:00
Alexander Koch ded191cf4e widgets: Add hwmontemp_linux
Introduce hwmontemp_linux widget, which provides name-based access to hwmon
sensors via sysfs.
2019-02-14 19:42:53 +07:00
Nguyễn Gia Phong 36abb4f26c Update weather widget type to use Awesome async API
Timeout for fetching data could be removed
since this widget would run on another thread.
2019-02-12 20:43:45 +07:00
Nguyễn Gia Phong ef36b77221 Add note about awesome's awful.widget.watch
For simpler widgets that only fetch data from a command,
it might be easier to use awesome's standard library,
thus is it noted in the README just in case an user isn't
aware of that feature.

Also fix a typo.
2019-01-26 15:59:39 +07:00
Nguyễn Gia Phong 6da3c9304a Update stack graph example 2019-01-23 05:11:12 +07:00
Jörg Thalheim a902a23b5c README.md: documentation nitpick for mpd 2018-12-15 00:10:38 +07:00
Nguyễn Gia Phong e84be352c5 Make mpd widget type expose more info
By default, format time values in [hh:]mm:ss. Also use printf instead of
echo, which is shell-specific.
2018-12-15 00:10:38 +07:00
Nguyễn Gia Phong 5d2eda1225 Reformat README.md 2018-12-01 02:40:07 +07:00
Andreas Geisenhainer 0c2313dcdd mem: adds information about used memory without freeable parts
* used memory (values 1 and 2) are: everything but free+cache
* laundry is counted as freeable, but not free.
** "notfreeable memory" (values 11 and 12) are: active+inactive+wired
2018-03-16 18:16:55 +01:00
Andreas Geisenhainer df5fa77428 memory freebsd: re-organizes memory assignment for used and unused memory
* removes unused variables
* enhances one-character-variables for better readabilitiy
* fixes calculation errors
** used memory: active, inactive, and wired
** available memory: cached, laundry, and free

see https://wiki.freebsd.org/Memory for more information
2018-03-12 21:24:04 +01:00
mutlusun 0280ac2243 freebsd memory clean ups and correct calculation 2018-03-12 21:22:48 +01:00
Beniamin Kalinowski f3d69142c6 Readme: fix repl usage & deadlink 2017-11-16 16:13:29 +00:00
Brandon Hartshorn 750532a1d8 volume: allow to pass multiple arguments to amixer (#44)
* Added option for a table to configure volume widget, allowing device specification also.

* Updated README.md with new configuration options for volume widget

* volume: allow passing a list of commandline arguments
2017-10-08 15:33:32 +01:00
getzze 983253a27f Allow asynchronous call (for Awesome4+) (#32) 2017-07-13 21:42:26 +01:00
Jörg Thalheim fe10ee8201 README.md: update examples awesome v4 api 2017-07-09 19:39:30 +01:00
Michael Kressibucher 941e50294a Readme.md wibox for battery widget example (#33)
* Use wibox for battery widget example

* mention color gradient/margin
2017-04-01 21:44:56 +02:00
Jörg Thalheim 4c082ace6b
add myself as new maintainer 2017-03-30 17:48:52 +02:00
mutlusun 171b69216e update README 2017-02-27 10:13:29 +01:00
Jörg Thalheim 96c13b326b
Revert "Handle single widget arguments to force (#29)"
This reverts commit 043e50322d.
2017-02-22 20:41:35 +01:00
James Reed 043e50322d Handle single widget arguments to force (#29)
* Handle single widget arguments to force
* update README (force/single-use)
2017-02-22 11:14:53 +01:00
Roberto d9ecb9f20d Added support for power usage 2017-02-17 19:23:37 +01:00
Elric Milon e66ce03a51 Add iotime keys to README.md 2017-01-29 12:02:57 +01:00
mutlusun 7aa1bac13c small fixes in README and adding of gitignore 2017-01-28 11:12:12 +01:00
Jörg Thalheim f119cd4401 README.md: link to freebsd maintainer. 2017-01-26 10:54:07 +01:00