Commit Graph

558 Commits

Author SHA1 Message Date
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
WooParadog 7efdce3510 pass -M to amixer in alsabar 2015-08-05 13:31:14 +02:00
WooParadog b9e2596cbd Add -M to amixer.
-M     Use the mapped volume for evaluating the percentage representation like alsamixer, to be more natural for human ear.
2015-08-05 13:31:14 +02:00
luke bonham a776679884 #54 fix attempt 2015-08-05 13:31:14 +02:00
WooParadog b3e4d796d0 show notification window in focused screen 2015-08-05 13:31:14 +02:00
luke bonham ce9c97aa92 #52 fix + multiple imap widgets feature added 2015-08-05 13:31:14 +02:00
luke bonham 7ce6653828 #49 fix 2015-08-05 13:31:14 +02:00
Lukas Geis 2836fff52e Redshift widget and icons added 2015-08-05 13:31:14 +02:00
copycat-killer b7b019e48c yawn: language failsafe 2015-08-05 13:31:14 +02:00
Thierry Ghelew 34e47e46ff fix maildir and /util/init.lua which was not counting email properly and lacking function util.element_in_table function 2015-08-05 13:31:14 +02:00
Thomas Etcheverria 135df3e183 fix missing 2015-08-05 13:30:39 +02:00
Thomas Etcheverria c6bb2f4782 add yawn localization fr_FR 2015-08-05 13:30:39 +02:00
Andrea Scarpino 6cdc863f00 net: optional notifications 2015-08-05 13:30:39 +02:00
copycat-killer ec7c9cd9a6 cpu widget calc fix 2015-08-05 13:30:39 +02:00
luke bonham 97c30456b0 revert #36; fix #41 2015-08-05 13:30:39 +02:00
luke bonham c75eff7fc0 wiki updated for pull #39 2015-08-05 13:30:39 +02:00
Andre Klärner 6983b919cd ask df for a specific filesystem
POSIX df supports requesting a single filesystem, so doing so will ensure that df can only get stuck if the filesystem we requested is in a hung state.
2015-08-05 13:30:39 +02:00
Brendan Almonte a0ef929416 Show today when navigating back to the current month in the calendar 2015-08-05 13:30:39 +02:00
Brendan Almonte 604b85a6e4 Adding scrolling support to the calendar 2015-08-05 13:30:39 +02:00
luke bonham 315106253f #36 fix 2015-08-05 13:30:39 +02:00
luke bonham 284e4b4347 calendar: cal variable added 2015-08-05 13:30:39 +02:00
zheng b0cc3f9d40 modify localization for zh_CN 2015-08-05 13:30:39 +02:00
luke bonham 07c4b8c5ce #32 fix attempt 2 2015-08-05 13:30:39 +02:00
luke bonham 4e37cf0b22 #32 fix attempt 2015-08-05 13:30:39 +02:00
luke bonham ee70f4834d #32 fix attempt 2015-08-05 13:30:39 +02:00
luke bonham 8ef1e77de9 typos 2015-08-05 13:30:39 +02:00
luke bonham 4f0aff52eb typos 2015-08-05 13:30:38 +02:00
luke bonham 6cb63ddff6 yawn: #31 fix + zh_CN added 2015-08-05 13:30:38 +02:00
luke bonham 705c3cea9b base: small fix 2015-08-05 13:30:38 +02:00
luke bonham 377b316f5d base: update subfuction added; contrib/brightness removed because now redundant 2015-08-05 13:30:38 +02:00
luke bonham 8147032a53 base widget added (this time for real) 2015-08-05 13:30:38 +02:00
luke bonham 9889ef5ca2 cal: --color=never added to discourage #29 2015-08-05 13:30:38 +02:00
luke bonham e3234a1b91 wiki updated 2015-08-05 13:30:38 +02:00
luke bonham 58c7088f94 ccurr: final fixes + wiki updated 2015-08-05 13:30:38 +02:00
luke bonham 45c077f02e moved acw/init to ccurr + code revision 2015-08-05 13:30:38 +02:00
Aaron Lebo 80b5351dc7 Moved acw from single file to folder. 2015-08-05 13:30:38 +02:00
aaron-lebo 3e8754c217 Update acw.lua 2015-08-05 13:30:38 +02:00
aaron-lebo 5b67a36d52 Create acw.lua 2015-08-05 13:30:38 +02:00
luke bonham ddeb786a75 #26 fix attempt 2 2015-08-05 13:30:38 +02:00
luke bonham 940a900b9a 26# fix attempt 2015-08-05 13:30:38 +02:00
luke bonham 96df4b8790 #25 fix attempt 2015-08-05 13:30:38 +02:00
luke bonham 6b91332a38 calendar: font variable added 2015-08-05 13:30:38 +02:00
Lukas Geis b40a0e83e0 Bat.lua: Adding naughty presets for customizable notifications 2015-08-05 13:30:38 +02:00
luke bonham e530ec7fcd bat: little fixes 2015-08-05 13:30:38 +02:00
luke bonham 89d557638d new I/O file helper functions 2015-08-05 13:30:38 +02:00
luke bonham a2d553c9b6 simple fix to #20 2015-08-05 13:30:31 +02:00
luke bonham a33a8afae0 revert #9; discouraging #21 and #22 situations 2015-08-05 13:30:31 +02:00
luke bonham 0ef9d8c78f alsabar: fixed 'ticks' boolean issue; wiki updated 2015-08-05 13:30:31 +02:00
luke bonham a71b796ac8 revert to original pull request #19 2015-08-05 13:30:31 +02:00
luke bonham 0ad1d66d72 pull #19 satisfaction 2015-08-05 13:30:31 +02:00
luke bonham f8734babc5 brigthness: unused lib removed 2015-08-05 13:30:31 +02:00
luke bonham af7888d3b3 #18 fixed 2015-08-05 13:30:31 +02:00
luke bonham 8bda449c57 yawn: new localization word 2015-08-05 13:30:31 +02:00
luke bonham a56c60dace wiki: new commit 2015-08-05 13:30:31 +02:00
yawnt df19c9176e fix: better code 2015-08-05 13:30:31 +02:00
yawnt 5a297dcfbb contrib-widget: brightness 2015-08-05 13:30:31 +02:00
Manuel Görlich 3c0179a6ba Fix unread count in imap widget 2015-08-05 13:30:31 +02:00
Manuel Görlich 4c7c9454a3 Count id tokens instead of every single diget 2015-08-05 13:30:31 +02:00
luke bonham 4a29739e79 satisfied 'issue' #14 2015-08-05 13:30:31 +02:00
luke bonham a4e789e05b added icon for #13 2015-08-05 13:30:31 +02:00
luke bonham 6accb3a2a9 wiki updated 2015-08-05 13:30:31 +02:00
luke bonham ac6615db20 wiki updated 2015-08-05 13:30:31 +02:00
kurumushi 2151e99477 Change io.popen to io.open so we don't execute image files. 2015-08-05 13:30:31 +02:00
luke bonham a4e5b806f1 issue #9 fix 2015-08-05 13:30:31 +02:00
luke bonham 0eb2084a3a issue #9 semi-fix 2015-08-05 13:30:31 +02:00
luke bonham 165c5a17f4 issue #9 2nd attempt fix 2015-08-05 13:30:31 +02:00
luke bonham b0a71baeb5 yawn: localizations and icons updated 2015-08-05 13:30:31 +02:00
luke bonham 5d6e2fa3d1 little fix 2015-08-05 13:30:31 +02:00
luke bonham f8b37d5088 bat: fix issue #17 2015-08-05 13:30:31 +02:00
luke bonham d4c3ced229 issue #7 fix 2015-08-05 13:30:31 +02:00
luke bonham 4a37fd29e9 yawn: bad connectivity fix 2015-08-05 13:30:30 +02:00