Commit Graph

134 Commits

Author SHA1 Message Date
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 94037efc6c Update NOAA link used by weather_all to HTTPS
Thank @yipengsun for the catch. Close #73
2019-02-05 16:21:01 +07:00
Jörg Thalheim d11703d589 move format_progress to mpd module
The function is not used by any other module and is only really useful
for formatting durations as exposed by 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 065bd1d009 Remove manual XML entities escape in widgets 2018-10-22 21:42:31 +07:00
Jay Kamat 0db5f3f222
Use MemAvailable for mem.free
The current method of calculating the amount of free memory is
incorrect. The linux kernel provides a method of getting this value,
MemAvailable, which we can simply use directly
2018-09-27 18:44:31 -07:00
mutlusun af979a04f7 read swapinfo in megabytes 2018-06-20 22:53:16 +02:00
mutlusun 2e832bc82e remove print statements (for testing purposes) 2018-06-06 22:46:03 +02:00
mutlusun 6e185bc89e calculating swap space using swapinfo (more reliable) 2018-06-06 21:55:36 +02: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
mutlusun 57bab3542b adds critical charging state to FreeBSDs battery widget 2018-03-12 21:22:48 +01:00
Joerg Thalheim a81435e1be fs: fix shell quoting of optional argument
fixes #49
2017-11-30 08:50:23 +00:00
Joerg Thalheim 1cfa040fbd re-add format parameter.
This broke custom formats in the date widget.
2017-10-23 15:24:17 +01: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
David Udelson ad327267bd Change bat widget discharging state char from U+2212 to U+002D
This avoids using a unicode character that looks just like a hyphen but
isn't, leading to subtle bugs when developers write code that interacts
with the bat_linux widget.
2017-05-27 12:19:42 -04:00
mutlusun f2aa096f83 small fix in bat_freebsd 2017-02-23 22:36:22 +01:00
Roberto d9ecb9f20d Added support for power usage 2017-02-17 19:23:37 +01:00
starenka e8bf98eb7f Fix for not working gmail widget 2017-02-17 00:21:56 +01:00
starenka 6ec9977851 fixing `nil` sent to curl 2017-02-15 16:35:18 +01:00
Elric Milon 1b41fc2132 Add iotime field to dio widget. 2017-01-29 12:02:57 +01:00
mutlusun 012b67a8c0
add fanspeed widget 2017-01-26 10:40:39 +01:00
mutlusun 602eada652
move weather widget to match new layout 2017-01-26 10:40:39 +01:00
mutlusun 785fefc13a
move wifi widget to match new layout 2017-01-26 10:40:39 +01:00
mutlusun 54baa996c4
port volume widget to freebsd 2017-01-26 10:40:39 +01:00
mutlusun f86c60d2fd
port uptime widget to freebsd 2017-01-26 10:40:38 +01:00
mutlusun 22d49a9e5d
move thermal widget to match new layout 2017-01-26 10:40:38 +01:00
mutlusun 5c7c695ea1
move raid widget to match new layout 2017-01-26 10:40:38 +01:00
mutlusun 909db88b00
move pkg widget to match new layout 2017-01-26 10:40:38 +01:00
mutlusun cdaa62884d
move os widget to match new layout 2017-01-26 10:40:38 +01:00
mutlusun b44bd1bb14
move org widget to match new layout 2017-01-26 10:40:38 +01:00
mutlusun c8c43d53ee
port net widget to freebsd 2017-01-26 10:40:38 +01:00
mutlusun 5b30e432e6
move mpd widget to match new layout 2017-01-26 10:40:37 +01:00
mutlusun 70f42e5d54
port mem widget to freebsd 2017-01-26 10:40:08 +01:00
mutlusun 261684f8b8
move mdir widget to match new layout 2017-01-25 21:30:43 +01:00
mutlusun 9695e0fea0
move mboxc widget to match new layout 2017-01-25 21:30:43 +01:00
mutlusun 2605a1b744
move mbox widget to match new layout 2017-01-25 21:30:43 +01:00
mutlusun bb5e6af08c
move hddtemp widget to match new layout 2017-01-25 21:30:43 +01:00
mutlusun 9a727d417e
move gmail to match new layout 2017-01-25 21:30:43 +01:00
mutlusun 108ab2eb82
move fs widget to match new layout 2017-01-25 21:30:42 +01:00
mutlusun ba4b94899e
move dio to match new layout 2017-01-25 21:30:36 +01:00
mutlusun 62dbf146a0
move date widget to match new layout 2017-01-25 21:29:36 +01:00
mutlusun 968fee1a54
move cpuinf widget to match new layout 2017-01-25 21:25:38 +01:00
mutlusun fbd91c9b37
port cpufreq widget to freebsd 2017-01-25 21:25:38 +01:00
mutlusun d7c99133e1
port cpu widget to freebsd 2017-01-25 21:25:38 +01:00
mutlusun 5628c9e478
port bat widget to freebsd 2017-01-25 21:25:38 +01:00
Mellich b6c5a57f41 Added new wifi widget using iw (#20)
* added new wifi widget that uses iw
2016-10-22 23:19:00 +02:00
zhrtz 5fc0e2dae2
Added hwmon interface support, dropped the annoying floating .0 with math.floor 2016-08-18 07:22:22 +02:00