madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

etc/awesome.git
5 years agoweather: set UTC directly #310
Luke Bonham [Thu, 24 Aug 2017 10:49:17 +0000 (12:49 +0200)]
weather: set UTC directly #310

5 years agooptimised PNGs
Luke Bonham [Fri, 18 Aug 2017 09:53:08 +0000 (11:53 +0200)]
optimised PNGs

5 years agotask widget: Check if mouse is still over attached widget in aync show
Nick Diego Yamane [Thu, 17 Aug 2017 19:45:50 +0000 (15:45 -0400)]
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>
5 years agowidget.contrib.gpmdp: moved to awesome-www recipes; closes #354 #343 #342
Luke Bonham [Mon, 14 Aug 2017 16:34:46 +0000 (18:34 +0200)]
widget.contrib.gpmdp: moved to awesome-www recipes; closes #354 #343 #342

5 years agoimap: add notify option to disable notifications (read the wiki)
Luke Bonham [Tue, 25 Jul 2017 19:34:07 +0000 (21:34 +0200)]
imap: add notify option to disable notifications (read the wiki)

5 years agoweather: added showpopup option; closes #352
Luke Bonham [Tue, 25 Jul 2017 15:21:36 +0000 (17:21 +0200)]
weather: added showpopup option; closes #352

5 years agoremove old screenshots
Luke Bonham [Fri, 21 Jul 2017 12:06:33 +0000 (14:06 +0200)]
remove old screenshots

5 years agocalendar: let ability to disable icon (see notes section in the wiki); closes #351
Luke Bonham [Fri, 21 Jul 2017 11:59:06 +0000 (13:59 +0200)]
calendar: let ability to disable icon (see notes section in the wiki); closes #351

5 years agowidget.contrib.task: use shell for spawn_cmd, set title to static 'task next'
Luke Bonham [Sat, 15 Jul 2017 12:35:45 +0000 (14:35 +0200)]
widget.contrib.task: use shell for spawn_cmd, set title to static 'task next'

5 years agoquake: avoid calling compute_size whenever possible
Luke Bonham [Mon, 10 Jul 2017 10:00:49 +0000 (12:00 +0200)]
quake: avoid calling compute_size whenever possible

5 years agoreadme updated
Luke Bonham [Tue, 27 Jun 2017 11:24:08 +0000 (13:24 +0200)]
readme updated

5 years agoalsabar: rename flag 'mute' to 'playback' in order to avoid confusion; fixes #345
Luke Bonham [Tue, 27 Jun 2017 11:11:27 +0000 (13:11 +0200)]
alsabar: rename flag 'mute' to 'playback' in order to avoid confusion; fixes #345

5 years agocounter pull #344: don't rely on awful.layout.layouts array, but point directly to...
Luke Bonham [Sun, 25 Jun 2017 11:16:10 +0000 (13:16 +0200)]
counter pull #344: don't rely on awful.layout.layouts array, but point directly to tile layout

5 years agoMerge branch 'master' of github.com:copycat-killer/lain
Luke Bonham [Sun, 25 Jun 2017 11:11:40 +0000 (13:11 +0200)]
Merge branch 'master' of github.com:copycat-killer/lain

5 years ago{alsa,pulse}bar: notification fixes and logic simplified
Luke Bonham [Sun, 25 Jun 2017 11:11:30 +0000 (13:11 +0200)]
{alsa,pulse}bar: notification fixes and logic simplified

5 years agoMerge pull request #344 from 2009/patch-5
Luke Bonham [Wed, 21 Jun 2017 11:01:26 +0000 (13:01 +0200)]
Merge pull request #344 from 2009/patch-5

Fix issue with `add_tag` when not using floating layout

5 years agoFix issue with `add_tag` when not using floating layout
2009 [Wed, 21 Jun 2017 01:02:41 +0000 (11:02 +1000)]
Fix issue with `add_tag` when not using floating layout

Using `awful.layout.layouts[0]` was causing `add_tag` to always be set to floating rather than the first entry in `awful.layout.layouts`. This would be fine for users who were using the floating layout, but would otherwise break the layoutbox widget and changing layouts.

5 years agofs: fix short circuit notification
Oli Desborough [Tue, 16 May 2017 11:33:25 +0000 (11:33 +0000)]
fs: fix short circuit notification

5 years agoquake: add a new option `onlyone`.
Jure Varlec [Thu, 4 May 2017 09:03:46 +0000 (11:03 +0200)]
quake: add a new option `onlyone`.

This option allows using a single instance of the app with multiple
screens instead of having a separate app for each screen. It works
better if there is only one instance of the quake object, i.e.

  local quake = lain.util.quake({onlyone=true})

and

  awful.key({ modkey, }, "z", function () quake:toggle() end),

5 years agowiki updated
Luke Bonham [Sat, 29 Apr 2017 14:19:37 +0000 (16:19 +0200)]
wiki updated

5 years agowatch removed: use awful.widget.watch
Luke Bonham [Sat, 29 Apr 2017 14:14:02 +0000 (16:14 +0200)]
watch removed: use awful.widget.watch

5 years agoMerge pull request #338 from klaernie/master
Luke Bonham [Thu, 27 Apr 2017 10:31:21 +0000 (12:31 +0200)]
Merge pull request #338 from klaernie/master

scripts/dfs: specify bash instead of sh

5 years agoscripts/dfs: specify bash instead of sh
Andre Klärner [Thu, 27 Apr 2017 07:34:43 +0000 (09:34 +0200)]
scripts/dfs: specify bash instead of sh

The `sh` on e.g. Debian is `dash`, but the script requires bash features by using `+=`. Until #272 is complete I think this is the best way to ensure that dfs works by default (excluding the gawk requirement).

5 years agopulsebar: fix factory return
Luke Bonham [Sun, 2 Apr 2017 22:53:31 +0000 (00:53 +0200)]
pulsebar: fix factory return

5 years agocontrib.gpmdp: instantiate in factory
Luke Bonham [Sun, 2 Apr 2017 19:28:49 +0000 (21:28 +0200)]
contrib.gpmdp: instantiate in factory

5 years agowidgets: no global tables, but one instance per call; closes #336; closes #337
Luke Bonham [Sun, 2 Apr 2017 17:35:03 +0000 (19:35 +0200)]
widgets: no global tables, but one instance per call; closes #336; closes #337

5 years agobat: critical/low levels notification configurable; closes #335
Luke Bonham [Sat, 1 Apr 2017 10:49:58 +0000 (12:49 +0200)]
bat: critical/low levels notification configurable; closes #335

5 years agoMerge pull request #332 from aajjbb/fix-fs-typo
Luke Bonham [Tue, 14 Mar 2017 18:42:47 +0000 (19:42 +0100)]
Merge pull request #332 from aajjbb/fix-fs-typo

fixing typo mentioned in #331

5 years agofixing typo mentioned in #331
aajjbb [Tue, 14 Mar 2017 13:43:44 +0000 (10:43 -0300)]
fixing typo mentioned in #331

5 years agocalendar: mouse.current_widgets safety check
Luke Bonham [Fri, 10 Mar 2017 19:48:11 +0000 (20:48 +0100)]
calendar: mouse.current_widgets safety check

5 years agopulsebar: fix typos; closes #327
Luke Bonham [Tue, 28 Feb 2017 09:55:48 +0000 (10:55 +0100)]
pulsebar: fix typos; closes #327

5 years agoadd .device for pulseaudio and pulsebar; wiki updated; closes #323
Luke Bonham [Fri, 24 Feb 2017 12:48:13 +0000 (13:48 +0100)]
add .device for pulseaudio and pulsebar; wiki updated; closes #323

5 years agofs: elseif -> else in scr argument check; #322
Luke Bonham [Fri, 24 Feb 2017 12:24:52 +0000 (13:24 +0100)]
fs: elseif -> else in scr argument check; #322

5 years agofix #321
Luke Bonham [Fri, 24 Feb 2017 12:08:13 +0000 (13:08 +0100)]
fix #321

5 years ago#320, calendar: name signal functions
Luke Bonham [Wed, 22 Feb 2017 12:46:03 +0000 (13:46 +0100)]
#320, calendar: name signal functions

5 years agoissue template updated
Luke Bonham [Tue, 21 Feb 2017 17:11:08 +0000 (18:11 +0100)]
issue template updated

5 years agoMerge pull request #319 from Unode/patch-2
Luke Bonham [Tue, 21 Feb 2017 10:58:02 +0000 (11:58 +0100)]
Merge pull request #319 from Unode/patch-2

fs, dfs: workaround premature end of file with awful.spawn.easy_async

5 years agoWorkaround premature end of file with awful.spawn.easy_async
Renato Alves [Tue, 21 Feb 2017 00:15:30 +0000 (01:15 +0100)]
Workaround premature end of file with awful.spawn.easy_async

5 years agocloses #318
Luke Bonham [Mon, 20 Feb 2017 11:17:06 +0000 (12:17 +0100)]
closes #318

5 years ago#315: removed vertical arg from {alsa,pulse}bar
copycat-killer [Tue, 14 Feb 2017 17:42:43 +0000 (18:42 +0100)]
#315: removed vertical arg from {alsa,pulse}bar

5 years agoMerge branch 'master' of github.com:copycat-killer/lain
copycat-killer [Mon, 13 Feb 2017 12:33:54 +0000 (13:33 +0100)]
Merge branch 'master' of github.com:copycat-killer/lain

5 years agowiki updated; #314
copycat-killer [Mon, 13 Feb 2017 12:33:44 +0000 (13:33 +0100)]
wiki updated; #314

5 years agoMerge pull request #314 from geripgeri/feature/add_tag_set_layout
Luke Bonham [Mon, 13 Feb 2017 12:31:05 +0000 (13:31 +0100)]
Merge pull request #314 from geripgeri/feature/add_tag_set_layout

Adding support for setting up a layout of the new tag.

5 years agoAdding support for setting up a layout of the new tag.
Gergely Peidl [Mon, 13 Feb 2017 10:26:38 +0000 (11:26 +0100)]
Adding support for setting up a layout of the new tag.

5 years agocalendar, #289: instead of setting timeout, don't show at all
copycat-killer [Thu, 9 Feb 2017 17:27:31 +0000 (18:27 +0100)]
calendar, #289: instead of setting timeout, don't show at all

5 years agopull #307: worker -> factory
copycat-killer [Wed, 8 Feb 2017 19:45:11 +0000 (20:45 +0100)]
pull #307: worker -> factory

5 years agocalendar, #289: attempt to assert notification timeout when t_out is 0
copycat-killer [Wed, 8 Feb 2017 18:55:27 +0000 (19:55 +0100)]
calendar, #289: attempt to assert notification timeout when t_out is 0

5 years agolain.widgets -> lain.widget
copycat-killer [Wed, 8 Feb 2017 13:15:48 +0000 (14:15 +0100)]
lain.widgets -> lain.widget

5 years agoabase renamed to watch; #312: wiki updated
copycat-killer [Wed, 8 Feb 2017 13:09:52 +0000 (14:09 +0100)]
abase renamed to watch; #312: wiki updated

5 years agoMerge branch 'trap000d-master'
copycat-killer [Tue, 7 Feb 2017 08:08:21 +0000 (09:08 +0100)]
Merge branch 'trap000d-master'

5 years agoFix for local vs utc time offset
Aleksandr Beliaev [Mon, 6 Feb 2017 01:40:19 +0000 (14:40 +1300)]
Fix for local vs utc time offset

5 years agoMerge branch 'master' of https://github.com/trap000d/lain into trap000d-master
copycat-killer [Tue, 7 Feb 2017 08:07:09 +0000 (09:07 +0100)]
Merge branch 'master' of https://github.com/trap000d/lain into trap000d-master

5 years agocalendar: fix #289
copycat-killer [Tue, 7 Feb 2017 08:02:38 +0000 (09:02 +0100)]
calendar: fix #289

5 years agofix typo; closes #311
copycat-killer [Tue, 7 Feb 2017 07:14:45 +0000 (08:14 +0100)]
fix typo; closes #311

5 years agoMerge branch 'master' of github.com:trap000d/lain
Trap000d [Tue, 7 Feb 2017 05:56:11 +0000 (18:56 +1300)]
Merge branch 'master' of github.com:trap000d/lain

5 years agoFix for local vs utc time offset
Aleksandr Beliaev [Mon, 6 Feb 2017 01:40:19 +0000 (14:40 +1300)]
Fix for local vs utc time offset

5 years agoutil: magnify_client/mc: added width and height factors as optional args
copycat-killer [Mon, 6 Feb 2017 16:34:08 +0000 (17:34 +0100)]
util: magnify_client/mc: added width and height factors as optional args

5 years agoFix for local vs utc time offset
Aleksandr Beliaev [Mon, 6 Feb 2017 01:40:19 +0000 (14:40 +1300)]
Fix for local vs utc time offset

5 years agoMerge pull request #2 from copycat-killer/master
trap000d [Mon, 6 Feb 2017 01:34:55 +0000 (14:34 +1300)]
Merge pull request #2 from copycat-killer/master

Merge to master

5 years ago#308 fix
copycat-killer [Sat, 4 Feb 2017 13:40:21 +0000 (14:40 +0100)]
#308 fix

5 years agoAllow multiple instances of the pulseaudio widget
Calvin Timmer [Thu, 2 Feb 2017 13:37:43 +0000 (14:37 +0100)]
Allow multiple instances of the pulseaudio widget
Enable switching between default sink or source in pulseaudio widget

5 years ago#300 cal: revert highlight command; #308 mpd: escape quotes in cover path; weather...
copycat-killer [Fri, 3 Feb 2017 20:00:00 +0000 (21:00 +0100)]
#300 cal: revert highlight command; #308 mpd: escape quotes in cover path; weather: refresh widget when refreshing notification

5 years agowiki updated
copycat-killer [Wed, 1 Feb 2017 20:58:40 +0000 (21:58 +0100)]
wiki updated

5 years agofix #300
copycat-killer [Wed, 1 Feb 2017 11:18:11 +0000 (12:18 +0100)]
fix #300

5 years agoMerge pull request #303 from 2009/patch-4
Luke Bonham [Wed, 1 Feb 2017 11:11:37 +0000 (12:11 +0100)]
Merge pull request #303 from 2009/patch-4

Fix calander widget not highlighting date #300

5 years agoFix calender widget not highlighting date
2009 [Wed, 1 Feb 2017 09:08:55 +0000 (19:08 +1000)]
Fix calender widget not highlighting date

- os.date was returning the day as 01 which meant the calendar icon was looking for 01.png instead of 1.png
- looks like the cal command pads the singe didgets which the gsub didn't account for

5 years agocal: remove os-dependent flag; #299 #300
copycat-killer [Tue, 31 Jan 2017 16:42:29 +0000 (17:42 +0100)]
cal: remove os-dependent flag; #299 #300

5 years agofix #298
copycat-killer [Tue, 31 Jan 2017 16:31:12 +0000 (17:31 +0100)]
fix #298

5 years agoMerge pull request #297 from 2009/patch-3
Luke Bonham [Mon, 30 Jan 2017 12:23:57 +0000 (13:23 +0100)]
Merge pull request #297 from 2009/patch-3

task: fix typo so notification_preset can be overidden

5 years agoMerge pull request #296 from 2009/patch-2
Luke Bonham [Mon, 30 Jan 2017 12:23:30 +0000 (13:23 +0100)]
Merge pull request #296 from 2009/patch-2

task: define markup (was not defined)

5 years agoFix typo so notification_preset can be overidden
2009 [Mon, 30 Jan 2017 10:55:45 +0000 (20:55 +1000)]
Fix typo so notification_preset can be overidden

5 years agoBugfix markup was not defined
2009 [Mon, 30 Jan 2017 10:38:04 +0000 (20:38 +1000)]
Bugfix markup was not defined

5 years agowiki updated
copycat-killer [Sun, 29 Jan 2017 13:46:54 +0000 (14:46 +0100)]
wiki updated

5 years agobase: removed
copycat-killer [Sun, 29 Jan 2017 13:45:15 +0000 (14:45 +0100)]
base: removed

5 years ago#289 fix attempt
copycat-killer [Sun, 29 Jan 2017 12:48:25 +0000 (13:48 +0100)]
#289 fix attempt

5 years agomarkup: added fontfg and fontbg
copycat-killer [Sat, 28 Jan 2017 22:35:27 +0000 (23:35 +0100)]
markup: added fontfg and fontbg

5 years agowiki updated
copycat-killer [Sat, 28 Jan 2017 20:21:34 +0000 (21:21 +0100)]
wiki updated

5 years agocalendar: separate args from attach; closes #294
copycat-killer [Sat, 28 Jan 2017 14:40:19 +0000 (15:40 +0100)]
calendar: separate args from attach; closes #294

5 years agomaildir: turned into an abase example
copycat-killer [Fri, 27 Jan 2017 21:01:48 +0000 (22:01 +0100)]
maildir: turned into an abase example

5 years agowipe away beautiful reference
copycat-killer [Fri, 27 Jan 2017 13:59:31 +0000 (14:59 +0100)]
wipe away beautiful reference

5 years agowiki enhanced
copycat-killer [Fri, 27 Jan 2017 13:35:27 +0000 (14:35 +0100)]
wiki enhanced

5 years ago#293: eradicate proxy widget
copycat-killer [Thu, 26 Jan 2017 19:53:55 +0000 (20:53 +0100)]
#293: eradicate proxy widget

5 years agolayouts: geometry computation aligned to v4.0 API; fixes #267
copycat-killer [Thu, 26 Jan 2017 18:28:41 +0000 (19:28 +0100)]
layouts: geometry computation aligned to v4.0 API; fixes #267

5 years agoimap: password can now be a string, a table or a function to execute
copycat-killer [Wed, 25 Jan 2017 20:06:20 +0000 (21:06 +0100)]
imap: password can now be a string, a table or a function to execute

5 years agowiki updated
copycat-killer [Wed, 25 Jan 2017 18:50:08 +0000 (19:50 +0100)]
wiki updated

5 years agoMerge branch 'Veratil-awesome-v4-layout-fix'
copycat-killer [Wed, 25 Jan 2017 18:48:45 +0000 (19:48 +0100)]
Merge branch 'Veratil-awesome-v4-layout-fix'

5 years agoMerge branch 'awesome-v4-layout-fix' of https://github.com/Veratil/lain into Veratil...
copycat-killer [Wed, 25 Jan 2017 18:41:06 +0000 (19:41 +0100)]
Merge branch 'awesome-v4-layout-fix' of https://github.com/Veratil/lain into Veratil-awesome-v4-layout-fix

5 years ago{alsa,pulse}bar: remove reset_timeout due to (timer already started) issue
copycat-killer [Wed, 25 Jan 2017 18:38:05 +0000 (19:38 +0100)]
{alsa,pulse}bar: remove reset_timeout due to (timer already started) issue

5 years ago#288 trying metatables
copycat-killer [Wed, 25 Jan 2017 18:34:18 +0000 (19:34 +0100)]
#288 trying metatables

5 years agoFix bugs with v4 API update
Kevin Zander [Wed, 25 Jan 2017 18:27:49 +0000 (12:27 -0600)]
Fix bugs with v4 API update

5 years ago#290 forgot fs
copycat-killer [Wed, 25 Jan 2017 17:38:50 +0000 (18:38 +0100)]
#290 forgot fs

5 years agocalendar: fix async hanging notifications; closes #289
copycat-killer [Wed, 25 Jan 2017 17:35:30 +0000 (18:35 +0100)]
calendar: fix async hanging notifications; closes #289

5 years agono need to set naughty.config.defaults as preset, because it's implicit; closes #290
copycat-killer [Wed, 25 Jan 2017 16:28:37 +0000 (17:28 +0100)]
no need to set naughty.config.defaults as preset, because it's implicit; closes #290

5 years agofix #288
copycat-killer [Wed, 25 Jan 2017 16:13:14 +0000 (17:13 +0100)]
fix #288

5 years agompd: missing icon fix
copycat-killer [Wed, 25 Jan 2017 13:40:57 +0000 (14:40 +0100)]
mpd: missing icon fix

5 years agocal: terminal-colors.d independent highlight matching pattern
copycat-killer [Tue, 24 Jan 2017 21:03:48 +0000 (22:03 +0100)]
cal: terminal-colors.d independent highlight matching pattern

5 years agofix and complete pull #286
copycat-killer [Tue, 24 Jan 2017 20:33:16 +0000 (21:33 +0100)]
fix and complete pull #286

5 years agoMerge pull request #286 from aajjbb/fix-alsa-channel
Luke Bonham [Tue, 24 Jan 2017 19:57:00 +0000 (20:57 +0100)]
Merge pull request #286 from aajjbb/fix-alsa-channel

Make amixer get information only from the selected channel

5 years agoMake amixer get information only from the selected channel
aajjbb [Tue, 24 Jan 2017 19:44:27 +0000 (17:44 -0200)]
Make amixer get information only from the selected channel

5 years agoMerge pull request #284 from BarbUk/master
Luke Bonham [Tue, 24 Jan 2017 19:00:28 +0000 (20:00 +0100)]
Merge pull request #284 from BarbUk/master

tpbat: fix typo