47d66cfa2e1cde0ee46385b1c261e31cdc44b59f

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Fix gamescope starting on tty3

Diff

 1diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
 2index caa3f106d15bfc7302635a87b12fa4f7d7d1eb81..065a7f1d616f6050019ffac86c58e316b9685faa 100644
 3--- a/dot_zshrc.tmpl
 4+++ b/dot_zshrc.tmpl
 5@@ -127,7 +127,7 @@ eval "$(mise activate zsh)"
 6 if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ] && [[ $(tty) = /dev/tty1 ]]; then
 7     # hyprland on tty1
 8     exec uwsm start -e -D Hyprland hyprland.desktop
 9-elif [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 2 ] && [[ $(tty) = /dev/tty3 ]]; then
10+elif [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 3 ] && [[ $(tty) = /dev/tty3 ]]; then
11     exec gamescope-session-plus steam
12 elif [[ $(tty) =~ "/dev/tty[0-9]" ]]; then
13     # Enable unicode characters in the tty