Commit Graph

1776 Commits

Author SHA1 Message Date
Luca Capezzuto dbf6e9cfb1
layout/centerwork: fix comments/spacing style
Signed-off-by: Luca Capezzuto <luca.cpz@gmail.com>
2022-06-11 11:33:40 +02:00
Luca Capezzuto 5403835b96
Some linting
- layout/centerwork: specify client as a dependency, improve logic at lines
  141, 149
- widget/temp: remove whitespace

Signed-off-by: Luca Capezzuto <luca.cpz@gmail.com>
2022-06-11 11:26:23 +02:00
Neville Li 29f8d1fc36
exclude minimized windows in centerwork focus/swap (#530) 2022-05-11 16:04:57 +00:00
Luca Capezzuto 0df20e38bb
fixed rockspec 2022-03-26 12:11:15 -06:00
Albin Wahlén 57dee4c91b
Fix temp widget show N/A when no sensor found (#528) 2022-03-26 17:58:50 +00:00
Luca Capezzuto 07cf82e3b2 update dkjson to v2.6 2022-03-16 14:13:10 -06:00
Joe Fiorini 958ab5ba81
Fix rockspec (#524)
I could not install lain via luarocks using the existing rockspec file. There were a few issues:

1. There is no `scm-1` tag in the repo,
2. The glib, curl & awesome dependencies do not exist as rocks in the luarocks repo, therefore they should not be dependencies here
3. The format of the repo URL is incorrect, it should be using the `git+https` protocol

Once I fixed those issues I was able to install using a local copy of the rockspec. I'm sure I'm not the first person to install lain via luarocks, how have others have managed to get it to work?
2022-03-16 19:46:25 +00:00
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