Description
A simple DBus interface to expose workspace switching.
A simple DBus interface to expose workspace switching
Available methods:
org.gnome.Shell.Extensions.SwitchWorkspace.GetCurrentWorkspace
org.gnome.Shell.Extensions.SwitchWorkspace.GetWorkspaceCount
org.gnome.Shell.Extensions.SwitchWorkspace.GetWorkspaceInfo
org.gnome.Shell.Extensions.SwitchWorkspace.SwitchToWorkspace
- Ex.: Get workspace info: gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell/Extensions/SwitchWorkspace --method org.gnome.Shell.Extensions.SwitchWorkspace.GetWorkspaceInfo
('{"current":0,"count":2}',)
- Ex.: Switch to workspace: (0-indexed) gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell/Extensions/SwitchWorkspace --method org.gnome.Shell.Extensions.SwitchWorkspace.SwitchToWorkspace 2
()