Compare commits
11 changed files with 15 additions and 47 deletions
|
|
@ -253,8 +253,7 @@ in
|
||||||
description = ''
|
description = ''
|
||||||
Theme overrides written to `$XDG_CONFIG_HOME/nova-shell/theme.json`.
|
Theme overrides written to `$XDG_CONFIG_HOME/nova-shell/theme.json`.
|
||||||
Keys: colors (base00-base0F), fontFamily, iconFontFamily, fontSize,
|
Keys: colors (base00-base0F), fontFamily, iconFontFamily, fontSize,
|
||||||
barOpacity, barHeight, barPadding, groupSpacing, groupPadding, moduleSpacing,
|
barOpacity, barHeight, barPadding, groupSpacing, groupPadding, moduleSpacing, radius, screenRadius.
|
||||||
radius, screenRadius, reducedMotion.
|
|
||||||
Automatically populated from stylix when it is available.
|
Automatically populated from stylix when it is available.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ Column {
|
||||||
// Pulse animation while pending
|
// Pulse animation while pending
|
||||||
SequentialAnimation on opacity {
|
SequentialAnimation on opacity {
|
||||||
loops: Animation.Infinite
|
loops: Animation.Infinite
|
||||||
running: entry._pending && !S.Theme.reducedMotion
|
running: entry._pending
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
to: 0.5
|
to: 0.5
|
||||||
duration: 400
|
duration: 400
|
||||||
|
|
|
||||||
|
|
@ -371,7 +371,7 @@ WlSessionLockSurface {
|
||||||
SequentialAnimation {
|
SequentialAnimation {
|
||||||
id: _heartbeatAnim
|
id: _heartbeatAnim
|
||||||
loops: Animation.Infinite
|
loops: Animation.Infinite
|
||||||
running: root._threatEnabled && root.auth.failCount >= 3 && root.lock.secure && !S.Theme.reducedMotion
|
running: root._threatEnabled && root.auth.failCount >= 3 && root.lock.secure
|
||||||
|
|
||||||
// Systole (sharp spike)
|
// Systole (sharp spike)
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@ Item {
|
||||||
|
|
||||||
property real _pulse: 0.08
|
property real _pulse: 0.08
|
||||||
SequentialAnimation on _pulse {
|
SequentialAnimation on _pulse {
|
||||||
running: root._hovered && !S.Theme.reducedMotion
|
running: root._hovered
|
||||||
loops: Animation.Infinite
|
loops: Animation.Infinite
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
to: 0.22
|
to: 0.22
|
||||||
|
|
|
||||||
|
|
@ -133,12 +133,7 @@ PanelWindow {
|
||||||
}
|
}
|
||||||
_winVisible = true;
|
_winVisible = true;
|
||||||
hideAnim.stop();
|
hideAnim.stop();
|
||||||
if (S.Theme.reducedMotion) {
|
showAnim.start();
|
||||||
panelContainer.opacity = 1;
|
|
||||||
panelContainer.y = 0;
|
|
||||||
} else {
|
|
||||||
showAnim.start();
|
|
||||||
}
|
|
||||||
_grace = true;
|
_grace = true;
|
||||||
_graceTimer.restart();
|
_graceTimer.restart();
|
||||||
}
|
}
|
||||||
|
|
@ -146,13 +141,7 @@ PanelWindow {
|
||||||
function dismiss() {
|
function dismiss() {
|
||||||
_pinned = false;
|
_pinned = false;
|
||||||
showAnim.stop();
|
showAnim.stop();
|
||||||
if (S.Theme.reducedMotion) {
|
hideAnim.start();
|
||||||
_winVisible = false;
|
|
||||||
if (popupMode)
|
|
||||||
dismissed();
|
|
||||||
} else {
|
|
||||||
hideAnim.start();
|
|
||||||
}
|
|
||||||
_grace = false;
|
_grace = false;
|
||||||
_graceTimer.stop();
|
_graceTimer.stop();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -68,13 +68,7 @@ PanelWindow {
|
||||||
_heightScale = 1;
|
_heightScale = 1;
|
||||||
} else {
|
} else {
|
||||||
popupCol._knownIds[modelData.id] = true;
|
popupCol._knownIds[modelData.id] = true;
|
||||||
if (S.Theme.reducedMotion) {
|
slideIn.start();
|
||||||
opacity = 1;
|
|
||||||
x = 0;
|
|
||||||
_heightScale = 1;
|
|
||||||
} else {
|
|
||||||
slideIn.start();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
_entered = true;
|
_entered = true;
|
||||||
}
|
}
|
||||||
|
|
@ -88,7 +82,7 @@ PanelWindow {
|
||||||
}
|
}
|
||||||
|
|
||||||
Behavior on y {
|
Behavior on y {
|
||||||
enabled: popupItem._entered && !S.Theme.reducedMotion
|
enabled: popupItem._entered
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
duration: 200
|
duration: 200
|
||||||
easing.type: Easing.OutCubic
|
easing.type: Easing.OutCubic
|
||||||
|
|
@ -129,11 +123,7 @@ PanelWindow {
|
||||||
popupItem.modelData.beginDismiss();
|
popupItem.modelData.beginDismiss();
|
||||||
_fullDismiss = !!full;
|
_fullDismiss = !!full;
|
||||||
slideIn.stop();
|
slideIn.stop();
|
||||||
if (S.Theme.reducedMotion) {
|
slideOut.start();
|
||||||
full ? S.NotifService.dismiss(modelData.id) : S.NotifService.dismissPopup(modelData.id);
|
|
||||||
} else {
|
|
||||||
slideOut.start();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SequentialAnimation {
|
SequentialAnimation {
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ M.PinnableSection {
|
||||||
Connections {
|
Connections {
|
||||||
target: S.NotifService
|
target: S.NotifService
|
||||||
function onCountChanged() {
|
function onCountChanged() {
|
||||||
if (S.NotifService.count > 0 && !S.Theme.reducedMotion)
|
if (S.NotifService.count > 0)
|
||||||
popAnim.start();
|
popAnim.start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,8 @@
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import "../services" as S
|
|
||||||
|
|
||||||
SequentialAnimation {
|
SequentialAnimation {
|
||||||
id: root
|
id: root
|
||||||
loops: S.Theme.reducedMotion ? 1 : Animation.Infinite
|
loops: Animation.Infinite
|
||||||
|
|
||||||
property real minOpacity: 0.4
|
property real minOpacity: 0.4
|
||||||
property int halfDuration: 400
|
property int halfDuration: 400
|
||||||
|
|
|
||||||
|
|
@ -19,19 +19,10 @@ PanelWindow {
|
||||||
if (_shown) {
|
if (_shown) {
|
||||||
_winVisible = true;
|
_winVisible = true;
|
||||||
hideAnim.stop();
|
hideAnim.stop();
|
||||||
if (S.Theme.reducedMotion) {
|
showAnim.start();
|
||||||
content.opacity = 1;
|
|
||||||
content.y = 0;
|
|
||||||
} else {
|
|
||||||
showAnim.start();
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
showAnim.stop();
|
showAnim.stop();
|
||||||
if (S.Theme.reducedMotion) {
|
hideAnim.start();
|
||||||
_winVisible = false;
|
|
||||||
} else {
|
|
||||||
hideAnim.start();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ import "../services" as S
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: root
|
id: root
|
||||||
spacing: S.Theme.moduleSpacing + 2
|
spacing: S.Theme.moduleSpacing + 2
|
||||||
visible: S.Modules.tray.enable && SystemTray.items.count > 0
|
visible: S.Modules.tray.enable && SystemTray.items.length > 0
|
||||||
|
|
||||||
required property var bar
|
required property var bar
|
||||||
property var _activeMenu: null
|
property var _activeMenu: null
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ shell/modules/Tooltip.qml: Type PanelWindow is not creatable. [uncreatable-type]
|
||||||
shell/modules/Tooltip.qml: Type margins is used but it is not resolved [unresolved-type]
|
shell/modules/Tooltip.qml: Type margins is used but it is not resolved [unresolved-type]
|
||||||
shell/modules/Tooltip.qml: unknown grouped property scope margins. [unqualified]
|
shell/modules/Tooltip.qml: unknown grouped property scope margins. [unqualified]
|
||||||
shell/modules/TrayMenu.qml: Unqualified access [unqualified]
|
shell/modules/TrayMenu.qml: Unqualified access [unqualified]
|
||||||
shell/modules/TrayModule.qml: Member "count" not found on type "UntypedObjectModel" [missing-property]
|
shell/modules/TrayModule.qml: Member "length" not found on type "UntypedObjectModel" [missing-property]
|
||||||
shell/modules/TrayModule.qml: Member "screen" not found on type "QObject" [missing-property]
|
shell/modules/TrayModule.qml: Member "screen" not found on type "QObject" [missing-property]
|
||||||
shell/modules/TrayModule.qml: Type "qs::dbus::dbusmenu::DBusMenuHandle" of property "menu" not found. This is likely due to a missing dependency entry or a type not being exposed declaratively. [unresolved-type]
|
shell/modules/TrayModule.qml: Type "qs::dbus::dbusmenu::DBusMenuHandle" of property "menu" not found. This is likely due to a missing dependency entry or a type not being exposed declaratively. [unresolved-type]
|
||||||
shell/modules/TrayModule.qml: Unqualified access [unqualified]
|
shell/modules/TrayModule.qml: Unqualified access [unqualified]
|
||||||
|
|
|
||||||
Reference in a new issue