Commit Graph

1646 Commits

Author SHA1 Message Date
aajjbb e2fb62f0f5 updating lain rockspec to follow new luarocks standards 2018-03-30 10:39:34 -03: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 396b54d612 wiki updated 2018-02-28 10:30:52 +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 92d17d289c helpers: improved i/o functions 2018-02-23 13:24:10 +01:00
Kyra Zimmer e81f46950b util.quake: check if client exists when moving it to another tag 2018-02-22 13:11:37 +01:00
Luca CPZ 63c9c7616a {alsa,pulse}bar: fallback for mywibox variable; closes #384 2018-02-17 14:28:31 +01:00
Luca CPZ 1b909160d6 util.menu_iterator: cleaned indentation; added wiki entry; closes #386 2018-02-17 14:06:20 +01:00
Luca CPZ af3427c7df
Merge pull request #377 from sim590/menu-iterator
menu_iterator: naughty.notify based menu utility
2018-02-17 12:19:53 +01:00
Simon Désaulniers 1d2f4a102e menu_iterator: generic menu creator function
A simple example usage is given over on the amh project~[1]

[1]: dcf101c8ef/exec/mpv.lua (L32)
2018-02-16 16:14:13 -05:00
Simon Désaulniers 2bb4741bb4 helpers: powerset and trivial_partition_set
- the powerset is the set of all combinations of a given set;
- the trivial partition set is the simplest partition of a set. For e.g., the
  trivial partition set of {a, b, c}, is simply {{a}, {b}, {c}}.
2018-02-16 15:26:41 -05:00
Simon Désaulniers b94e701ff2 menu_iterator: naughty.notify based menu utility 2018-02-16 15:26:35 -05: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
Luca CPZ d1112da25d layout.centerwork: improved code 2018-02-15 14:05:26 +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
Luca CPZ aee7ecac5f Merge branch 'cool-cool-sweat-master' 2018-01-23 11:39:24 +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
Luca CPZ 8f26f83f38
Merge pull request #381 from cool-cool-sweat/helpers-change
helpers.lua: add line_callback and edit async and async_with_shell to return exit codes
2018-01-23 11:15:45 +01:00
cool-cool-sweat 35856d49a2 Add line_callback and edit async helpers 2018-01-22 22:06:38 -05:00
Luca CPZ d99ce8fdba helpers: async_with_shell added 2017-12-19 17:20:59 +01:00
Luca CPZ 5f1d675dfa Merge branch 'alfunx-calendar-rm-newline' 2017-12-15 11:49:24 +01:00
Alphonse Mariya 1b4f7d7722 calendar: remove trailing newlines of output 2017-12-15 01:07:56 +01:00
Luca CPZ b9d55e2853
Merge pull request #371 from medivhok/master
added awful library require
2017-12-09 17:20:05 +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
Luke Bonham c2b186467c Merge pull request #362 from 2009/fix/pulse-sink
Add devicetype to pulsebar to match pulseaudio and update sed command
2017-09-13 11:13:44 +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 d070b7bd35 quake: iterate on all screens; #339 2017-09-05 22:34:09 +02:00
Luke Bonham 62edd22cdb util.quake: removed onlyone parameters; wiki updated; counters #339 2017-09-05 16:34:52 +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
Luke Bonham 9b99234aca Merge pull request #359 from rohieb/mpd-port-from-environment-for-master
mpd: respect MPD_HOST and MPD_PORT environment variables
2017-08-28 14:04:23 +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 81c816eb8d remove old screenshots 2017-07-21 14:06:33 +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 c89fc17636 quake: avoid calling compute_size whenever possible 2017-07-10 12:00:49 +02:00
Luke Bonham adccf47bdf readme updated 2017-06-27 13:24:08 +02:00