Compare commits
54
Commits
v0.2.3
..
02e7191e1e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
02e7191e1e | ||
|
|
7794bb14ff | ||
|
|
f70a4b4490 | ||
|
|
8b3ba56751 | ||
|
|
b54c9302eb | ||
|
|
5dd43a681e | ||
|
|
6690eaf007 | ||
|
|
a2aaaf8fc3 | ||
|
|
e5c539e164 | ||
|
|
8e4a3e35f2 | ||
|
|
805762625c | ||
|
|
7aecfe2514 | ||
|
|
b75733170e | ||
|
|
43fb4685de | ||
|
|
9ce72590ab | ||
|
|
d4783ed997 | ||
|
|
8694507ded | ||
|
|
89777ff859 | ||
|
|
85afbc12ed | ||
|
|
db701fe8d6 | ||
|
|
9ca98741fd | ||
|
|
ebfef91708 | ||
|
|
b28746ac41 | ||
|
|
4515e64062 | ||
|
|
689c0428ae | ||
|
|
c915fe2680 | ||
|
|
7afa09bd6a | ||
|
|
f1b1541c22 | ||
|
|
bddf052ed5 | ||
|
|
8cd047ec32 | ||
|
|
1a22e1e0b2 | ||
|
|
1735868f28 | ||
|
|
d6b519c2f5 | ||
|
|
ce0a8e5991 | ||
|
|
ab14b02e51 | ||
|
|
4c3e2aaada | ||
|
|
8fcfdb84e7 | ||
|
|
ec75a27b33 | ||
|
|
b8c8159a56 | ||
|
|
05be57be80 | ||
|
|
0112611687 | ||
|
|
154db74d02 | ||
|
|
f7bff9a788 | ||
|
|
9699fae6de | ||
|
|
fbd723c978 | ||
|
|
9075ebf694 | ||
|
|
158d65bd29 | ||
|
|
a08798290a | ||
|
|
b8f16afb4e | ||
|
|
baa056590a | ||
|
|
f5074bacd3 | ||
|
|
74cccb2591 | ||
|
|
4a7a5a7757 | ||
|
|
dc30e680d8 |
@@ -31,7 +31,7 @@ jobs:
|
|||||||
apt-get install -y libglib2.0-dev glib-networking zip
|
apt-get install -y libglib2.0-dev glib-networking zip
|
||||||
|
|
||||||
- name: Install project dependencies
|
- name: Install project dependencies
|
||||||
run: pnpm install --ignore-scripts
|
run: pnpm install
|
||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: just test
|
run: just test
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
25
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
overrides[@girs/cairo-1.0]="1.0.0-4.0.0-beta.38"
|
|
||||||
overrides[@girs/freetype2-2.0]="2.0.0-4.0.0-beta.38"
|
|
||||||
overrides[@girs/gdk-4.0]="4.0.0-4.0.0-beta.38"
|
|
||||||
overrides[@girs/gdkpixbuf-2.0]="2.0.0-4.0.0-beta.38"
|
|
||||||
overrides[@girs/gio-2.0]="2.86.0-4.0.0-beta.38"
|
|
||||||
overrides[@girs/gjs]="4.0.0-beta.38"
|
|
||||||
overrides[@girs/glib-2.0]="2.86.0-4.0.0-beta.38"
|
|
||||||
overrides[@girs/gmodule-2.0]="2.0.0-4.0.0-beta.38"
|
|
||||||
overrides[@girs/gobject-2.0]="2.86.0-4.0.0-beta.38"
|
|
||||||
overrides[@girs/graphene-1.0]="1.0.0-4.0.0-beta.38"
|
|
||||||
overrides[@girs/gsk-4.0]="4.0.0-4.0.0-beta.38"
|
|
||||||
overrides[@girs/gtk-4.0]="4.20.1-4.0.0-beta.38"
|
|
||||||
overrides[@girs/harfbuzz-0.0]="11.5.0-4.0.0-beta.38"
|
|
||||||
overrides[@girs/mtk-17]="17.0.0-4.0.0-beta.38"
|
|
||||||
overrides[@girs/pango-1.0]="1.57.0-4.0.0-beta.38"
|
|
||||||
overrides[@girs/pangocairo-1.0]="1.0.0-4.0.0-beta.38"
|
|
||||||
enable-pre-post-scripts=false
|
|
||||||
@@ -8,7 +8,7 @@ packages:
|
|||||||
|
|
||||||
build: packages && build-schemas
|
build: packages && build-schemas
|
||||||
rm -rf dist/*
|
rm -rf dist/*
|
||||||
pnpm run build
|
pnpm exec tsc
|
||||||
cp metadata.json dist/
|
cp metadata.json dist/
|
||||||
cp stylesheet.css dist/
|
cp stylesheet.css dist/
|
||||||
mkdir -p dist/schemas
|
mkdir -p dist/schemas
|
||||||
@@ -47,12 +47,6 @@ test-coverage:
|
|||||||
ci-local:
|
ci-local:
|
||||||
act -W .gitea/workflows/build.yaml
|
act -W .gitea/workflows/build.yaml
|
||||||
|
|
||||||
lint:
|
|
||||||
pnpm run lint
|
|
||||||
|
|
||||||
clean:
|
|
||||||
pnpm run clean
|
|
||||||
|
|
||||||
#pack: build
|
#pack: build
|
||||||
# gnome-extensions pack dist \
|
# gnome-extensions pack dist \
|
||||||
# --force \
|
# --force \
|
||||||
|
|||||||
+1
-2
@@ -5,8 +5,7 @@
|
|||||||
"settings-schema": "org.gnome.shell.extensions.aerospike",
|
"settings-schema": "org.gnome.shell.extensions.aerospike",
|
||||||
"shell-version": [
|
"shell-version": [
|
||||||
"48",
|
"48",
|
||||||
"49",
|
"49"
|
||||||
"50"
|
|
||||||
],
|
],
|
||||||
"gettext-domain": "aerospike@lucaso.io",
|
"gettext-domain": "aerospike@lucaso.io",
|
||||||
"url": "https://gitea.chaosdev.gay/lucasoskorep/aerospike@lucaso.io"
|
"url": "https://gitea.chaosdev.gay/lucasoskorep/aerospike@lucaso.io"
|
||||||
|
|||||||
+21
-4
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "aerospike",
|
"name": "aerospike",
|
||||||
"version": "0.2.3",
|
"version": "0.2.1",
|
||||||
"description": "Simple, Opinionated Tiling Window Manager for Gnome written in Typescript",
|
"description": "Simple, Opinionated Tiling Window Manager for Gnome written in Typescript",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
@@ -16,9 +16,6 @@
|
|||||||
"homepage": "https://github.com/lucasoskorep/aerospike-gnome/#readme",
|
"homepage": "https://github.com/lucasoskorep/aerospike-gnome/#readme",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
|
||||||
"clean": "rm -rf dist/*",
|
|
||||||
"lint": "eslint .",
|
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:watch": "jest --watch",
|
"test:watch": "jest --watch",
|
||||||
"test:coverage": "jest --coverage"
|
"test:coverage": "jest --coverage"
|
||||||
@@ -36,5 +33,25 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@girs/mtk-17": "17.0.0-4.0.0-beta.38"
|
"@girs/mtk-17": "17.0.0-4.0.0-beta.38"
|
||||||
|
},
|
||||||
|
"pnpm": {
|
||||||
|
"overrides": {
|
||||||
|
"@girs/cairo-1.0": "1.0.0-4.0.0-beta.38",
|
||||||
|
"@girs/freetype2-2.0": "2.0.0-4.0.0-beta.38",
|
||||||
|
"@girs/gdk-4.0": "4.0.0-4.0.0-beta.38",
|
||||||
|
"@girs/gdkpixbuf-2.0": "2.0.0-4.0.0-beta.38",
|
||||||
|
"@girs/gio-2.0": "2.86.0-4.0.0-beta.38",
|
||||||
|
"@girs/gjs": "4.0.0-beta.38",
|
||||||
|
"@girs/glib-2.0": "2.86.0-4.0.0-beta.38",
|
||||||
|
"@girs/gmodule-2.0": "2.0.0-4.0.0-beta.38",
|
||||||
|
"@girs/gobject-2.0": "2.86.0-4.0.0-beta.38",
|
||||||
|
"@girs/graphene-1.0": "1.0.0-4.0.0-beta.38",
|
||||||
|
"@girs/gsk-4.0": "4.0.0-4.0.0-beta.38",
|
||||||
|
"@girs/gtk-4.0": "4.20.1-4.0.0-beta.38",
|
||||||
|
"@girs/harfbuzz-0.0": "11.5.0-4.0.0-beta.38",
|
||||||
|
"@girs/mtk-17": "17.0.0-4.0.0-beta.38",
|
||||||
|
"@girs/pango-1.0": "1.57.0-4.0.0-beta.38",
|
||||||
|
"@girs/pangocairo-1.0": "1.0.0-4.0.0-beta.38"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+26
@@ -4,6 +4,24 @@ settings:
|
|||||||
autoInstallPeers: true
|
autoInstallPeers: true
|
||||||
excludeLinksFromLockfile: false
|
excludeLinksFromLockfile: false
|
||||||
|
|
||||||
|
overrides:
|
||||||
|
'@girs/cairo-1.0': 1.0.0-4.0.0-beta.38
|
||||||
|
'@girs/freetype2-2.0': 2.0.0-4.0.0-beta.38
|
||||||
|
'@girs/gdk-4.0': 4.0.0-4.0.0-beta.38
|
||||||
|
'@girs/gdkpixbuf-2.0': 2.0.0-4.0.0-beta.38
|
||||||
|
'@girs/gio-2.0': 2.86.0-4.0.0-beta.38
|
||||||
|
'@girs/gjs': 4.0.0-beta.38
|
||||||
|
'@girs/glib-2.0': 2.86.0-4.0.0-beta.38
|
||||||
|
'@girs/gmodule-2.0': 2.0.0-4.0.0-beta.38
|
||||||
|
'@girs/gobject-2.0': 2.86.0-4.0.0-beta.38
|
||||||
|
'@girs/graphene-1.0': 1.0.0-4.0.0-beta.38
|
||||||
|
'@girs/gsk-4.0': 4.0.0-4.0.0-beta.38
|
||||||
|
'@girs/gtk-4.0': 4.20.1-4.0.0-beta.38
|
||||||
|
'@girs/harfbuzz-0.0': 11.5.0-4.0.0-beta.38
|
||||||
|
'@girs/mtk-17': 17.0.0-4.0.0-beta.38
|
||||||
|
'@girs/pango-1.0': 1.57.0-4.0.0-beta.38
|
||||||
|
'@girs/pangocairo-1.0': 1.0.0-4.0.0-beta.38
|
||||||
|
|
||||||
importers:
|
importers:
|
||||||
|
|
||||||
.:
|
.:
|
||||||
@@ -635,41 +653,49 @@ packages:
|
|||||||
resolution: {integrity: sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==}
|
resolution: {integrity: sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [glibc]
|
||||||
|
|
||||||
'@unrs/resolver-binding-linux-arm64-musl@1.11.1':
|
'@unrs/resolver-binding-linux-arm64-musl@1.11.1':
|
||||||
resolution: {integrity: sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==}
|
resolution: {integrity: sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [musl]
|
||||||
|
|
||||||
'@unrs/resolver-binding-linux-ppc64-gnu@1.11.1':
|
'@unrs/resolver-binding-linux-ppc64-gnu@1.11.1':
|
||||||
resolution: {integrity: sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==}
|
resolution: {integrity: sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==}
|
||||||
cpu: [ppc64]
|
cpu: [ppc64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [glibc]
|
||||||
|
|
||||||
'@unrs/resolver-binding-linux-riscv64-gnu@1.11.1':
|
'@unrs/resolver-binding-linux-riscv64-gnu@1.11.1':
|
||||||
resolution: {integrity: sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==}
|
resolution: {integrity: sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==}
|
||||||
cpu: [riscv64]
|
cpu: [riscv64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [glibc]
|
||||||
|
|
||||||
'@unrs/resolver-binding-linux-riscv64-musl@1.11.1':
|
'@unrs/resolver-binding-linux-riscv64-musl@1.11.1':
|
||||||
resolution: {integrity: sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==}
|
resolution: {integrity: sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==}
|
||||||
cpu: [riscv64]
|
cpu: [riscv64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [musl]
|
||||||
|
|
||||||
'@unrs/resolver-binding-linux-s390x-gnu@1.11.1':
|
'@unrs/resolver-binding-linux-s390x-gnu@1.11.1':
|
||||||
resolution: {integrity: sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==}
|
resolution: {integrity: sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==}
|
||||||
cpu: [s390x]
|
cpu: [s390x]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [glibc]
|
||||||
|
|
||||||
'@unrs/resolver-binding-linux-x64-gnu@1.11.1':
|
'@unrs/resolver-binding-linux-x64-gnu@1.11.1':
|
||||||
resolution: {integrity: sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==}
|
resolution: {integrity: sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [glibc]
|
||||||
|
|
||||||
'@unrs/resolver-binding-linux-x64-musl@1.11.1':
|
'@unrs/resolver-binding-linux-x64-musl@1.11.1':
|
||||||
resolution: {integrity: sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==}
|
resolution: {integrity: sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [musl]
|
||||||
|
|
||||||
'@unrs/resolver-binding-wasm32-wasi@1.11.1':
|
'@unrs/resolver-binding-wasm32-wasi@1.11.1':
|
||||||
resolution: {integrity: sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==}
|
resolution: {integrity: sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==}
|
||||||
|
|||||||
@@ -47,10 +47,6 @@ export class WindowWrapper {
|
|||||||
return this._window.get_frame_rect();
|
return this._window.get_frame_rect();
|
||||||
}
|
}
|
||||||
|
|
||||||
isFullscreen(): boolean {
|
|
||||||
return this._window.is_fullscreen();
|
|
||||||
}
|
|
||||||
|
|
||||||
getTabLabel(): string {
|
getTabLabel(): string {
|
||||||
const rawAppName = this._window.get_wm_class() ?? '';
|
const rawAppName = this._window.get_wm_class() ?? '';
|
||||||
// Strip reverse-domain prefix (e.g. "org.gnome.Nautilus" -> "Nautilus")
|
// Strip reverse-domain prefix (e.g. "org.gnome.Nautilus" -> "Nautilus")
|
||||||
@@ -144,11 +140,6 @@ export class WindowWrapper {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.isFullscreen()) {
|
|
||||||
Logger.info("STOPPED RESIZE BECAUSE WINDOW IS FULLSCREEN");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const actor = this._window.get_compositor_private() as Clutter.Actor | null;
|
const actor = this._window.get_compositor_private() as Clutter.Actor | null;
|
||||||
if (!actor) {
|
if (!actor) {
|
||||||
Logger.log("No actor available, can't resize safely yet");
|
Logger.log("No actor available, can't resize safely yet");
|
||||||
|
|||||||
Reference in New Issue
Block a user