forked from Shinonome/dots-hyprland
implement click-to-close and fix config for new hyprland versions
This commit is contained in:
@@ -22,7 +22,8 @@ export default ({
|
||||
if (currentName === name) {
|
||||
self.toggleClassName(hideClassName, !visible);
|
||||
}
|
||||
}).keybind("Escape", () => App.closeWindow(name))
|
||||
}).keybind("Escape", () => closeEverything());
|
||||
|
||||
if (showClassName !== "" && hideClassName !== "")
|
||||
self.className = `${showClassName} ${hideClassName}`;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user