Commit Graph

528 Commits

Author SHA1 Message Date
copycat-killer de03791b81 #193: update iff rate > 0 and battery not full 2016-04-11 09:38:56 +02:00
Luke Bonham fe8e24e5f5 whitespaces removed 2016-04-04 14:09:54 +02:00
aajjbb f50543b449 fixing parethesis issue 2016-04-03 14:10:54 -03:00
aajjbb 6cd0a29535 fixing issue in case of nil rate_power in bat widget 2016-04-03 14:07:37 -03:00
copycat-killer 49d493e1a4 #187 fix 2016-04-02 13:06:12 +02:00
copycat-killer bacf63807c Merge branch 'master' of https://github.com/copycat-killer/lain 2016-04-02 11:20:18 +02:00
copycat-killer 80075e34d5 alsabar: check if mute is nil as well 2016-04-02 11:20:04 +02:00
Luke Bonham da3310b775 alsa: some indentation 2016-03-31 12:00:47 +02:00
Luke Bonham 27fc95570c bat: replaced tabs with spaces and removed whitespaces 2016-03-31 11:54:37 +02:00
Luke Bonham 63455361db Merge branch 'patch-3' of https://github.com/andering/lain into andering-patch-3 2016-03-31 11:44:33 +02:00
copycat-killer 14cab4ebc3 #182 and #184 implemented without tabs; wiki updated 2016-03-30 16:34:41 +02:00
copycat-killer 3c08699d4b weather: #186 2016-03-30 14:11:33 +02:00
copycat-killer fc7403534f weather: make notification function general 2016-03-30 13:04:26 +02:00
Andrej Kouřil fcbb371e56 forgoten brackets at rule 2016-03-28 17:22:40 +02:00
Andrej Kouřil 6e54e1d62a Removed forgotten previous rate rule. 2016-03-27 15:29:38 +02:00
Andrej Kouřil 2b4e911dfd Added rule for bat_now.status = Full when rate suppose be 0 2016-03-27 15:28:52 +02:00
Andrej Kouřil 37c4198cdf Added rate check 2016-03-27 13:10:14 +02:00
Andrej Kouřil 7a4c3345fb Update bat.lua 2016-03-23 18:57:05 +01:00
Luke Bonham d1b36bb53c Merge pull request #181 from stwa/patch-5
Fix for #177
2016-03-22 18:44:49 +01:00
copycat-killer e5abb78443 #177 fixed typo 2016-03-22 18:41:39 +01:00
Stefan Wagner 8c8d2925a5 Fix for #177
Suggestion to calculate watt for battery.
Not sure about the time_rat, was it correct before?
2016-03-22 15:55:55 +01:00
Luke Bonham 15af359bea bat: #177 fix Watt computation 2 2016-03-22 08:59:30 +01:00
Luke Bonham 6ebe2d9e72 bat: #177 fix Watt computation; make AC state available #178 2016-03-22 08:39:38 +01:00
Luke Bonham 94e6be5b42 Merge pull request #180 from stwa/patch-4
Fixed initial state where alsa.update may never be called
2016-03-21 10:17:42 +01:00
Stefan Wagner 65c7924666 Fixed initial state where alsa.update may never be called 2016-03-20 23:41:44 +01:00
Stefan Wagner 3b9f9aa812 Fixed typo in variable name 2016-03-20 22:20:55 +01:00
copycat-killer f63a7fd098 some cpu usage improvements 2016-03-03 12:40:49 +01:00
Michal Katner af9714ebd2 Improved showing any year in calendar widget. 2016-03-02 16:52:30 +01:00
copycat-killer bceaadb433 cal: sed spaces fix 2; #170 #174 2016-03-02 12:28:57 +01:00
copycat-killer c47857046f calendar: sed spaces; #170 #174 2016-03-01 18:49:58 +01:00
copycat-killer f7601c7681 cal: highlight only first match of today number; #170 2016-02-27 21:36:32 +01:00
copycat-killer e386dbb719 #169 typos fixed 2016-02-26 11:49:44 +01:00
copycat-killer 62ad74c4cd pulseaudio: improve scallback #169; #168 2016-02-25 13:26:20 +01:00
Maxim Gordeev 624a0c9f02 Default value for scallback is nil 2016-02-25 07:54:50 +03:00
Maxim Gordeev e52c38e0f9 Add callback function for to update sink 2016-02-25 07:37:01 +03:00
copycat-killer 4d664adc01 pulseaudio: cmd switch from grep to sed #168 2016-02-21 14:45:46 +01:00
copycat-killer eb961497d3 pulseaudio #168 2016-02-19 14:17:44 +01:00
Luke Bonham d3365503d9 forgot to really add the widget; #157 #164 2016-01-20 09:25:49 +01:00
Luke Bonham 42070bba6e #162 fix; #163 rejected (duplicate) 2016-01-17 12:28:50 +01:00
Luke Bonham a4d4d7a5f3 new widget: pulseaudio #157 #164 2016-01-17 11:49:10 +01:00
aajjbb bd8442c2ef fixing small issue on previous commit, first_line function returns string, not integer 2016-01-03 12:19:31 -02:00
copycat-killer e966fd310e clean failed rebase and repatch #160 2 2016-01-03 11:35:10 +01:00
aajjbb 99fb25a3c7 erasing .orig files 2016-01-02 22:19:21 -02:00
aajjbb fca030d084 fixing issue of battery widget showing above 100% percentage values 2016-01-02 22:14:37 -02:00
aajjbb 137e072153 Merge branch 'master' of https://github.com/copycat-killer/lain 2016-01-02 18:16:02 -02:00
copycat-killer 7dd6443f0a maildir: spaceline added 2015-11-22 09:16:35 +01:00
Lee Watson 35957f3914
Fix missing awful 2015-11-21 11:56:32 +00:00
Lee Watson 94204ac2da
Styling to match upstream 2015-11-21 11:53:19 +00:00
Lee Watson 1539a1b5d4
Add ability to run an external mail update command, and support multi-level maildirs containing multiple accounts. 2015-11-21 11:49:22 +00:00
Sudo Nice 418e475b5b helpers: spairs() added 2015-11-18 11:02:16 +03:00
copycat-killer 11e448e5e2 (re)merged #142 2015-11-12 11:51:53 +01:00
copycat-killer da1410677b #150 fix 2 2015-11-11 18:52:40 +01:00
copycat-killer d659c34974 #150 fix; wiki updated 2015-11-11 18:25:51 +01:00
aajjbb 7fd4fdbc0f Merge branch 'master' of https://github.com/copycat-killer/lain 2015-11-04 01:00:08 -02:00
Dario Gjorgjevski 9f8eb5d0a2 fix variable name 2015-11-02 22:51:57 +01:00
Dario Gjorgjevski 305e0e57b2 improve icon and notification text handling 2015-11-02 22:50:32 +01:00
aajjbb 13f4cf6988 Merge branch 'master' of https://github.com/copycat-killer/lain 2015-10-26 01:06:57 -02:00
Luke Bonham 2b8a2bc2ae forgot to refix #141 2015-10-25 10:02:40 +01:00
Luke Bonham 0b80b45bc9 revert to previous stable 2015-10-20 15:17:44 +02:00
copycat-killer 98977a1888 Merge branch 'master' of github.com:copycat-killer/lain 2015-10-19 19:37:39 +02:00
copycat-killer 554d206f5f project was added to OWM FOSS keys list; #146 2015-10-13 15:32:29 +02:00
copycat-killer 912bd26ede merge and resolve conflicts from #134; #114 2015-10-12 12:09:44 +02:00
aajjbb 1a8ddf0e7f Merge branch 'master' of https://github.com/copycat-killer/lain 2015-10-11 18:05:21 -03:00
copycat-killer 25e2f9a60e Merge branch 'master' of https://github.com/copycat-killer/lain 2015-10-10 10:21:02 +02:00
copycat-killer ad71a6bc49 dfs: fix misalignments; widgets/weather: added APPID argument 2015-10-10 10:20:45 +02:00
Stefan Wagner 823ea6537a allow add_us_secondary to be turned off.
problem with test expression and nil value.
2015-09-23 01:24:03 +02:00
xentec 168b20afce added name attribute to mpd widget
Metadata from some extern sources (e.g. soundcloud) is not parsed properly to a ``title`` by mpd so the ``name`` attribute is set instead.
2015-09-22 03:54:59 +02:00
copycat-killer 29983d95b2 #141 make battery table local to worker 2015-09-19 10:44:38 +02:00
aajjbb bd3d30c4ad Merge branch 'master' of https://github.com/copycat-killer/lain 2015-09-15 10:13:41 -03:00
copycat-killer 5e8b6394ff #139 proposed fix 2015-09-15 08:55:53 +02:00
aajjbb 010e60a8cd merging with upstream 2015-08-29 16:32:38 -03:00
aajjbb edc6e0013e Merge branch 'master' of https://github.com/copycat-killer/lain 2015-08-29 16:31:52 -03:00
copycat-killer 6aca9e1730 pull #133: rename notification_text_cmd -> notification_text_fun 2015-08-29 19:46:18 +02:00
Dario Gjorgjevski 10e71d2e46 make forecast timer naming consistent 2015-08-29 15:16:53 +02:00
Dario Gjorgjevski ca6119899a localize variables 2015-08-29 15:16:07 +02:00
Dario Gjorgjevski fa11ea4279 make notification text customizable 2015-08-29 15:03:24 +02:00
aajjbb fc8ea20ab5 Merge branch 'master' of https://github.com/copycat-killer/lain 2015-08-23 22:52:57 -03:00
Clemens Kirchgatterer 36b0ed19bb fix naughty.notify render problem, when bg color with alpha is used
fixed a copy paste error in color initialization on the go
2015-08-23 13:13:54 +02:00
aajjbb 907fb6ff8e merging with upstream 2015-08-18 10:52:05 -03:00
copycat-killer 6db29e08b3 wiki updated 2015-08-16 13:54:04 +02:00
Dario Gjorgjevski 5f643320f3 do not add `us' as secondary if already present 2015-08-16 05:42:18 +02:00
Dario Gjorgjevski 75c3b81654 fix trailing whitespace and mixed indent 2015-08-16 05:36:09 +02:00
Dario Gjorgjevski 9358f8ac54 bring back mistaken deletion 2015-08-13 02:16:34 +02:00
Dario Gjorgjevski edac7419fa add 'local' modifier as appropriate 2015-08-13 02:11:24 +02:00
Dario Gjorgjevski 9223ddfb10 add mouse bindings to kbdlayout 2015-08-13 02:05:49 +02:00
Dario Gjorgjevski 6603c641c6 abstract out reading full output of pipes 2015-08-13 01:56:37 +02:00
Dario Gjorgjevski 945f220e02 add new widget (kbdlayout.lua) 2015-08-13 01:07:32 +02:00
copycat-killer b0209bd820 #122 merged 2015-08-05 13:31:16 +02:00
luke bonham e6f3e74e0c #126 calendar: local scrp fix 2015-08-05 13:31:16 +02:00
luke bonham 0594fb0ebd #112: custom echo cmd added 2015-08-05 13:31:16 +02:00
luke bonham c3559967db #126 fs notification: fixed typo 2015-08-05 13:31:16 +02:00
luke bonham 52deb69119 #126 extended to every supported widget 2015-08-05 13:31:16 +02:00
luke bonham f291bd62b7 reverted bb3a0c1 and fixed scr_pos pointers in calendar widget 2015-08-05 13:31:16 +02:00
luke bonham e43585e947 #112: using /bin/echo -e 2015-08-05 13:31:16 +02:00
luke bonham 2e8fd41bc3 allow to define in supported widgets which don't allow it already 2015-08-05 13:31:16 +02:00
luke bonham 95fe93a751 #115: also catching http.*// 2015-08-05 13:31:16 +02:00
luke bonham 89bad3b56b #112 fix 2015-08-05 13:31:16 +02:00
luke bonham 293091d267 #121: io.read abbreviations removed 2015-08-05 13:31:16 +02:00
luke bonham c6fadc6871 #121: fixed typo 2015-08-05 13:31:16 +02:00
Luke Bonham 3afe2d5469 alsabar: button signals updated 2015-08-05 13:31:15 +02:00
Luke Bonham 2565a0f0b0 mpd: added http streams check; #115 2015-08-05 13:31:15 +02:00
Luke Bonham 2119b79449 uniform timers for single-instance widgets; #114 2015-08-05 13:31:15 +02:00
aajjbb 72556c9cd1 fixing small typo in fs widget which lead to nil reference 2015-08-05 13:31:15 +02:00
Luke Bonham fb358dcd04 enhancement: unique timers for widgets; #114 2015-08-05 13:31:15 +02:00
Luke Bonham b92942b0e0 enhancement: unique timers for widgets; #114 2015-08-05 13:31:15 +02:00
luke bonham d1e810f2fc weather: added failsafe check; #105 2015-08-05 13:31:15 +02:00
luke bonham 94fe36d0c7 weather: add back default hover notification; #113 2015-08-05 13:31:15 +02:00
luke bonham fa0d05aa95 weather.forecast_update: forgot to add check on err 2015-08-05 13:31:15 +02:00
luke bonham f31134fd1c weather.forecast_update: forgot to add check on err 2015-08-05 13:31:15 +02:00
luke bonham 973b56ce0b whitespaces cleaning 2015-08-05 13:31:15 +02:00
luke bonham beb196af2f better weather module: OpenWeatherMap; #105 2015-08-05 13:31:15 +02:00
luke bonham 1574793252 alsa, alsabar: make amixer call customizable; fixes #111 in general 2015-08-05 13:31:15 +02:00
Dmitry Nedbaylo af516589ed Calendar: added post calendar command for extra processing 2015-08-05 13:31:15 +02:00
Luke Bonham e79cd9c029 net: removed 'tostring' for numbers 2015-08-05 13:31:15 +02:00
Oleg Hahm ea7b0dd6b1 smapi: round remaining hour estimation 2015-08-05 13:31:15 +02:00
Luke Bonham 52c31db52e yawn: fair/windy icon added 2015-08-05 13:31:15 +02:00
Luke Bonham e5b730dbf0 yawn: fair/windy icon added 2015-08-05 13:31:15 +02:00
copycat-killer 5e1f73369d alsabar: string.format use for preset.text in alsabar._notify 2015-08-05 13:31:15 +02:00
copycat-killer 12f2ec0817 alsabar: string.format use for preset.text in alsabar._notify 2015-08-05 13:31:15 +02:00
luke bonham 49221b8055 #103: revert to original fs implementation 2015-08-05 13:31:15 +02:00
copycat-killer 223125b60b alsa: added card, channel to widget table 2015-08-05 13:31:15 +02:00
emikkva 82442ce10b Add a card attribute for alsa and alsabar
Currently alsa.lua and alsabar.lua do not support the amixer command
line option "-c" which allows defining which card to use. For at
least new Dell E-series laptops, the card is not the default (0) and
therefore this functionality is required for these widgets to work.
2015-08-05 13:31:15 +02:00
copycat-killer 527e38f437 #91 pull + clean useless lines 2015-08-05 13:31:15 +02:00
luke bonham d46745e1b3 mpd: mpd_now.elapsed seconds fixed 2015-08-05 13:31:15 +02:00
luke bonham 3261164a88 mpd: fixed bad auto-fixed scope 2015-08-05 13:31:15 +02:00
luke bonham bbe0b1903d pull #90: fixed tabs 2015-08-05 13:31:15 +02:00
Jack Pugmire 7939cfcd90 Added keys to mpd_now for querying the length of a song and the current time (both in seconds). 2015-08-05 13:31:15 +02:00
Rongzhou Shen bb5204a722 Moving moc to contrib and adding license information 2015-08-05 13:31:15 +02:00
Rongzhou Shen 9e72153c6d Adding a moc widget to lain 2015-08-05 13:31:15 +02:00
loudcry b9c5e5a2cf Some words' fixes
I fixed some words.
2015-08-05 13:31:14 +02:00
luke bonham 576a24d6e7 yawn: de_DE added 2015-08-05 13:31:14 +02:00
Alex Kir 1973b16fdc Some might have spaces in passwords (Like I do) and then curl fails.
* Changed string formatting of password to %q to always quote password
2015-08-05 13:31:14 +02:00
alexey korobtsov dba2c648f1 new file: widgets/yawn/localizations/ru_RU 2015-08-05 13:31:14 +02:00
luke bonham 1d5e6f2516 net: iface scope fixed 2 2015-08-05 13:31:14 +02:00
luke bonham e07eee4618 yawn: fetch_weather local -> integrated; net: iface scope fixed 2015-08-05 13:31:14 +02:00
luke bonham 1a654b327d #68 solution attempt 2015-08-05 13:31:14 +02:00
luke bonham e759a7fe23 #66: screen position in calendar:attach 2015-08-05 13:31:14 +02:00
luke bonham ebd18c24f3 widgets: screen notification setting added 2015-08-05 13:31:14 +02:00
luke bonham b0bcf77ccc #66 removed hardcoded screen def in widgets notification 2015-08-05 13:31:14 +02:00
luke bonham f5d391e7b6 undo 'set card' from projektile/master 2015-08-05 13:31:14 +02:00
Dainese Hsiao ee615272a2 Add yawn localization zh_TW 2015-08-05 13:31:14 +02:00
projektile 4e4bf44d2f set card 2015-08-05 13:31:14 +02:00
luke bonham 1f19ecf03b yawn: new words localized 2015-08-05 13:31:14 +02:00
luke bonham 8989408582 imap: increased curl connect-timeout 2015-08-05 13:31:14 +02:00
luke bonham b371de56f8 widget module loads optimization 2015-08-05 13:31:14 +02:00
luke bonham ece196a6b0 abase widget added 2015-08-05 13:31:14 +02:00
Chris Morin d2b3a0804d fix typo 2015-08-05 13:31:14 +02:00
luke bonham e00ee3436e mpd and yawn widget are now asynchronous 2015-08-05 13:31:14 +02:00
luke bonham 3e735d3eff small fixes 2015-08-05 13:31:14 +02:00
luke bonham b7c3cb77a1 IMAP wiget is now asynchronous 2015-08-05 13:31:14 +02:00