Skip to content

Commit

Permalink
fix typo & format json
Browse files Browse the repository at this point in the history
  • Loading branch information
klangman authored and rcalixte committed Nov 20, 2024
1 parent f8991b8 commit 2022011
Show file tree
Hide file tree
Showing 2 changed files with 100 additions and 101 deletions.
8 changes: 4 additions & 4 deletions DesktopCube@yare/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ There are a number of ways to switch the current workspace, all of following wil

When switching the current workspace using Expo ("workspace selection screen" Default hotkey: Ctrl + Alt + Up_Arrow_Key) by clicking on a different workspace, the Desktop Cube effect will not be used. Since the Expo is not really a "face" on the cube it would break the Cube concept a bit, therefore I left it as is since I felt it was more logical that way.

If you know of other methods of switching the workspace where the Desktop Cube effect is not currently used, please let me know so I can see if I can find a way to enable the Desktop Cube for that path as well.
If you know of other methods of switching the workspace where the Desktop Cube effect is not currently used, please let me know so I can see if I can find a way to enable the Desktop Cube for that path as well.

## Known Issues

1. When using Desktop Cube with two or more Monitors attached, the Cube will be placed in the middle of the overall desktop which will likely appear spit between the monitors, kind of ruining the effect.

At some point I plan on adding options to control how the Cube is displayed on multi-monitor setups, but it might be a while before I find the time to work on that.

2. If you enable the "Include Panels" option in the Desktop Cube configuration, the panels will disappear while the cube is turning and then reappear when it is done. This is far from idea, so I recommend that you leave this option disabled so that the panels remain hidden only reappearing after returning to the normal desktop.
2. If you enable the "Include Panels" option in the Desktop Cube configuration, the panels will disappear while the cube is turning and then reappear when it is done. This is far from ideal, so I recommend that you leave this option disabled so that the panels remain hidden, only reappearing after returning to the normal desktop.

## Installation

Expand All @@ -53,4 +53,4 @@ If you know of other methods of switching the workspace where the Desktop Cube e

Please leave a comment here on cinnamon-spices.linuxmint.com

To report a bug or submit a feature request, open an issue here: [GitHub Spices Repo](https://github.com/linuxmint/cinnamon-spices-extensions/issues/new/choose)
To report a bug or submit a feature request, open an issue here: [GitHub Spices Repo](https://github.com/linuxmint/cinnamon-spices-extensions/issues/new/choose)
193 changes: 96 additions & 97 deletions DesktopCube@yare/files/DesktopCube@yare/5.4/settings-schema.json
Original file line number Diff line number Diff line change
@@ -1,100 +1,99 @@
{
"header1" : {
"type" : "header",
"description" : "General"
},
"animationTimeSec" : {
"type" : "scale",
"description" : "Animation duration (seconds)",
"min" : 0.1,
"max" : 4.0,
"default": 0.95,
"step" : 0.05
},
"pullawayPercent" : {
"type" : "scale",
"description" : "Cube size (percent of screen size)",
"min" : 33,
"max" : 100,
"default" : 90,
"step" : 1
},
"includePanels" : {
"type" : "checkbox",
"description" : "Include Panels",
"default" : false
},
"patchmoveToWorkspace" : {
"type" : "checkbox",
"description" : "Use Cube effect with the Workspace Switcher applet",
"tooltip": "Override the moveToWorkspace() API so that the Cube effect is used by the Workspace Switcher Applet when changing the current workspace",
"default" : true
},
"patchActivateWindow" : {
"type" : "checkbox",
"description" : "Use Cube effect when changing focus causes a workspace switch",
"tooltip": "Override the activateWindow() API so that when a window on another workspace is given the focus, the Cube effect is used to change the current workspace",
"default" : true
},
"sep1": {
"type": "separator"
},
"header2" : {
"type" : "header",
"description" : "Effect Easing"
},
"newScaleEffect": {
"type": "combobox",
"description": "Scale easing",
"default": "Quad",
"options": {
"Back": "Back",
"Bounce": "Bounce",
"Circ": "Circ",
"Cubic": "Cubic",
"Elastic": "Elastic",
"Expo": "Expo",
"Sine": "Sine",
"Quad": "Quad",
"Quart": "Quart",
"Quint": "Quint"
"header1": {
"type": "header",
"description": "General"
},
"animationTimeSec": {
"type": "scale",
"description": "Animation duration (seconds)",
"min": 0.1,
"max": 4.0,
"default": 0.95,
"step": 0.05
},
"pullawayPercent": {
"type": "scale",
"description": "Cube size (percent of screen size)",
"min": 33,
"max": 100,
"default": 90,
"step": 1
},
"includePanels": {
"type": "checkbox",
"description": "Include Panels",
"default": false
},
"patchmoveToWorkspace": {
"type": "checkbox",
"description": "Use Cube effect with the Workspace Switcher applet",
"tooltip": "Override the moveToWorkspace() API so that the Cube effect is used by the Workspace Switcher Applet when changing the current workspace",
"default": true
},
"patchActivateWindow": {
"type": "checkbox",
"description": "Use Cube effect when changing focus causes a workspace switch",
"tooltip": "Override the activateWindow() API so that when a window on another workspace is given the focus, the Cube effect is used to change the current workspace",
"default": true
},
"sep1": {
"type": "separator"
},
"header2": {
"type": "header",
"description": "Effect Easing"
},
"newScaleEffect": {
"type": "combobox",
"description": "Scale easing",
"default": "Quad",
"options": {
"Back": "Back",
"Bounce": "Bounce",
"Circ": "Circ",
"Cubic": "Cubic",
"Elastic": "Elastic",
"Expo": "Expo",
"Sine": "Sine",
"Quad": "Quad",
"Quart": "Quart",
"Quint": "Quint"
}
},
"newRotateEffect": {
"type": "combobox",
"description": "Rotate easing",
"default": "Quad",
"options": {
"Back": "Back",
"Bounce": "Bounce",
"Circ": "Circ",
"Cubic": "Cubic",
"Elastic": "Elastic",
"Expo": "Expo",
"Sine": "Sine",
"Quad": "Quad",
"Quart": "Quart",
"Quint": "Quint"
}
},
"easing_btn": {
"type": "button",
"description": "Open easing information website",
"callback": "on_btn_cs_easing_pressed"
},
"header3": {
"type": "header",
"description": "System Settings"
},
"workspaces_btn": {
"type": "button",
"description": "Open Cinnamon Settings to manage Workspaces",
"callback": "on_btn_cs_workspaces_pressed"
},
"hotkeys_btn": {
"type": "button",
"description": "Open Cinnamon Keyboard Settings to manage Workspace hotkeys",
"callback": "on_btn_cs_keyboard_pressed"
}
},
"newRotateEffect": {
"type": "combobox",
"description": "Rotate easing",
"default": "Quad",
"options": {
"Back": "Back",
"Bounce": "Bounce",
"Circ": "Circ",
"Cubic": "Cubic",
"Elastic": "Elastic",
"Expo": "Expo",
"Sine": "Sine",
"Quad": "Quad",
"Quart": "Quart",
"Quint": "Quint"
}
},
"easing_btn": {
"type": "button",
"description": "Open easing information website",
"callback": "on_btn_cs_easing_pressed"
},

"header3": {
"type" : "header",
"description" : "System Settings"
},
"workspaces_btn": {
"type": "button",
"description": "Open Cinnamon Settings to manage Workspaces",
"callback": "on_btn_cs_workspaces_pressed"
},
"hotkeys_btn": {
"type": "button",
"description": "Open Cinnamon Keyboard Settings to manage Workspace hotkeys",
"callback": "on_btn_cs_keyboard_pressed"
}
}

0 comments on commit 2022011

Please sign in to comment.