Skip to content

Instantly share code, notes, and snippets.

View brendenhoffman's full-sized avatar
🤠

Brenden Hoffman brendenhoffman

🤠
  • USA
View GitHub Profile
@lucsoft
lucsoft / GnomeNested.sh
Last active January 8, 2024 22:52 — forked from davidedmundson/PlasmaNested.sh
Run plasma from within gamescope
#!/bin/sh
# Remove the performance overlay, it meddles with some tasks
unset LD_PRELOAD
# Fetch Resolution
RES=$(xdpyinfo | awk '/dimensions/{print $2}')
# Apply Resolution in env and start a new nested gnome with a new dbus
env MUTTER_DEBUG_DUMMY_MODE_SPECS=$RES dbus-run-session -- gnome-shell --wayland --nested