From 8cd2fa2c0314227b6a16a0a521fa387f1bf9e096 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 23 Nov 2025 01:30:25 +0000 Subject: [CI] chore: update flake --- flake.lock | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index 0fe9b0a..fa6c62d 100644 --- a/flake.lock +++ b/flake.lock @@ -8,11 +8,11 @@ ] }, "locked": { - "lastModified": 1763172111, - "narHash": "sha256-QseFQKZgMq/kbHlrhfaNlwEyQ1H3J+UhnbgpAIEGpvA=", + "lastModified": 1763517499, + "narHash": "sha256-N5y55DwDNT+0kLFck2sy1+DcnLOZ/N05UEvZ2R5pmWo=", "owner": "caelestia-dots", "repo": "cli", - "rev": "d89c438284311e99148ece61054cd6f9bc8e8cb7", + "rev": "1cfd405eaa74e66f33e7790c5c6586676f03a395", "type": "github" }, "original": { @@ -23,11 +23,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1762977756, - "narHash": "sha256-4PqRErxfe+2toFJFgcRKZ0UI9NSIOJa+7RXVtBhy4KE=", + "lastModified": 1763678758, + "narHash": "sha256-+hBiJ+kG5IoffUOdlANKFflTT5nO3FrrR2CA3178Y5s=", "owner": "nixos", "repo": "nixpkgs", - "rev": "c5ae371f1a6a7fd27823bc500d9390b38c05fa55", + "rev": "117cc7f94e8072499b0a7aa4c52084fa4e11cc9b", "type": "github" }, "original": { @@ -44,11 +44,11 @@ ] }, "locked": { - "lastModified": 1763210607, - "narHash": "sha256-gyEL9lw8oSbFbZ323vYUpIhcZLzudACEAQyCTkYh1WM=", + "lastModified": 1763629934, + "narHash": "sha256-jWz10RbNAyylJbH4cUTLS/CsDjkd8gxfT8OsIgQIgEg=", "ref": "refs/heads/master", - "rev": "0a7dcf30eaf438aa1ec72a9017cdb952df03f005", - "revCount": 704, + "rev": "ed036d514b0fdbce03158a0b331305be166f4555", + "revCount": 708, "type": "git", "url": "https://git.outfoxxed.me/outfoxxed/quickshell" }, -- cgit v1.2.3-freya From 11282f6abe32f9671dc0a7ce49d64bc4f2d79e6b Mon Sep 17 00:00:00 2001 From: Sven Fischer Date: Mon, 24 Nov 2025 09:52:09 +0100 Subject: bar/activewindow: add option to invert rotate (#922) * feat(activeWindow): Add rotation option to rotate counter-clockwise * feat(activeWindow): Change rotation to inverted boolean option * feat(activeWindow): Do not expose inverted property --- README.md | 3 +++ config/BarConfig.qml | 5 +++++ modules/bar/components/ActiveWindow.qml | 15 ++++++++++----- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a2322eb..1647b81 100644 --- a/README.md +++ b/README.md @@ -399,6 +399,9 @@ default, you must create it manually. "icon": "sports_esports" } ] + }, + "activeWindow": { + "inverted": false } }, "border": { diff --git a/config/BarConfig.qml b/config/BarConfig.qml index 34819b1..daa2b34 100644 --- a/config/BarConfig.qml +++ b/config/BarConfig.qml @@ -7,6 +7,7 @@ JsonObject { property ScrollActions scrollActions: ScrollActions {} property Popouts popouts: Popouts {} property Workspaces workspaces: Workspaces {} + property ActiveWindow activeWindow: ActiveWindow {} property Tray tray: Tray {} property Status status: Status {} property Clock clock: Clock {} @@ -78,6 +79,10 @@ JsonObject { property list specialWorkspaceIcons: [] } + component ActiveWindow: JsonObject { + property bool inverted: false + } + component Tray: JsonObject { property bool background: false property bool recolour: false diff --git a/modules/bar/components/ActiveWindow.qml b/modules/bar/components/ActiveWindow.qml index 67e7c69..0c9b21e 100644 --- a/modules/bar/components/ActiveWindow.qml +++ b/modules/bar/components/ActiveWindow.qml @@ -79,11 +79,16 @@ Item { color: root.colour opacity: root.current === this ? 1 : 0 - transform: Rotation { - angle: 90 - origin.x: text.implicitHeight / 2 - origin.y: text.implicitHeight / 2 - } + transform: [ + Translate { + x: Config.bar.activeWindow.inverted ? -implicitWidth + text.implicitHeight : 0 + }, + Rotation { + angle: Config.bar.activeWindow.inverted ? 270 : 90 + origin.x: text.implicitHeight / 2 + origin.y: text.implicitHeight / 2 + } + ] width: implicitHeight height: implicitWidth -- cgit v1.2.3-freya