Commit Graph

122 Commits

Author SHA1 Message Date
BarbUk 1046cf6ce9 tp_smapi.get need a batid param 2018-12-01 16:06:12 +04:00
BarbUk dec9e7b1eb Include wibox 2018-12-01 16:05:47 +04:00
BarbUk 5321eb485a Rename smapi to ts_smapi
To follow to documentation available at https://github.com/lcpz/lain/wiki/tp_smapi
smapi is renamed tp_smapi
2018-12-01 16:03:56 +04:00
lcpz 233768f096 API change: lain.widget.contrib.tpbat has been rewritten and renamed to lain.widget.contrib.tp_smapi
lain.widget.cal: honour followtag argument

lightened calls to libraries
2018-11-28 20:01:22 +00:00
Matsievskiy S.V 8d15b03eca fix imap notifications 2018-11-28 17:17:08 +03:00
lcpz 8112df667d lain.imap: various improvements
1. allow special chars in password
2. make it gmail/yandex compliant
3. fetch additional data (MESSAGES and RECENT)
4. support DBus Secret Service authentication method
2018-11-24 15:03:36 +00:00
lcpz 4f3babced7 widget.cal: fix calendar icons not displaying; closes #410 2018-11-15 10:59:52 +00:00
Greg Flynn 4cc47f8d61
fix paddings always being the margins in pulsebar 2018-11-04 14:29:12 -05:00
lcpz f58970997e {alsa,pulse}bar: added margins/paddings args 2018-10-30 08:08:05 +00:00
Luca CPZ be69daf964 util.markup: fixed typos 2018-10-28 12:43:54 +00:00
Luca CPZ c02fcdb2e9 widget.cal: add options for displaying 3 months spanning the date 2018-09-14 20:21:42 +02:00
Luca CPZ 9188218021 widget.calendar reimplemented and renamed to widget.cal; util.quake: simpler geometries table index; util.markup: use string.format only 2018-09-14 12:09:11 +02:00
Luca CPZ 4073bd7cdf widget.calendar: some cleaning; #379 2018-09-06 16:25:37 +02:00
Luca CPZ 558622c1ec widget.imap: ensure mailcount is not nil before notifying; closes #400 2018-08-31 12:11:38 +02:00
Luca CPZ 53ebca2867 widget.imap: ensure to get unseen messages; #400 2018-08-30 17:40:17 +02:00
Luca CPZ 4dbf7b9f5b widget.contrib.kbdlayout removed, please use awful.widget.keyboardlayout; closes #399 2018-08-07 10:41:50 +02:00
BarbUk 1d5b0bc7ea Configurable battery thresholds for tpbat 2018-08-05 12:45:56 +04:00
Luca CPZ 47ee721339 widget.bat: put {batteries,ac} back to local 2018-08-01 11:26:30 +02:00
Luca CPZ 907529920f widget.bat: fixed ac variable; improved autodetection; #397 2018-07-31 16:07:39 +02:00
Luca CPZ f42fe32d99 widget.bat: add failsafe AC 2018-07-31 12:35:59 +02:00
Luca CPZ 819600e94a widget.bat: move fallback ac to autodetection function 2018-07-26 13:20:01 +02:00
Luca CPZ 89ae530806 widget.bat: autodetection function; closes #340 #389 2018-07-25 12:43:01 +02:00
Luca CPZ feb17d77bb centerwork: mouse_resize_handler added; #395 2018-07-20 12:52:12 +02:00
Luca CPZ a34e72b42b widget.fs: adjust spacing in notifications when there are > 10 long paths 2018-03-14 12:17:13 +01:00
Luca CPZ be9ae6862f widget.fs: assure that each processed partition has non nil infos; awesome-copycats #225 2018-02-25 23:17:09 +01:00
Luca CPZ 63c9c7616a {alsa,pulse}bar: fallback for mywibox variable; closes #384 2018-02-17 14:28:31 +01:00
Luca CPZ 3136a45015 {alsa,pulse}bar: consider wibar orientation when calculating notification size; #384 2018-02-16 19:49:21 +01:00
Luca CPZ 24ca5856dc fs: pure Gio implementation; #272 2018-02-16 17:52:46 +01:00
Aleksandr Beliaev 31d64906a0 Weather widget rewritten; first authorship updated 2018-02-15 12:24:31 +01:00
Luca CPZ 003beff59f bat: notify full only once before discharging 2018-01-23 14:09:08 +01:00
cool-cool-sweat cec3f2913b bat.lua: add notification for full charge 2018-01-23 11:39:03 +01:00
cool-cool-sweat 5e2d2977cf net.lua: support wifi/ethernet connection indicators 2018-01-23 11:39:03 +01:00
Alphonse Mariya 1b4f7d7722 calendar: remove trailing newlines of output 2017-12-15 01:07:56 +01:00
Jean Gregory 7d0611cc40
added awful library require
setting the 'followtag' option of the imap widget to true was causing the update function to fail. The function was calling awful.screen.focused(), which failed because the awful library wasn't included.
2017-12-09 09:28:25 -05:00
Luke Bonham 055e663772 pulseaudio -> pulse; scallback merged into cmd (read wiki) 2017-10-05 11:32:01 +02:00
Justin Endacott 614b4b6396 Merge branch 'master' of http://github.com/copycat-killer/lain into fix/pulse-sink 2017-09-13 11:51:20 +10:00
Justin Endacott c7616e3ded Add devicetype to pulsbar to match pulseaudio and update sed command 2017-09-13 11:46:43 +10:00
Aleksandr Beliaev 794f5d3220 Weather widget working without utc_offset 2017-09-11 11:08:34 +02:00
Luke Bonham 1b12fd2319 removed whitespaced signatures; wiki updated 2017-09-04 12:43:00 +02:00
Luke Bonham 1ebfa854f9 revert a5b05fa; #310 2017-08-29 13:13:35 +02:00
Roland Hieber 4785632d85 mpd: respect MPD_HOST and MPD_PORT environment variables
As mentioned by the mpc(1) man page, these seem kind of standard
variables for non-standard port configuration, so they are probably set
anyways by the user.

Signed-off-by: Roland Hieber <rohieb@rohieb.name>
2017-08-28 12:35:16 +02:00
Luke Bonham 12f0258dc8 {alsa,pulse}bar: show percentage even when muted 2017-08-25 10:26:30 +02:00
Luke Bonham a5b05fa479 weather: set UTC directly #310 2017-08-24 12:49:17 +02:00
Luke Bonham 6d7d6aad54 optimised PNGs 2017-08-18 11:53:08 +02:00
Nick Diego Yamane c846e5e31a task widget: Check if mouse is still over attached widget in aync show
This fixes issue #356. Using an approach similar
to what is implemented in other lain widgets (e.g:
calendar). That is, checking the mouse is still over
the target widget inside the `helpers.async` function
call in `task.show()`.

Signed-off-by: Nick Diego Yamane <nick.diego@gmail.com>
2017-08-18 11:35:26 +02:00
Luke Bonham 252df73e57 widget.contrib.gpmdp: moved to awesome-www recipes; closes #354 #343 #342 2017-08-14 18:34:46 +02:00
Luke Bonham 0ef7864227 imap: add notify option to disable notifications (read the wiki) 2017-07-25 21:34:07 +02:00
Luke Bonham 721ae4b7b5 weather: added showpopup option; closes #352 2017-07-25 17:21:36 +02:00
Luke Bonham de72508c78 calendar: let ability to disable icon (see notes section in the wiki); closes #351 2017-07-21 13:59:06 +02:00
Luke Bonham 5b266ecf16 widget.contrib.task: use shell for spawn_cmd, set title to static 'task next' 2017-07-15 14:35:45 +02:00
Luke Bonham 245ab7c33a alsabar: rename flag 'mute' to 'playback' in order to avoid confusion; fixes #345 2017-06-27 13:11:27 +02:00
Luke Bonham 56a603ef28 {alsa,pulse}bar: notification fixes and logic simplified 2017-06-25 13:11:30 +02:00
Oli Desborough 29dd7ad6fc fs: fix short circuit notification 2017-05-19 15:12:47 +02:00
Luke Bonham f584555fcf watch removed: use awful.widget.watch 2017-04-29 16:14:02 +02:00
Luke Bonham fc6e880da4 pulsebar: fix factory return 2017-04-03 00:53:31 +02:00
Luke Bonham 3a0b51ee57 contrib.gpmdp: instantiate in factory 2017-04-02 21:28:49 +02:00
Luke Bonham 8f948b52eb widgets: no global tables, but one instance per call; closes #336; closes #337 2017-04-02 19:35:03 +02:00
Luke Bonham 2a5d13920f bat: critical/low levels notification configurable; closes #335 2017-04-01 12:49:58 +02:00
aajjbb d9fcd8880c fixing typo mentioned in #331 2017-03-14 10:43:44 -03:00
Luke Bonham 1ece7c35b7 calendar: mouse.current_widgets safety check 2017-03-10 20:48:11 +01:00
Luke Bonham cc8de6a059 pulsebar: fix typos; closes #327 2017-02-28 10:55:48 +01:00
Luke Bonham a5d68067cf add .device for pulseaudio and pulsebar; wiki updated; closes #323 2017-02-24 13:48:13 +01:00
Luke Bonham 26acf37707 fs: elseif -> else in scr argument check; #322 2017-02-24 13:24:52 +01:00
Luke Bonham a6ca6ab030 fix #321 2017-02-24 13:08:13 +01:00
Luke Bonham dfca7ef85a #320, calendar: name signal functions 2017-02-22 13:46:03 +01:00
Luke Bonham 84654c7f09 closes #318 2017-02-20 12:17:06 +01:00
copycat-killer 0dc6639637 #315: removed vertical arg from {alsa,pulse}bar 2017-02-14 18:42:43 +01:00
copycat-killer 5f32175e3d wiki updated; #314 2017-02-13 13:33:44 +01:00
copycat-killer 1c04624c0a calendar, #289: instead of setting timeout, don't show at all 2017-02-09 18:27:31 +01:00
copycat-killer 586c54a257 pull #307: worker -> factory 2017-02-08 20:45:11 +01:00
copycat-killer 3f854a45f5 calendar, #289: attempt to assert notification timeout when t_out is 0 2017-02-08 19:55:27 +01:00
copycat-killer 8d3868d7ce lain.widgets -> lain.widget 2017-02-08 14:20:26 +01:00