diff --git a/.gitmodules b/.gitmodules index d175f3b..c74d948 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,3 +2,7 @@ path = awesomewm-micky url = git@github.com:balajsra/awesomewm-micky.git branch = master +[submodule "awesomewm-backham"] + path = awesomewm-backham + url = git@github.com:basaran/awesomewm-backham.git + branch = master diff --git a/README.org b/README.org index ff4922c..5da57f0 100644 --- a/README.org +++ b/README.org @@ -125,6 +125,12 @@ Automatically move and center mouse cursors to the focused window require("awesomewm-micky") #+END_SRC +Automatically focus back to the previous client on minimize and close + +#+BEGIN_SRC lua :tangle rc.lua +require("awesomewm-backham") +#+END_SRC + * Error Handling Check if awesome encountered an error during startup and fell back to another config (This code will only ever execute for the fallback config) diff --git a/awesomewm-backham b/awesomewm-backham new file mode 160000 index 0000000..6093c00 --- /dev/null +++ b/awesomewm-backham @@ -0,0 +1 @@ +Subproject commit 6093c00c56f0c83123c84137ddeac428e1f11722 diff --git a/rc.lua b/rc.lua index 5ec6ac2..4d8679e 100644 --- a/rc.lua +++ b/rc.lua @@ -17,6 +17,8 @@ require("awful.hotkeys_popup.keys") require("awesomewm-micky") +require("awesomewm-backham") + if awesome.startup_errors then naughty.notify({ preset = naughty.config.presets.critical, title = "Oops, there were errors during startup!",