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:
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'
Luke Bonham [Mon, 10 Jul 2017 10:00:49 +0000 (12:00 +0200)]
quake: avoid calling compute_size whenever possible
Luke Bonham [Tue, 27 Jun 2017 11:24:08 +0000 (13:24 +0200)]
readme updated
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
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
Luke Bonham [Sun, 25 Jun 2017 11:11:40 +0000 (13:11 +0200)]
Merge branch 'master' of github.com:copycat-killer/lain
Luke Bonham [Sun, 25 Jun 2017 11:11:30 +0000 (13:11 +0200)]
{alsa,pulse}bar: notification fixes and logic simplified
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
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.
Oli Desborough [Tue, 16 May 2017 11:33:25 +0000 (11:33 +0000)]
fs: fix short circuit notification
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),
Luke Bonham [Sat, 29 Apr 2017 14:19:37 +0000 (16:19 +0200)]
wiki updated
Luke Bonham [Sat, 29 Apr 2017 14:14:02 +0000 (16:14 +0200)]
watch removed: use awful.widget.watch
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
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).
Luke Bonham [Sun, 2 Apr 2017 22:53:31 +0000 (00:53 +0200)]
pulsebar: fix factory return
Luke Bonham [Sun, 2 Apr 2017 19:28:49 +0000 (21:28 +0200)]
contrib.gpmdp: instantiate in factory
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
Luke Bonham [Sat, 1 Apr 2017 10:49:58 +0000 (12:49 +0200)]
bat: critical/low levels notification configurable; closes #335
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
aajjbb [Tue, 14 Mar 2017 13:43:44 +0000 (10:43 -0300)]
fixing typo mentioned in #331
Luke Bonham [Fri, 10 Mar 2017 19:48:11 +0000 (20:48 +0100)]
calendar: mouse.current_widgets safety check
Luke Bonham [Tue, 28 Feb 2017 09:55:48 +0000 (10:55 +0100)]
pulsebar: fix typos; closes #327
Luke Bonham [Fri, 24 Feb 2017 12:48:13 +0000 (13:48 +0100)]
add .device for pulseaudio and pulsebar; wiki updated; closes #323
Luke Bonham [Fri, 24 Feb 2017 12:24:52 +0000 (13:24 +0100)]
fs: elseif -> else in scr argument check; #322
Luke Bonham [Fri, 24 Feb 2017 12:08:13 +0000 (13:08 +0100)]
fix #321
Luke Bonham [Wed, 22 Feb 2017 12:46:03 +0000 (13:46 +0100)]
#320, calendar: name signal functions
Luke Bonham [Tue, 21 Feb 2017 17:11:08 +0000 (18:11 +0100)]
issue template updated
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
Renato Alves [Tue, 21 Feb 2017 00:15:30 +0000 (01:15 +0100)]
Workaround premature end of file with awful.spawn.easy_async
Luke Bonham [Mon, 20 Feb 2017 11:17:06 +0000 (12:17 +0100)]
closes #318
copycat-killer [Tue, 14 Feb 2017 17:42:43 +0000 (18:42 +0100)]
#315: removed vertical arg from {alsa,pulse}bar
copycat-killer [Mon, 13 Feb 2017 12:33:54 +0000 (13:33 +0100)]
Merge branch 'master' of github.com:copycat-killer/lain
copycat-killer [Mon, 13 Feb 2017 12:33:44 +0000 (13:33 +0100)]
wiki updated; #314
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.
Gergely Peidl [Mon, 13 Feb 2017 10:26:38 +0000 (11:26 +0100)]
Adding support for setting up a layout of the new tag.
copycat-killer [Thu, 9 Feb 2017 17:27:31 +0000 (18:27 +0100)]
calendar, #289: instead of setting timeout, don't show at all
copycat-killer [Wed, 8 Feb 2017 19:45:11 +0000 (20:45 +0100)]
pull #307: worker -> factory
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
copycat-killer [Wed, 8 Feb 2017 13:15:48 +0000 (14:15 +0100)]
lain.widgets -> lain.widget
copycat-killer [Wed, 8 Feb 2017 13:09:52 +0000 (14:09 +0100)]
abase renamed to watch; #312: wiki updated
copycat-killer [Tue, 7 Feb 2017 08:08:21 +0000 (09:08 +0100)]
Merge branch 'trap000d-master'
Aleksandr Beliaev [Mon, 6 Feb 2017 01:40:19 +0000 (14:40 +1300)]
Fix for local vs utc time offset
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
copycat-killer [Tue, 7 Feb 2017 08:02:38 +0000 (09:02 +0100)]
calendar: fix #289
copycat-killer [Tue, 7 Feb 2017 07:14:45 +0000 (08:14 +0100)]
fix typo; closes #311
Trap000d [Tue, 7 Feb 2017 05:56:11 +0000 (18:56 +1300)]
Merge branch 'master' of github.com:trap000d/lain
Aleksandr Beliaev [Mon, 6 Feb 2017 01:40:19 +0000 (14:40 +1300)]
Fix for local vs utc time offset
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
Aleksandr Beliaev [Mon, 6 Feb 2017 01:40:19 +0000 (14:40 +1300)]
Fix for local vs utc time offset
trap000d [Mon, 6 Feb 2017 01:34:55 +0000 (14:34 +1300)]
Merge pull request #2 from copycat-killer/master
Merge to master
copycat-killer [Sat, 4 Feb 2017 13:40:21 +0000 (14:40 +0100)]
#308 fix
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
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
copycat-killer [Wed, 1 Feb 2017 20:58:40 +0000 (21:58 +0100)]
wiki updated
copycat-killer [Wed, 1 Feb 2017 11:18:11 +0000 (12:18 +0100)]
fix #300
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
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
copycat-killer [Tue, 31 Jan 2017 16:42:29 +0000 (17:42 +0100)]
cal: remove os-dependent flag; #299 #300
copycat-killer [Tue, 31 Jan 2017 16:31:12 +0000 (17:31 +0100)]
fix #298
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
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)
2009 [Mon, 30 Jan 2017 10:55:45 +0000 (20:55 +1000)]
Fix typo so notification_preset can be overidden
2009 [Mon, 30 Jan 2017 10:38:04 +0000 (20:38 +1000)]
Bugfix markup was not defined
copycat-killer [Sun, 29 Jan 2017 13:46:54 +0000 (14:46 +0100)]
wiki updated
copycat-killer [Sun, 29 Jan 2017 13:45:15 +0000 (14:45 +0100)]
base: removed
copycat-killer [Sun, 29 Jan 2017 12:48:25 +0000 (13:48 +0100)]
#289 fix attempt
copycat-killer [Sat, 28 Jan 2017 22:35:27 +0000 (23:35 +0100)]
markup: added fontfg and fontbg
copycat-killer [Sat, 28 Jan 2017 20:21:34 +0000 (21:21 +0100)]
wiki updated
copycat-killer [Sat, 28 Jan 2017 14:40:19 +0000 (15:40 +0100)]
calendar: separate args from attach; closes #294
copycat-killer [Fri, 27 Jan 2017 21:01:48 +0000 (22:01 +0100)]
maildir: turned into an abase example
copycat-killer [Fri, 27 Jan 2017 13:59:31 +0000 (14:59 +0100)]
wipe away beautiful reference
copycat-killer [Fri, 27 Jan 2017 13:35:27 +0000 (14:35 +0100)]
wiki enhanced
copycat-killer [Thu, 26 Jan 2017 19:53:55 +0000 (20:53 +0100)]
#293: eradicate proxy widget
copycat-killer [Thu, 26 Jan 2017 18:28:41 +0000 (19:28 +0100)]
layouts: geometry computation aligned to v4.0 API; fixes #267
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
copycat-killer [Wed, 25 Jan 2017 18:50:08 +0000 (19:50 +0100)]
wiki updated
copycat-killer [Wed, 25 Jan 2017 18:48:45 +0000 (19:48 +0100)]
Merge branch 'Veratil-awesome-v4-layout-fix'
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
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
copycat-killer [Wed, 25 Jan 2017 18:34:18 +0000 (19:34 +0100)]
#288 trying metatables
Kevin Zander [Wed, 25 Jan 2017 18:27:49 +0000 (12:27 -0600)]
Fix bugs with v4 API update
copycat-killer [Wed, 25 Jan 2017 17:38:50 +0000 (18:38 +0100)]
#290 forgot fs
copycat-killer [Wed, 25 Jan 2017 17:35:30 +0000 (18:35 +0100)]
calendar: fix async hanging notifications; closes #289
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
copycat-killer [Wed, 25 Jan 2017 16:13:14 +0000 (17:13 +0100)]
fix #288
copycat-killer [Wed, 25 Jan 2017 13:40:57 +0000 (14:40 +0100)]
mpd: missing icon fix
copycat-killer [Tue, 24 Jan 2017 21:03:48 +0000 (22:03 +0100)]
cal: terminal-colors.d independent highlight matching pattern
copycat-killer [Tue, 24 Jan 2017 20:33:16 +0000 (21:33 +0100)]
fix and complete pull #286
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
aajjbb [Tue, 24 Jan 2017 19:44:27 +0000 (17:44 -0200)]
Make amixer get information only from the selected channel
Luke Bonham [Tue, 24 Jan 2017 19:00:28 +0000 (20:00 +0100)]
Merge pull request #284 from BarbUk/master
tpbat: fix typo
BarbUk [Tue, 24 Jan 2017 18:45:51 +0000 (22:45 +0400)]
fix 'attempt to index a nil value (global self)'
copycat-killer [Tue, 24 Jan 2017 17:42:44 +0000 (18:42 +0100)]
fix #280
copycat-killer [Tue, 24 Jan 2017 17:23:11 +0000 (18:23 +0100)]
fixed typo
copycat-killer [Tue, 24 Jan 2017 17:19:15 +0000 (18:19 +0100)]
#250 missing file patch
copycat-killer [Tue, 24 Jan 2017 15:38:49 +0000 (16:38 +0100)]
readme updated
copycat-killer [Tue, 24 Jan 2017 15:38:28 +0000 (16:38 +0100)]
mem: adjusted calculation; #271
Luke Bonham [Tue, 24 Jan 2017 15:24:23 +0000 (16:24 +0100)]
Merge pull request #282 from 2009/patch-1
Fix bug where net widget would not get the device name
Luke Bonham [Tue, 24 Jan 2017 15:19:27 +0000 (16:19 +0100)]
Merge pull request #279 from renatofdds/patch-1
Fix regression in net.lua widget