forked from Shinonome/dots-hyprland
ags: update
This commit is contained in:
@@ -71,7 +71,7 @@ const clickOutsideToClose = Widget.EventBox({
|
|||||||
export default () => Widget.Window({
|
export default () => Widget.Window({
|
||||||
name: 'cheatsheet',
|
name: 'cheatsheet',
|
||||||
exclusivity: 'ignore',
|
exclusivity: 'ignore',
|
||||||
focusable: true,
|
keymode: 'exclusive',
|
||||||
popup: true,
|
popup: true,
|
||||||
visible: false,
|
visible: false,
|
||||||
child: Widget.Box({
|
child: Widget.Box({
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { SearchAndWindows } from "./windowcontent.js";
|
|||||||
export default () => Widget.Window({
|
export default () => Widget.Window({
|
||||||
name: 'overview',
|
name: 'overview',
|
||||||
exclusivity: 'ignore',
|
exclusivity: 'ignore',
|
||||||
focusable: true,
|
keymode: 'exclusive',
|
||||||
popup: true,
|
popup: true,
|
||||||
visible: false,
|
visible: false,
|
||||||
anchor: ['top'],
|
anchor: ['top'],
|
||||||
|
|||||||
@@ -270,18 +270,11 @@ const OverviewRow = ({ startWorkspace, workspaces, windowName = 'overview' }) =>
|
|||||||
},
|
},
|
||||||
setup: (box) => box
|
setup: (box) => box
|
||||||
.hook(overviewTick, (box) => box.attribute.update(box))
|
.hook(overviewTick, (box) => box.attribute.update(box))
|
||||||
// .hook(Hyprland, (box, name, data) => { // idk, does this make it lag occasionally?
|
|
||||||
// console.log(name)
|
|
||||||
// if (["changefloatingmode", "movewindow"].includes(name))
|
|
||||||
// box.attribute.update(box);
|
|
||||||
// }, 'event')
|
|
||||||
.hook(Hyprland, (box, clientAddress) => {
|
.hook(Hyprland, (box, clientAddress) => {
|
||||||
box.attribute.update(box)
|
box.attribute.update(box)
|
||||||
// console.log('close', clientAddress);
|
|
||||||
}, 'client-removed')
|
}, 'client-removed')
|
||||||
.hook(Hyprland, (box, clientAddress) => {
|
.hook(Hyprland, (box, clientAddress) => {
|
||||||
box.attribute.update(box);
|
box.attribute.update(box);
|
||||||
// console.log('open', clientAddress);
|
|
||||||
}, 'client-added')
|
}, 'client-added')
|
||||||
.hook(Hyprland.active.workspace, (box) => box.attribute.update(box))
|
.hook(Hyprland.active.workspace, (box) => box.attribute.update(box))
|
||||||
.hook(App, (box, name, visible) => { // Update on open
|
.hook(App, (box, name, visible) => { // Update on open
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ export default () => Widget.Window({ // On-screen keyboard
|
|||||||
name: 'session',
|
name: 'session',
|
||||||
popup: true,
|
popup: true,
|
||||||
visible: false,
|
visible: false,
|
||||||
focusable: true,
|
keymode: 'exclusive',
|
||||||
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 '../../lib/popupwindow.js';
|
|||||||
import SidebarLeft from "./sideleft.js";
|
import SidebarLeft from "./sideleft.js";
|
||||||
|
|
||||||
export default () => PopupWindow({
|
export default () => PopupWindow({
|
||||||
focusable: true,
|
keymode: 'exclusive',
|
||||||
anchor: ['left', 'top', 'bottom'],
|
anchor: ['left', 'top', 'bottom'],
|
||||||
name: 'sideleft',
|
name: 'sideleft',
|
||||||
layer: 'top',
|
layer: 'top',
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import PopupWindow from '../../lib/popupwindow.js';
|
|||||||
import SidebarRight from "./sideright.js";
|
import SidebarRight from "./sideright.js";
|
||||||
|
|
||||||
export default () => PopupWindow({
|
export default () => PopupWindow({
|
||||||
focusable: true,
|
keymode: 'exclusive',
|
||||||
anchor: ['right', 'top', 'bottom'],
|
anchor: ['right', 'top', 'bottom'],
|
||||||
name: 'sideright',
|
name: 'sideright',
|
||||||
showClassName: 'sideright-show',
|
showClassName: 'sideright-show',
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ install-ags (){
|
|||||||
try git init -b main
|
try git init -b main
|
||||||
try git remote add origin https://github.com/Aylur/ags.git
|
try git remote add origin https://github.com/Aylur/ags.git
|
||||||
x git pull origin main && git submodule update --init --recursive
|
x git pull origin main && git submodule update --init --recursive
|
||||||
x git checkout 1c95191a9ab7bdad6f24ba1971e1e398442f3e2b # "bump version to 1.7.1" - 2024-01-16
|
x git checkout 1becec0013b4c2dfebb079aaf593c0d9e7404828 # "feat(Window): keymode"
|
||||||
x npm install
|
x npm install
|
||||||
x meson setup build
|
x meson setup build
|
||||||
x meson install -C build
|
x meson install -C build
|
||||||
|
|||||||
Reference in New Issue
Block a user