Commit Graph

1769 Commits

Author SHA1 Message Date
Albin Wahlén 6a06d3cb79
Add format option for net and temp widget (#523) 2022-03-15 16:17:01 +00:00
Albin Wahlén 4933d6cb27
Fix alsa widget updating unnecessarily (#516) 2021-09-25 11:53:06 +00:00
Luca Capezzuto 1db09ba186 Merge branch 'shubham-cpp-view_non_empty' 2021-08-22 14:33:35 +02:00
Shubham Pawar 284a4b61a5 Better implementation of tag_view_nonempty
The Problem:
The issue will current implementation is that it goes to next tag and
stops only if clients on that tag are more than 0.
So now consider a scenario we have clients on *tag 1,2,5*

With the current implementation if we are on tag 2 and call
lain.util.tag_view_nonempty(1) and then call
awful.tag.history.restore() It will take us to tag 4 instead of tag 2.

This PR solves the problem
2021-08-22 07:48:09 +05:30
Luca CPZ f55ba48d7a Merge branch 'zdmgmail-master' 2021-07-06 11:12:02 +01:00
zdmgmail 8d4f9b32b0
util.tag_view_nonempty(direction,sc) 2021-07-06 10:33:53 +08:00
Sam Price 7e814d1411
Add volume to MPD widget (#507) 2021-07-01 19:08:53 +00:00
Pratik Devkota 6bf79c30ae
Update cpu.lua (#506)
I noticed once that the CPU usage was being reported as being '-1%', I dug around the code for a while and think that the change at line 52 should make sure no negative values are obtained.

Co-authored-by: Pratik Devkota <pratikdevkota82@gmail.com>
2021-07-01 19:07:07 +00:00
Anant Murmu 2e5660faf8
Fixed typo (#508) 2021-07-01 19:06:20 +00:00
Marvin Ewald 16e2e73336
Add capacity field to battery widget (#504) 2021-05-07 16:41:39 +00:00
MarcinM 5882000904
widget.cal: fix week numbers (#501)
widget.cal: fix week numbers; closes #487
2021-03-31 10:19:10 +00:00
Luca Capezzuto a955bbb2a9
widget.cal: remove whitespace; wiki.weather updated 2021-03-30 12:14:08 +02:00
Aleksandr Beliaev 799fab660b "temp_min" and "temp_max" are useless as both show always the same value 2021-03-30 12:09:59 +02:00
Czarnodziej e5774fd463 prevent redrawing cal notification after change 2021-03-28 14:18:26 +02:00
Czarnodziej 3a6882af54 widget.cal: fix utf-8 weekday names 2021-03-28 14:15:11 +02:00
bzgec 47a2da364f Converting volume level to number in ALSA widget 2021-03-28 14:14:30 +02:00
Luca Capezzuto 3d4bb0b1d3
widget.weather: remove invalid default API key; wiki updated; closes #493 2021-03-15 18:43:43 +01:00
Luca CPZ 21c0d157ac
Merge pull request #492 from trap000d/master
Fix for openweathermap.org API changes
2021-03-15 17:28:07 +00:00
Aleksandr Beliaev 01d4f14919 Openweathermap license conditions and API changes 2021-03-10 15:16:22 +13:00
trap000d beaa7abac2
Merge pull request #1 from lcpz/master
Pull origin master
2021-03-10 15:12:09 +13:00
Luca CPZ 10076e1d69
Merge pull request #484 from andersfugmann/battery_ac
Fix AC detection for battery widget.
2021-02-19 10:19:46 +00:00
Luca CPZ 74fc1d9d3d
Merge pull request #483 from lecoredump/master
Validate function before callback. Fixes #482.
2021-02-19 10:17:43 +00:00
Anders Fugmann 15bba30180 Fix ac detection for bat widget.
Multiple power sources may exist under /sys/class/power_supply/.
Durring autodetection (get_batteries), will case the detected ac to be reset to 'AC0' if a power source not starting with BAT or AC.

This change skips updating the name of the ac device if the devices does not start with 'AC'
2021-01-18 17:47:40 +01:00
Sébastien Le Corre c782f7d775 Validate function before callback. Fixes #482 2021-01-13 04:09:47 +01:00
Luca CPZ b38c6d67e9
Merge pull request #481 from gaelj/master
Allow transparency in util.separators
2020-12-30 15:17:38 +01:00
Gaël James c2ec8f2a6b Allow transparency in util.seperators 2020-12-29 15:51:23 +01:00
Luca Capezzuto 80e41c1e7b
widget.weather: fix check in notification #479 2020-12-16 11:41:22 +01:00
Luca CPZ 3236575b52 wiki updated 2020-12-03 11:43:44 +00:00
Luca CPZ 6b3bdcaed1
#474: remove remaining 9 warnings 2020-11-30 14:58:27 +00:00
Luca CPZ 9800eee039 Merge branch 'staticssleever668-master' 2020-11-30 14:35:06 +00:00
Luca CPZ 112e1f3530 Merge branch 'master' of https://github.com/staticssleever668/lain into staticssleever668-master 2020-11-30 14:29:27 +00:00
Luca CPZ 8b561a6a84
Merge pull request #473 from mphe/fs_async_fix_fix
Fix async update calls in fs widget
2020-11-30 14:22:46 +00:00
staticssleever668 0a2ff9e1de
Fix various luacheck warnings 2020-11-30 00:58:47 +03:00
Marvin Ewald bdb19e827e Fix async update calls in fs widget
- Use `gears.protected_call` in order to get errors logged.
- Fix `fs.show` not waiting for update to complete.
2020-11-29 17:06:27 +01:00
Luca CPZ a071cc54b8
Merge pull request #443 from felipeagc/mute-background
Add mute_background color for pulsebar
2020-11-27 12:21:54 +00:00
Luca CPZ 11db4c4e2d
Merge pull request #445 from exzombie/master
termfair.stable layout
2020-11-27 12:21:28 +00:00
Luca CPZ ebe6a45a64
Merge pull request #448 from nevillelyh/neville/centerwork
add centerwork.{focus,swap}.byidx that behaves like other layouts #447
2020-11-27 12:20:32 +00:00
Luca CPZ ca49917f4b
Merge pull request #471 from mphe/fs_async_fix
Run fs widget update asynchronously
2020-11-27 12:18:37 +00:00
Luca CPZ 613263e0d3 Merge branch 'unisgn-master' 2020-11-27 12:18:01 +00:00
unisgn a26282d91c
Update quake.lua 2020-11-26 01:29:38 +08:00
unisgn 22546f1d84
Merge pull request #1 from unisgn/unisgn-stateful-quake
make quake to remember maximize and fullscreen
2020-11-26 01:21:59 +08:00
unisgn 6b2a4ce4d9
make quake to remember maximize and fullscreen 2020-11-26 01:16:30 +08:00
Marvin Ewald a2e2e7194e Run fs widget update asynchronously
Fixes #462
2020-11-14 02:03:38 +01:00
Luca CPZ af9357a6e1
Merge pull request #470 from ExpidusOS/fix/nil-net
widget.net: fix nil values; closes #469
2020-11-05 15:34:42 +00:00
Tristan Ross d5b5047404 Fix the nil values in net 2020-11-03 12:55:25 -08:00
Luca CPZ 4da087ed16
Merge pull request #467 from ExpidusOS/fix/widget-argument
Add "widget" arguments
2020-11-02 17:24:16 +00:00
Tristan Ross e48e271bd4 Wiki update 2020-11-01 19:27:00 -08:00
Tristan Ross 9846ab6378 Wiki updated for new arguments 2020-10-31 13:04:43 -07:00
Tristan Ross 502a1a28ba Added args.widget info all widgets that can take it 2020-10-31 10:11:29 -07:00
Luca CPZ e578cc9796
Merge pull request #457 from quizzmaster/master
Fix notification text for calendar widget
2020-10-27 18:07:46 +00:00