diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..06010c4 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "awesomewm-micky"] + path = awesomewm-micky + url = git@github.com:basaran/awesomewm-micky.git + branch = master diff --git a/README.org b/README.org index 2a58012..5cf707f 100644 --- a/README.org +++ b/README.org @@ -48,6 +48,9 @@ local hotkeys_popup = require("awful.hotkeys_popup") -- Enable hotkeys help widget for VIM and other apps -- when client with a matching name is opened: require("awful.hotkeys_popup.keys") + +-- Automatically move and center mouse cursors to the focused window +require("awesomewm-micky") #+END_SRC * Error Handling diff --git a/awesomewm-micky b/awesomewm-micky new file mode 160000 index 0000000..63b3061 --- /dev/null +++ b/awesomewm-micky @@ -0,0 +1 @@ +Subproject commit 63b3061bad41ca28ca0c5e64d89a525957637c2d diff --git a/rc.lua b/rc.lua index b487532..563da3e 100644 --- a/rc.lua +++ b/rc.lua @@ -17,6 +17,9 @@ local hotkeys_popup = require("awful.hotkeys_popup") -- when client with a matching name is opened: require("awful.hotkeys_popup.keys") +-- Automatically move and center mouse cursors to the focused window +require("awesomewm-micky") + -- {{{ 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)