Merge branch 'caelestia-dots:main' into main

This commit is contained in:
ATDMA 2025-11-24 16:55:45 +00:00 committed by GitHub
commit 70496b402d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 28 additions and 15 deletions

View file

@ -399,6 +399,9 @@ default, you must create it manually.
"icon": "sports_esports" "icon": "sports_esports"
} }
] ]
},
"activeWindow": {
"inverted": false
} }
}, },
"border": { "border": {

View file

@ -7,6 +7,7 @@ JsonObject {
property ScrollActions scrollActions: ScrollActions {} property ScrollActions scrollActions: ScrollActions {}
property Popouts popouts: Popouts {} property Popouts popouts: Popouts {}
property Workspaces workspaces: Workspaces {} property Workspaces workspaces: Workspaces {}
property ActiveWindow activeWindow: ActiveWindow {}
property Tray tray: Tray {} property Tray tray: Tray {}
property Status status: Status {} property Status status: Status {}
property Clock clock: Clock {} property Clock clock: Clock {}
@ -78,6 +79,10 @@ JsonObject {
property list<var> specialWorkspaceIcons: [] property list<var> specialWorkspaceIcons: []
} }
component ActiveWindow: JsonObject {
property bool inverted: false
}
component Tray: JsonObject { component Tray: JsonObject {
property bool background: false property bool background: false
property bool recolour: false property bool recolour: false

20
flake.lock generated
View file

@ -8,11 +8,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1763172111, "lastModified": 1763517499,
"narHash": "sha256-QseFQKZgMq/kbHlrhfaNlwEyQ1H3J+UhnbgpAIEGpvA=", "narHash": "sha256-N5y55DwDNT+0kLFck2sy1+DcnLOZ/N05UEvZ2R5pmWo=",
"owner": "caelestia-dots", "owner": "caelestia-dots",
"repo": "cli", "repo": "cli",
"rev": "d89c438284311e99148ece61054cd6f9bc8e8cb7", "rev": "1cfd405eaa74e66f33e7790c5c6586676f03a395",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -23,11 +23,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1762977756, "lastModified": 1763678758,
"narHash": "sha256-4PqRErxfe+2toFJFgcRKZ0UI9NSIOJa+7RXVtBhy4KE=", "narHash": "sha256-+hBiJ+kG5IoffUOdlANKFflTT5nO3FrrR2CA3178Y5s=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c5ae371f1a6a7fd27823bc500d9390b38c05fa55", "rev": "117cc7f94e8072499b0a7aa4c52084fa4e11cc9b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -44,11 +44,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1763210607, "lastModified": 1763629934,
"narHash": "sha256-gyEL9lw8oSbFbZ323vYUpIhcZLzudACEAQyCTkYh1WM=", "narHash": "sha256-jWz10RbNAyylJbH4cUTLS/CsDjkd8gxfT8OsIgQIgEg=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "0a7dcf30eaf438aa1ec72a9017cdb952df03f005", "rev": "ed036d514b0fdbce03158a0b331305be166f4555",
"revCount": 704, "revCount": 708,
"type": "git", "type": "git",
"url": "https://git.outfoxxed.me/outfoxxed/quickshell" "url": "https://git.outfoxxed.me/outfoxxed/quickshell"
}, },

View file

@ -79,11 +79,16 @@ Item {
color: root.colour color: root.colour
opacity: root.current === this ? 1 : 0 opacity: root.current === this ? 1 : 0
transform: Rotation { transform: [
angle: 90 Translate {
origin.x: text.implicitHeight / 2 x: Config.bar.activeWindow.inverted ? -implicitWidth + text.implicitHeight : 0
origin.y: text.implicitHeight / 2 },
} Rotation {
angle: Config.bar.activeWindow.inverted ? 270 : 90
origin.x: text.implicitHeight / 2
origin.y: text.implicitHeight / 2
}
]
width: implicitHeight width: implicitHeight
height: implicitWidth height: implicitWidth