]> 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 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 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

7 years agoweather: set UTC directly #310
Luke Bonham [Thu, 24 Aug 2017 10:49:17 +0000 (12:49 +0200)]
weather: set UTC directly #310

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

7 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>
7 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

7 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)

7 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

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

7 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

7 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'

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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.

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

7 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),

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

7 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

7 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

7 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).

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

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

7 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

7 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