nlpsuge / gnome-shell-extension-another-window-session-manager

A Gnome shell extension to close open windows gracefully and save them as a session. The previous session can be restored at startup. Most importantly, it supports both X11 and Wayland!
https://extensions.gnome.org/extension/4709/another-window-session-manager/
GNU General Public License v3.0
145 stars 6 forks source link

add to .desktop file? #55

Open clumsyfingers opened 2 years ago

clumsyfingers commented 2 years ago

hi im just toying with the idea of adding the gdbus command to a desktop file something like: ... Icon=firefox Exec=gdbus call --session --dest org.gnome.Shell.Extensions.awsm --object-path /org/gnome/Shell/Extensions/awsm --method org.gnome.Shell.Extensions.awsm.Autostart.RestoreSession ... how do i differentiate so that this .desktop file only launches firefox in its pre-defined position(if i have a saved session with only firefox) and another that will similarly only launch thunderbird (with a separate tbird session saved) ? is it even doable...cos every desktop should have this imho im on wayland btw and latest gnome etc

thanks for a great extension that makes gnome a liveable place, but if i got the stuff above working it would be even better