]> git.madduck.net Git - etc/awesome.git/log

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 agowidget.temp: reset path to /sys/devices; closes #441
Luca Capezzuto [Tue, 27 Aug 2019 16:08:37 +0000 (17:08 +0100)]
widget.temp: reset path to /sys/devices; closes #441

5 years agoapply #439 to alsabar as well
Luca Capezzuto [Mon, 12 Aug 2019 16:44:58 +0000 (17:44 +0100)]
apply #439 to alsabar as well

5 years agoMerge pull request #439 from gregflynn/201908_gf_customize_pulsebar_notification_char...
Luca CPZ [Mon, 12 Aug 2019 16:33:44 +0000 (17:33 +0100)]
Merge pull request #439 from gregflynn/201908_gf_customize_pulsebar_notification_characters

add configuration arguments for pulsebar notification characters

5 years agoalsabar: added argument for maximum number of ticks in notification; #438
Luca Capezzuto [Mon, 12 Aug 2019 16:29:24 +0000 (17:29 +0100)]
alsabar: added argument for maximum number of ticks in notification; #438

5 years agoadd arg for none in pulsebar notification
Greg Flynn [Sat, 10 Aug 2019 17:34:15 +0000 (13:34 -0400)]
add arg for none in pulsebar notification

5 years agoadd configuration arguments for pulsebar notification characters
Greg Flynn [Sat, 10 Aug 2019 17:27:17 +0000 (13:27 -0400)]
add configuration arguments for pulsebar notification characters

5 years agoMerge pull request #435 from razamatan/master
Luca CPZ [Fri, 28 Jun 2019 10:03:26 +0000 (11:03 +0100)]
Merge pull request #435 from razamatan/master

pulsebar: as timer ID, use devicetype and device instead of sink (nil var)

5 years agopulsebar: use devicetype and device instead of sink (null var)
razamatan [Fri, 28 Jun 2019 07:24:01 +0000 (00:24 -0700)]
pulsebar: use devicetype and device instead of sink (null var)

5 years agowidget.temp: re-add tempfile argument (#432), but keep retrieving all temperature...
Luca Capezzuto [Wed, 29 May 2019 14:28:38 +0000 (15:28 +0100)]
widget.temp: re-add tempfile argument (#432), but keep retrieving all temperature info (#431); closes #432

5 years agowidget.temp: autodetect tempfiles; closes #431
Luca Capezzuto [Mon, 27 May 2019 12:12:00 +0000 (13:12 +0100)]
widget.temp: autodetect tempfiles; closes #431

5 years agoMerge pull request #430 from trap000d/weather_widget
Luca CPZ [Mon, 13 May 2019 11:44:26 +0000 (12:44 +0100)]
Merge pull request #430 from trap000d/weather_widget

Weather status icon fix; closes #428.

It looks like OpenWeatherMap have fixed most of issues in their API. Now they return sunrise and sunset times properly for current time zone, however the status icon is still wrong:

    transition N->D appears at 0:00 UTC (must be at local sunrise time)
    whereas D->N appears at local sunset time

So we still need to check if we're in or out from sunrise/sunset times, but no need to perform all other manipulations with dates and times.

5 years agoWeather status icon fix
Aleksandr Beliaev [Sun, 12 May 2019 23:08:46 +0000 (11:08 +1200)]
Weather status icon fix

5 years agowidget.cal: set length of day names to 3; closes #426
Azarym [Tue, 23 Apr 2019 09:43:32 +0000 (11:43 +0200)]
widget.cal: set length of day names to 3; closes #426

5 years agowidget.fs: notification: right-justify columns 2-4 for better readability
Luca Capezzuto [Thu, 11 Apr 2019 16:15:31 +0000 (17:15 +0100)]
widget.fs: notification: right-justify columns 2-4 for better readability

5 years agowidget.fs: fixed first column formatting adjustment; closes #423
Luca Capezzuto [Tue, 9 Apr 2019 17:25:02 +0000 (18:25 +0100)]
widget.fs: fixed first column formatting adjustment; closes #423

5 years agowidget.cal: added option for displaying week numbers
methodical-marmot [Tue, 19 Feb 2019 11:31:57 +0000 (13:31 +0200)]
widget.cal: added option for displaying week numbers

5 years ago#424: assert that timeout seconds in every naughty notification are numbers
Luca Capezzuto [Mon, 8 Apr 2019 10:37:38 +0000 (11:37 +0100)]
#424: assert that timeout seconds in every naughty notification are numbers

5 years agoMerge pull request #420 from sim590/unpack-lua51-compat
Luca CPZ [Thu, 14 Feb 2019 15:26:41 +0000 (15:26 +0000)]
Merge pull request #420 from sim590/unpack-lua51-compat

util/menu_iterator: retro compatibility with lua 5.1

5 years agoutil/menu_iterator: unpack retro compatibility
Simon Désaulniers [Tue, 12 Feb 2019 22:27:39 +0000 (17:27 -0500)]
util/menu_iterator: unpack retro compatibility

* Lua 5.2 renamed `unpack` to `table.unpack`.
* Fix: helpers.lua required.

5 years agoMerge pull request #418 from cool-cool-sweat/full_notify
Luca CPZ [Mon, 14 Jan 2019 10:59:13 +0000 (10:59 +0000)]
Merge pull request #418 from cool-cool-sweat/full_notify

bat: allow disabling notification for full charge

5 years agobat: allow disabling notification for full charge
cool-cool-sweat [Sat, 12 Jan 2019 23:57:54 +0000 (18:57 -0500)]
bat: allow disabling notification for full charge

5 years agowidget.fs: fix notification check, add threshold parameter for trigger
Luca CPZ [Sun, 30 Dec 2018 18:12:17 +0000 (19:12 +0100)]
widget.fs: fix notification check, add threshold parameter for trigger

5 years agoMerge branch 'master' of github.com:lcpz/lain
Luca CPZ [Fri, 21 Dec 2018 16:19:21 +0000 (17:19 +0100)]
Merge branch 'master' of github.com:lcpz/lain

5 years agotp_smapi: correct default apipath
lcpz [Sat, 1 Dec 2018 19:03:58 +0000 (19:03 +0000)]
tp_smapi: correct default apipath

5 years agoutil.quake: revert previous commit; closes #415
lcpz [Sat, 1 Dec 2018 18:35:44 +0000 (18:35 +0000)]
util.quake: revert previous commit; closes #415

5 years agoMerge pull request #416 from BarbUk/fix/tp_smapi
Luca CPZ [Sat, 1 Dec 2018 18:30:04 +0000 (18:30 +0000)]
Merge pull request #416 from BarbUk/fix/tp_smapi

widget.contib.smapi: rename to tp_smap, include wibox, add batid param to get function

5 years agotp_smapi.get need a batid param
BarbUk [Sat, 1 Dec 2018 12:06:12 +0000 (16:06 +0400)]
tp_smapi.get need a batid param

5 years agoInclude wibox
BarbUk [Sat, 1 Dec 2018 12:05:47 +0000 (16:05 +0400)]
Include wibox

5 years agoRename smapi to ts_smapi
BarbUk [Sat, 1 Dec 2018 12:03:56 +0000 (16:03 +0400)]
Rename smapi to ts_smapi

To follow to documentation available at https://github.com/lcpz/lain/wiki/tp_smapi
smapi is renamed tp_smapi

5 years agoAPI change: lain.widget.contrib.tpbat has been rewritten and renamed to lain.widget...
lcpz [Wed, 28 Nov 2018 19:43:04 +0000 (19:43 +0000)]
API change: lain.widget.contrib.tpbat has been rewritten and renamed to lain.widget.contrib.tp_smapi

lain.widget.cal: honour followtag argument

lightened calls to libraries

5 years agowiki updated
lcpz [Wed, 28 Nov 2018 15:07:42 +0000 (15:07 +0000)]
wiki updated

5 years agoMerge pull request #413 from seregaxvm/master
Luca CPZ [Wed, 28 Nov 2018 15:05:26 +0000 (15:05 +0000)]
Merge pull request #413 from seregaxvm/master

fix imap notifications

5 years agofix imap notifications
Matsievskiy S.V [Wed, 28 Nov 2018 14:17:08 +0000 (17:17 +0300)]
fix imap notifications

5 years agolain.imap: various improvements
lcpz [Sat, 24 Nov 2018 14:08:04 +0000 (14:08 +0000)]
lain.imap: various improvements

1. allow special chars in password
2. make it gmail/yandex compliant
3. fetch additional data (MESSAGES and RECENT)
4. support DBus Secret Service authentication method

5 years agowidget.cal: fix calendar icons not displaying; closes #410
lcpz [Thu, 15 Nov 2018 10:59:52 +0000 (10:59 +0000)]
widget.cal: fix calendar icons not displaying; closes #410

5 years agoMerge pull request #409 from seregaxvm/gap
Luca CPZ [Wed, 14 Nov 2018 20:07:50 +0000 (20:07 +0000)]
Merge pull request #409 from seregaxvm/gap

add screen and tag arguments to useless_gaps_resize function

5 years agoadd screen and tag arguments to useless_gaps_resize function
sergey [Sat, 10 Nov 2018 18:58:37 +0000 (21:58 +0300)]
add screen and tag arguments to useless_gaps_resize function

5 years agoallow separator colors to be updated
Greg Flynn [Mon, 5 Nov 2018 00:57:54 +0000 (19:57 -0500)]
allow separator colors to be updated

5 years agofix paddings always being the margins in pulsebar
Greg Flynn [Sun, 4 Nov 2018 19:29:12 +0000 (14:29 -0500)]
fix paddings always being the margins in pulsebar

6 years ago{alsa,pulse}bar: added margins/paddings args
lcpz [Sun, 28 Oct 2018 12:59:00 +0000 (12:59 +0000)]
{alsa,pulse}bar: added margins/paddings args

6 years agoutil.markup: fixed typos
Luca CPZ [Sat, 15 Sep 2018 08:21:37 +0000 (10:21 +0200)]
util.markup: fixed typos

6 years agoutil.markup: fixed typos
Luca CPZ [Sat, 15 Sep 2018 08:21:37 +0000 (10:21 +0200)]
util.markup: fixed typos

6 years agowidget.cal: add options for displaying 3 months spanning the date
Luca CPZ [Fri, 14 Sep 2018 18:21:42 +0000 (20:21 +0200)]
widget.cal: add options for displaying 3 months spanning the date

6 years agowidget.calendar reimplemented and renamed to widget.cal; util.quake: simpler geometri...
Luca CPZ [Fri, 14 Sep 2018 10:09:11 +0000 (12:09 +0200)]
widget.calendar reimplemented and renamed to widget.cal; util.quake: simpler geometries table index; util.markup: use string.format only

6 years agowidget.calendar: some cleaning; #379
Luca CPZ [Thu, 6 Sep 2018 14:18:35 +0000 (16:18 +0200)]
widget.calendar: some cleaning; #379

6 years agowidget.imap: ensure mailcount is not nil before notifying; closes #400
Luca CPZ [Fri, 31 Aug 2018 10:11:38 +0000 (12:11 +0200)]
widget.imap: ensure mailcount is not nil before notifying; closes #400

6 years agowidget.imap: ensure to get unseen messages; #400
Luca CPZ [Thu, 30 Aug 2018 14:02:41 +0000 (16:02 +0200)]
widget.imap: ensure to get unseen messages; #400

6 years agowidget.contrib.kbdlayout removed, please use awful.widget.keyboardlayout; closes...
Luca CPZ [Tue, 7 Aug 2018 08:41:50 +0000 (10:41 +0200)]
widget.contrib.kbdlayout removed, please use awful.widget.keyboardlayout; closes #399

6 years agoMerge pull request #398 from BarbUk/feature/tpbat/configurable-battery-thresholds
Luca CPZ [Sun, 5 Aug 2018 09:55:44 +0000 (11:55 +0200)]
Merge pull request #398 from BarbUk/feature/tpbat/configurable-battery-thresholds

Configurable battery thresholds for tpbat

6 years agoConfigurable battery thresholds for tpbat
BarbUk [Sun, 5 Aug 2018 08:45:56 +0000 (12:45 +0400)]
Configurable battery thresholds for tpbat

6 years agowiki updated
Luca CPZ [Wed, 1 Aug 2018 09:55:19 +0000 (11:55 +0200)]
wiki updated

6 years agowidget.bat: put {batteries,ac} back to local
Luca CPZ [Wed, 1 Aug 2018 09:26:30 +0000 (11:26 +0200)]
widget.bat: put {batteries,ac} back to local

6 years agowidget.bat: fixed ac variable; improved autodetection; #397
Luca CPZ [Tue, 31 Jul 2018 14:07:30 +0000 (16:07 +0200)]
widget.bat: fixed ac variable; improved autodetection; #397

6 years agowidget.bat: add failsafe AC
Luca CPZ [Tue, 31 Jul 2018 10:35:59 +0000 (12:35 +0200)]
widget.bat: add failsafe AC

6 years agowidget.bat: move fallback ac to autodetection function
Luca CPZ [Thu, 26 Jul 2018 11:20:01 +0000 (13:20 +0200)]
widget.bat: move fallback ac to autodetection function

6 years agowidget.bat: autodetection function; closes #340 #389
Luca CPZ [Wed, 25 Jul 2018 10:43:01 +0000 (12:43 +0200)]
widget.bat: autodetection function; closes #340 #389

6 years agocenterwork: remove capi reference
Luca CPZ [Fri, 20 Jul 2018 11:05:03 +0000 (13:05 +0200)]
centerwork: remove capi reference

6 years agocenterwork: mouse_resize_handler added; #395
Luca CPZ [Fri, 20 Jul 2018 10:52:00 +0000 (12:52 +0200)]
centerwork: mouse_resize_handler added; #395

6 years agoMerge pull request #396 from BarbUk/icons/calendar-black
Luca CPZ [Fri, 20 Jul 2018 10:44:34 +0000 (12:44 +0200)]
Merge pull request #396 from BarbUk/icons/calendar-black

Calendar black icons to use with white theme.

6 years agocalendar black icons
BarbUk [Fri, 20 Jul 2018 04:38:09 +0000 (08:38 +0400)]
calendar black icons

6 years agoMerge pull request #391 from aajjbb/fix-rockspec
Luca CPZ [Fri, 30 Mar 2018 15:37:03 +0000 (17:37 +0200)]
Merge pull request #391 from aajjbb/fix-rockspec

Updating lain rockspec to follow new luarocks standards; closes #390

6 years agoupdating lain rockspec to follow new luarocks standards
aajjbb [Fri, 30 Mar 2018 13:39:34 +0000 (10:39 -0300)]
updating lain rockspec to follow new luarocks standards

6 years agowidget.fs: adjust spacing in notifications when there are > 10 long paths
Luca CPZ [Wed, 14 Mar 2018 11:17:13 +0000 (12:17 +0100)]
widget.fs: adjust spacing in notifications when there are > 10 long paths

6 years agowiki updated
Luca CPZ [Wed, 28 Feb 2018 09:30:52 +0000 (10:30 +0100)]
wiki updated

6 years agowidget.fs: assure that each processed partition has non nil infos; awesome-copycats...
Luca CPZ [Sun, 25 Feb 2018 22:17:09 +0000 (23:17 +0100)]
widget.fs: assure that each processed partition has non nil infos; awesome-copycats #225

6 years agohelpers: improved i/o functions
Luca CPZ [Fri, 23 Feb 2018 12:24:10 +0000 (13:24 +0100)]
helpers: improved i/o functions

6 years agoutil.quake: check if client exists when moving it to another tag
Kyra Zimmer [Thu, 22 Feb 2018 11:14:00 +0000 (12:14 +0100)]
util.quake: check if client exists when moving it to another tag

6 years ago{alsa,pulse}bar: fallback for mywibox variable; closes #384
Luca CPZ [Sat, 17 Feb 2018 13:28:31 +0000 (14:28 +0100)]
{alsa,pulse}bar: fallback for mywibox variable; closes #384

6 years agoutil.menu_iterator: cleaned indentation; added wiki entry; closes #386
Luca CPZ [Sat, 17 Feb 2018 13:06:20 +0000 (14:06 +0100)]
util.menu_iterator: cleaned indentation; added wiki entry; closes #386

6 years agoMerge pull request #377 from sim590/menu-iterator
Luca CPZ [Sat, 17 Feb 2018 11:19:53 +0000 (12:19 +0100)]
Merge pull request #377 from sim590/menu-iterator

menu_iterator: naughty.notify based menu utility

6 years agomenu_iterator: generic menu creator function
Simon Désaulniers [Wed, 14 Feb 2018 22:04:06 +0000 (17:04 -0500)]
menu_iterator: generic menu creator function

A simple example usage is given over on the amh project~[1]

[1]: https://github.com/sim590/amh/blob/dcf101c8ef74921de513c0b1dee294606fc6befe/exec/mpv.lua#L32

6 years agohelpers: powerset and trivial_partition_set
Simon Désaulniers [Wed, 14 Feb 2018 22:00:36 +0000 (17:00 -0500)]
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}}.

6 years agomenu_iterator: naughty.notify based menu utility
Simon Désaulniers [Sat, 30 Dec 2017 12:05:41 +0000 (07:05 -0500)]
menu_iterator: naughty.notify based menu utility

6 years ago{alsa,pulse}bar: consider wibar orientation when calculating notification size; #384
Luca CPZ [Fri, 16 Feb 2018 18:49:13 +0000 (19:49 +0100)]
{alsa,pulse}bar: consider wibar orientation when calculating notification size; #384

6 years agofs: pure Gio implementation; #272
Luca CPZ [Fri, 16 Feb 2018 16:21:09 +0000 (17:21 +0100)]
fs: pure Gio implementation; #272

6 years agolayout.centerwork: improved code
Luca CPZ [Thu, 15 Feb 2018 13:05:26 +0000 (14:05 +0100)]
layout.centerwork: improved code

6 years agoWeather widget rewritten; first authorship updated
Aleksandr Beliaev [Mon, 11 Sep 2017 04:51:52 +0000 (16:51 +1200)]
Weather widget rewritten; first authorship updated

6 years agobat: notify full only once before discharging
Luca CPZ [Tue, 23 Jan 2018 13:09:08 +0000 (14:09 +0100)]
bat: notify full only once before discharging

6 years agoMerge branch 'cool-cool-sweat-master'
Luca CPZ [Tue, 23 Jan 2018 10:39:24 +0000 (11:39 +0100)]
Merge branch 'cool-cool-sweat-master'

6 years agobat.lua: add notification for full charge
cool-cool-sweat [Tue, 23 Jan 2018 03:47:10 +0000 (22:47 -0500)]
bat.lua: add notification for full charge

6 years agonet.lua: support wifi/ethernet connection indicators
cool-cool-sweat [Tue, 23 Jan 2018 03:39:48 +0000 (22:39 -0500)]
net.lua: support wifi/ethernet connection indicators

6 years agoMerge pull request #381 from cool-cool-sweat/helpers-change
Luca CPZ [Tue, 23 Jan 2018 10:15:45 +0000 (11:15 +0100)]
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

6 years agoAdd line_callback and edit async helpers
cool-cool-sweat [Mon, 22 Jan 2018 17:55:37 +0000 (12:55 -0500)]
Add line_callback and edit async helpers

6 years agohelpers: async_with_shell added
Luca CPZ [Tue, 19 Dec 2017 16:20:59 +0000 (17:20 +0100)]
helpers: async_with_shell added

6 years agoMerge branch 'alfunx-calendar-rm-newline'
Luca CPZ [Fri, 15 Dec 2017 10:49:24 +0000 (11:49 +0100)]
Merge branch 'alfunx-calendar-rm-newline'

6 years agocalendar: remove trailing newlines of output
Alphonse Mariya [Thu, 14 Dec 2017 23:33:20 +0000 (00:33 +0100)]
calendar: remove trailing newlines of output

6 years agoMerge pull request #371 from medivhok/master
Luca CPZ [Sat, 9 Dec 2017 16:20:05 +0000 (17:20 +0100)]
Merge pull request #371 from medivhok/master

added awful library require

6 years agoadded awful library require
Jean Gregory [Sat, 9 Dec 2017 14:28:25 +0000 (09:28 -0500)]
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.

7 years agopulseaudio -> pulse; scallback merged into cmd (read wiki)
Luke Bonham [Wed, 13 Sep 2017 10:33:40 +0000 (12:33 +0200)]
pulseaudio -> pulse; scallback merged into cmd (read wiki)

7 years agoMerge pull request #362 from 2009/fix/pulse-sink
Luke Bonham [Wed, 13 Sep 2017 09:13:44 +0000 (11:13 +0200)]
Merge pull request #362 from 2009/fix/pulse-sink

Add devicetype to pulsebar to match pulseaudio and update sed command

7 years agoMerge branch 'master' of http://github.com/copycat-killer/lain into fix/pulse-sink
Justin Endacott [Wed, 13 Sep 2017 01:51:20 +0000 (11:51 +1000)]
Merge branch 'master' of http://github.com/copycat-killer/lain into fix/pulse-sink

7 years agoAdd devicetype to pulsbar to match pulseaudio and update sed command
Justin Endacott [Wed, 13 Sep 2017 01:46:43 +0000 (11:46 +1000)]
Add devicetype to pulsbar to match pulseaudio and update sed command

7 years agoWeather widget working without utc_offset
Aleksandr Beliaev [Wed, 6 Sep 2017 01:28:18 +0000 (13:28 +1200)]
Weather widget working without utc_offset

7 years agoquake: iterate on all screens; #339
Luke Bonham [Tue, 5 Sep 2017 20:34:09 +0000 (22:34 +0200)]
quake: iterate on all screens; #339

7 years agoutil.quake: removed onlyone parameters; wiki updated; counters #339
Luke Bonham [Tue, 5 Sep 2017 14:34:52 +0000 (16:34 +0200)]
util.quake: removed onlyone parameters; wiki updated; counters #339

7 years agoremoved whitespaced signatures; wiki updated
Luke Bonham [Mon, 4 Sep 2017 10:43:00 +0000 (12:43 +0200)]
removed whitespaced signatures; wiki updated

7 years agorevert a5b05fa; #310
Luke Bonham [Tue, 29 Aug 2017 11:13:35 +0000 (13:13 +0200)]
revert a5b05fa; #310

7 years agoMerge pull request #359 from rohieb/mpd-port-from-environment-for-master
Luke Bonham [Mon, 28 Aug 2017 12:04:23 +0000 (14:04 +0200)]
Merge pull request #359 from rohieb/mpd-port-from-environment-for-master

mpd: respect MPD_HOST and MPD_PORT environment variables

7 years agompd: respect MPD_HOST and MPD_PORT environment variables
Roland Hieber [Mon, 28 Aug 2017 10:35:16 +0000 (12:35 +0200)]
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>
7 years ago{alsa,pulse}bar: show percentage even when muted
Luke Bonham [Fri, 25 Aug 2017 08:26:30 +0000 (10:26 +0200)]
{alsa,pulse}bar: show percentage even when muted