ags: update

This commit is contained in:
end-4 2024-01-29 22:51:15 +07:00
parent c5d8a4a9cf
commit 54492e9fc3
7 changed files with 6 additions and 13 deletions

View file

@ -71,7 +71,7 @@ const clickOutsideToClose = Widget.EventBox({
export default () => Widget.Window({
name: 'cheatsheet',
exclusivity: 'ignore',
focusable: true,
keymode: 'exclusive',
popup: true,
visible: false,
child: Widget.Box({

View file

@ -4,7 +4,7 @@ import { SearchAndWindows } from "./windowcontent.js";
export default () => Widget.Window({
name: 'overview',
exclusivity: 'ignore',
focusable: true,
keymode: 'exclusive',
popup: true,
visible: false,
anchor: ['top'],

View file

@ -270,18 +270,11 @@ const OverviewRow = ({ startWorkspace, workspaces, windowName = 'overview' }) =>
},
setup: (box) => 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) => {
box.attribute.update(box)
// console.log('close', clientAddress);
}, 'client-removed')
.hook(Hyprland, (box, clientAddress) => {
box.attribute.update(box);
// console.log('open', clientAddress);
}, 'client-added')
.hook(Hyprland.active.workspace, (box) => box.attribute.update(box))
.hook(App, (box, name, visible) => { // Update on open

View file

@ -5,7 +5,7 @@ export default () => Widget.Window({ // On-screen keyboard
name: 'session',
popup: true,
visible: false,
focusable: true,
keymode: 'exclusive',
layer: 'overlay',
exclusivity: 'ignore',
// anchor: ['top', 'bottom', 'left', 'right'],

View file

@ -2,7 +2,7 @@ import PopupWindow from '../../lib/popupwindow.js';
import SidebarLeft from "./sideleft.js";
export default () => PopupWindow({
focusable: true,
keymode: 'exclusive',
anchor: ['left', 'top', 'bottom'],
name: 'sideleft',
layer: 'top',

View file

@ -2,7 +2,7 @@ import PopupWindow from '../../lib/popupwindow.js';
import SidebarRight from "./sideright.js";
export default () => PopupWindow({
focusable: true,
keymode: 'exclusive',
anchor: ['right', 'top', 'bottom'],
name: 'sideright',
showClassName: 'sideright-show',

View file

@ -22,7 +22,7 @@ install-ags (){
try git init -b main
try git remote add origin https://github.com/Aylur/ags.git
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 meson setup build
x meson install -C build