Compare commits

..

No commits in common. "main" and "v1.0.0" have entirely different histories.

6 changed files with 16 additions and 18 deletions

2
.gitignore vendored
View file

@ -1,3 +1,3 @@
.direnv/ .direnv/
node_modules/ node_modules/
fullscreen-rotate@henryhiles.com.zip auto-rotate@henryhiles.com.zip

View file

@ -1,3 +1 @@
An extension to automatically rotate the screen when a window is fullscreened, useful for GNOME Shell Mobile. An extension to automatically rotate the screen when a window is fullscreened, useful for GNOME Shell Mobile.
Grab the zip from [the latest release](https://git.federated.nexus/Henry-Hiles/fullscreen-rotate/releases/latest), and install with `gnome-extensions install -f <path/to/zip>`. Enjoy!

View file

@ -14,7 +14,7 @@
system, system,
... ...
}: let }: let
name = "fullscreen-rotate"; name = "auto-rotate";
uuid = "${name}@henryhiles.com"; uuid = "${name}@henryhiles.com";
extDir = "share/gnome-shell/extensions/${uuid}"; extDir = "share/gnome-shell/extensions/${uuid}";
in { in {
@ -26,11 +26,11 @@
packages.default = pkgs.buildNpmPackage (finalAttrs: { packages.default = pkgs.buildNpmPackage (finalAttrs: {
pname = name; pname = name;
version = "1.0.1"; version = "1.0.0";
src = ./.; src = ./.;
nativeBuildInputs = with pkgs; [typescript]; nativeBuildInputs = with pkgs; [typescript];
npmDepsHash = "sha256-t2WNmLP6ip1sraRgQRsETuarw3D2bDVMfuhzQtpR/z4="; npmDepsHash = "sha256-YlKPinb6wmpo6kL/lL7DQnhVmnR9zJaIOKGzBg9kvRM=";
buildPhase = '' buildPhase = ''
tsc tsc
@ -43,7 +43,7 @@
''; '';
meta = { meta = {
homepage = "https://git.federated.nexus/Henry-Hiles/fullscreen-rotate"; homepage = "https://git.federated.nexus/Henry-Hiles/auto-rotate";
description = "An extension to automatically rotate the screen when a window is fullscreened, useful for GNOME Shell Mobile."; description = "An extension to automatically rotate the screen when a window is fullscreened, useful for GNOME Shell Mobile.";
license = lib.licenses.gpl3Only; license = lib.licenses.gpl3Only;
maintainers = [lib.maintainers.quadradical]; maintainers = [lib.maintainers.quadradical];

View file

@ -1,8 +1,8 @@
{ {
"name": "Fullscreen Rotate", "name": "Auto Rotate",
"description": "An extension to automatically rotate the screen when a window is fullscreened, useful for GNOME Shell Mobile.", "description": "An extension to automatically rotate the screen when a window is fullscreened, useful for GNOME Shell Mobile.",
"uuid": "fullscreen-rotate@henryhiles.com", "uuid": "auto-rotate@henryhiles.com",
"url": "https://git.federated.nexus/Henry-Hiles/fullscreen-rotate", "url": "https://git.federated.nexus/Henry-Hiles/auto-rotate",
"settings-schema": "org.gnome.shell.extensions.fullscreen-rotate", "settings-schema": "org.gnome.shell.extensions.auto-rotate",
"shell-version": ["48", "49"] "shell-version": ["48", "49"]
} }

4
package-lock.json generated
View file

@ -1,11 +1,11 @@
{ {
"name": "fullscreen-rotate", "name": "auto-rotate",
"version": "1.0.0", "version": "1.0.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "fullscreen-rotate", "name": "auto-rotate",
"version": "1.0.0", "version": "1.0.0",
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"dependencies": { "dependencies": {

View file

@ -1,19 +1,19 @@
{ {
"name": "fullscreen-rotate", "name": "auto-rotate",
"version": "1.0.1", "version": "1.0.0",
"description": "An extension to automatically rotate the screen when a window is fullscreened, useful for GNOME Shell Mobile.", "description": "An extension to automatically rotate the screen when a window is fullscreened, useful for GNOME Shell Mobile.",
"type": "module", "type": "module",
"private": true, "private": true,
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://git.federated.nexus/Henry-Hiles/fullscreen-rotate.git" "url": "git+https://git.federated.nexus/Henry-Hiles/auto-rotate.git"
}, },
"author": "Henry Hiles", "author": "Henry Hiles",
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"bugs": { "bugs": {
"url": "https://git.federated.nexus/Henry-Hiles/fullscreen-rotate/issues" "url": "https://git.federated.nexus/Henry-Hiles/auto-rotate/issues"
}, },
"homepage": "https://git.federated.nexus/Henry-Hiles/fullscreen-rotate", "homepage": "https://git.federated.nexus/Henry-Hiles/auto-rotate",
"devDependencies": { "devDependencies": {
"eslint": "^9.33.0", "eslint": "^9.33.0",
"eslint-plugin-jsdoc": "^52.0.4", "eslint-plugin-jsdoc": "^52.0.4",