mirror of
https://github.com/ublue-os/bazzite.git
synced 2024-12-29 03:20:57 +00:00
17 lines
535 B
Bash
Executable File
17 lines
535 B
Bash
Executable File
#!/usr/bin/env bash
|
|
if [[ "$(inxi -Gxx | grep compositor)" =~ "gnome-shell" ]]; then
|
|
zenity --info --text "This utility is meant to be executed through Steam Game Mode only."
|
|
exit 0
|
|
fi
|
|
|
|
source /etc/default/steamos-nested-desktop
|
|
|
|
# Remove the performance overlay, it meddles with some tasks
|
|
unset LD_PRELOAD
|
|
|
|
# Start a new DBus session
|
|
eval $(dbus-launch --sh-syntax)
|
|
|
|
env MUTTER_DEBUG_DUMMY_MODE_SPECS=${STEAMOS_NESTED_DESKTOP_WIDTH:-1280}x${STEAMOS_NESTED_DESKTOP_HEIGHT:-800} \
|
|
dbus-run-session -- gnome-shell --nested --wayland
|