diff --git a/README b/README.md similarity index 100% rename from README rename to README.md diff --git a/init.lua b/init.lua index 956e32d..2b9be2f 100644 --- a/init.lua +++ b/init.lua @@ -1,5 +1,8 @@ --- allows automatically focusing back to the previous client --- on window close or minimize. + +--+ allows automatically focusing back to the previous client +--> on window close (unmanage) or minimize. + +-------------------------------------------------------------------> methods ; function backham() local s = awful.screen.focused() @@ -10,8 +13,10 @@ function backham() end end +--------------------------------------------------------------------> signal ; + client.connect_signal("property::minimized", backham) --- attach to minimized state +--+ attach to minimized state client.connect_signal("unmanage", backham) --- attach to closed state \ No newline at end of file +--+ attach to closed state \ No newline at end of file