🔧 Apparition is not available on GNOME 3.36
This commit is contained in:
+3
-2
@@ -37,9 +37,10 @@ var Apparition = class Apparition {
|
|||||||
|
|
||||||
// ---------------------------------------------------------------------------- metadata
|
// ---------------------------------------------------------------------------- metadata
|
||||||
|
|
||||||
// The effect is available on all GNOME Shell versions supported by this extension.
|
// The effect is not available on GNOME Shell 3.36 as it requires scaling of the window
|
||||||
|
// actor.
|
||||||
static getMinShellVersion() {
|
static getMinShellVersion() {
|
||||||
return [3, 36];
|
return [3, 38];
|
||||||
}
|
}
|
||||||
|
|
||||||
// This will be called in various places where a unique identifier for this effect is
|
// This will be called in various places where a unique identifier for this effect is
|
||||||
|
|||||||
@@ -168,13 +168,16 @@ echo "Entering test mode."
|
|||||||
set_setting "test-mode" true
|
set_setting "test-mode" true
|
||||||
do_in_pod gsettings set org.gnome.mutter center-new-windows true
|
do_in_pod gsettings set org.gnome.mutter center-new-windows true
|
||||||
|
|
||||||
capture_effect "apparition"
|
|
||||||
capture_effect "energize-a"
|
capture_effect "energize-a"
|
||||||
capture_effect "energize-b"
|
capture_effect "energize-b"
|
||||||
capture_effect "fire"
|
capture_effect "fire"
|
||||||
capture_effect "tv"
|
capture_effect "tv"
|
||||||
capture_effect "wisps"
|
capture_effect "wisps"
|
||||||
|
|
||||||
|
if [[ "${FEDORA_VERSION}" -gt 32 ]]; then
|
||||||
|
capture_effect "apparition"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "${FEDORA_VERSION}" -gt 33 ]]; then
|
if [[ "${FEDORA_VERSION}" -gt 33 ]]; then
|
||||||
capture_effect "trex"
|
capture_effect "trex"
|
||||||
capture_effect "broken-glass"
|
capture_effect "broken-glass"
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 654 B |
Binary file not shown.
|
Before Width: | Height: | Size: 654 B |
Binary file not shown.
|
Before Width: | Height: | Size: 654 B |
Binary file not shown.
|
Before Width: | Height: | Size: 654 B |
+4
-1
@@ -197,13 +197,16 @@ echo "Entering test mode."
|
|||||||
set_setting "test-mode" true
|
set_setting "test-mode" true
|
||||||
do_in_pod gsettings set org.gnome.mutter center-new-windows true
|
do_in_pod gsettings set org.gnome.mutter center-new-windows true
|
||||||
|
|
||||||
test_effect "apparition"
|
|
||||||
test_effect "energize-a"
|
test_effect "energize-a"
|
||||||
test_effect "energize-b"
|
test_effect "energize-b"
|
||||||
test_effect "fire"
|
test_effect "fire"
|
||||||
test_effect "tv"
|
test_effect "tv"
|
||||||
test_effect "wisps"
|
test_effect "wisps"
|
||||||
|
|
||||||
|
if [[ "${FEDORA_VERSION}" -gt 32 ]]; then
|
||||||
|
test_effect "apparition"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "${FEDORA_VERSION}" -gt 33 ]]; then
|
if [[ "${FEDORA_VERSION}" -gt 33 ]]; then
|
||||||
test_effect "trex"
|
test_effect "trex"
|
||||||
test_effect "broken-glass"
|
test_effect "broken-glass"
|
||||||
|
|||||||
Reference in New Issue
Block a user