awesome/lib
Emmanuel Lepage Vallee 927e7b2796 awful.spawn: Add an `once` and `single_instance` methods.
This commit adds a way to leverage the xproperty and startup_id APIs
to persist an execution token across restarts. It allows to use
`awful.rules` on clients that were executed by a previous Awesome
instance.

The main limitations of these methods is the lack of entropy used to
build the token. If the command is the same in multiple
`awful.spawn.once`, then it will not work as expected. To mitigate this
issue, the system try to concatenate the `awful.rules` table after the
command and hash the resulting string. Given rules are a table, it can
have loops and/or issues with keys ordering. The hash function sort and
limite recursion to prevent a stack overflow. Another issue is the
unreliability of startup notifications.
2018-10-04 09:16:00 -04:00
..
awful awful.spawn: Add an `once` and `single_instance` methods. 2018-10-04 09:16:00 -04:00
beautiful Grammar correction. 2018-08-14 06:47:41 -05:00
gears table.join: Make deterministic. 2018-10-01 14:57:55 -04:00
menubar feat(menubar): expose menubar styling to beautiful (#2375) 2018-09-28 00:35:10 -04:00
naughty naughty.dbus: Duplicate surface data 2018-08-19 20:49:03 +02:00
wibox doc: Add missing C-object documentation and fix some papercuts. 2018-07-25 18:26:11 -04:00
beautiful.lua Add pointless naughty.lua and beautiful.lua files (#1259) 2016-12-08 23:53:50 +01:00
naughty.lua Add pointless naughty.lua and beautiful.lua files (#1259) 2016-12-08 23:53:50 +01:00