forked from Shinonome/dots-hyprland
fix annoying ass kb focus, i think
This commit is contained in:
@@ -86,7 +86,7 @@ export const sheetContent = ExpandingIconTabContainer({
|
||||
export default (id) => PopupWindow({
|
||||
name: `cheatsheet${id}`,
|
||||
layer: 'overlay',
|
||||
keymode: 'exclusive',
|
||||
keymode: 'on-demand',
|
||||
visible: false,
|
||||
child: Widget.Box({
|
||||
vertical: true,
|
||||
|
||||
@@ -5,7 +5,7 @@ import PopupWindow from '../.widgethacks/popupwindow.js';
|
||||
export default (id = '') => PopupWindow({
|
||||
name: `overview${id}`,
|
||||
// exclusivity: 'ignore',
|
||||
keymode: 'exclusive',
|
||||
keymode: 'on-demand',
|
||||
visible: false,
|
||||
anchor: ['top'],
|
||||
layer: 'overlay',
|
||||
|
||||
@@ -5,7 +5,7 @@ import PopupWindow from '../.widgethacks/popupwindow.js';
|
||||
export default (id = 0) => PopupWindow({ // On-screen keyboard
|
||||
name: `session${id}`,
|
||||
visible: false,
|
||||
keymode: 'exclusive',
|
||||
keymode: 'on-demand',
|
||||
layer: 'overlay',
|
||||
exclusivity: 'ignore',
|
||||
anchor: ['top', 'bottom', 'left', 'right'],
|
||||
|
||||
@@ -2,7 +2,7 @@ import PopupWindow from '../.widgethacks/popupwindow.js';
|
||||
import SidebarLeft from "./sideleft.js";
|
||||
|
||||
export default () => PopupWindow({
|
||||
keymode: 'exclusive',
|
||||
keymode: 'on-demand',
|
||||
anchor: ['left', 'top', 'bottom'],
|
||||
name: 'sideleft',
|
||||
layer: 'overlay',
|
||||
|
||||
@@ -40,7 +40,7 @@ const pinButton = Button({
|
||||
sideleftContent.toggleClassName('sidebar-pinned', self.attribute.enabled);
|
||||
|
||||
if (self.attribute.enabled) {
|
||||
sideleftWindow.exclusivity = 'exclusive';
|
||||
sideleftWindow.exclusivity = 'on-demad';
|
||||
}
|
||||
else {
|
||||
sideleftWindow.exclusivity = 'normal';
|
||||
|
||||
@@ -2,7 +2,7 @@ import PopupWindow from '../.widgethacks/popupwindow.js';
|
||||
import SidebarRight from "./sideright.js";
|
||||
|
||||
export default () => PopupWindow({
|
||||
keymode: 'exclusive',
|
||||
keymode: 'on-demand',
|
||||
anchor: ['right', 'top', 'bottom'],
|
||||
name: 'sideright',
|
||||
layer: 'overlay',
|
||||
|
||||
Reference in New Issue
Block a user