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