diff --git a/display-settings/ft-layout-reset.desktop b/display-settings/ft-layout-reset.desktop index 29f7eab..741b2b2 100644 --- a/display-settings/ft-layout-reset.desktop +++ b/display-settings/ft-layout-reset.desktop @@ -3,7 +3,7 @@ Type=Application Name=Reset Screen Layout GenericName=Put the VR desktop's screens back in their layout Comment=Float the screens and arrange them in the layout from Frametop Display Settings -Exec=@REPO@/layout/ft-layout apply +Exec=@REPO@/layout/ft-layout-reset Icon=view-restore Categories=Settings; Keywords=display;screen;layout;arrange;reset;steamvr;frametop; diff --git a/display-settings/ft-screens-toggle.desktop b/display-settings/ft-screens-toggle.desktop index 39e880e..17869c6 100644 --- a/display-settings/ft-screens-toggle.desktop +++ b/display-settings/ft-screens-toggle.desktop @@ -3,7 +3,7 @@ Type=Application Name=Hide/Show Screens GenericName=Hide or show the VR desktop's screens Comment=Hide the screens (and SteamVR's laser) for a VR game; press again to bring them back -Exec=@REPO@/layout/ft-layout toggle +Exec=@REPO@/layout/ft-hide-show Icon=view-visible Categories=Settings; Keywords=display;screen;hide;show;steamvr;frametop; diff --git a/layout/ft-hide-show b/layout/ft-hide-show new file mode 100755 index 0000000..f160064 --- /dev/null +++ b/layout/ft-hide-show @@ -0,0 +1,3 @@ +#!/bin/bash +# Hide/Show Screens' own program (see ft-layout-reset). +exec "$(dirname "$(readlink -f "$0")")/ft-layout" toggle "$@" diff --git a/layout/ft-layout-reset b/layout/ft-layout-reset new file mode 100755 index 0000000..ccccf18 --- /dev/null +++ b/layout/ft-layout-reset @@ -0,0 +1,4 @@ +#!/bin/bash +# Reset Screen Layout's own program. Steam lists menu entries by program, so entries that +# shared ft-layout (with different arguments) launched as one. +exec "$(dirname "$(readlink -f "$0")")/ft-layout" apply "$@"