mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2026-11-03 08:17:59 +00:00
fix(window-focus): preserve single-click activation
This commit is contained in:
1 parent
9a3b37d5a8
commit
017bf12b43
4 files changed
+60
-17
No files matched your search
@@ -1,5 +1,6 @@
|
||||
-- Placement rules inferred from the running windows on this Mac.
|
||||
require("hs.ipc")
|
||||
local clickthrough = require("clickthrough")
|
||||
|
||||
local spaces = require("hs.spaces")
|
||||
local log = hs.logger.new("placement", "info")
|
||||
@@ -190,6 +191,7 @@ windowPlacement = {
|
||||
}
|
||||
windowPlacement.menu:setTitle("Windows")
|
||||
windowPlacement.menu:setMenu({
|
||||
{title = "Toggle single-click window activation", fn = clickthrough.toggle},
|
||||
{title = "Reapply placement rules", fn = restore},
|
||||
{title = "Reload configuration", fn = hs.reload},
|
||||
{title = "Open Console", fn = hs.openConsole},
|
||||
|
||||
Reference in new issue
Block a user