12 lines
319 B
Bash
12 lines
319 B
Bash
#!/bin/bash
|
|
|
|
width="${SUNSHINE_CLIENT_WIDTH:-1920}"
|
|
height="${SUNSHINE_CLIENT_HEIGHT:-1080}"
|
|
fps="${SUNSHINE_CLIENT_FPS:-60}"
|
|
|
|
pkill --signal SIGUSR1 swaylock
|
|
swaymsg output '*' disable
|
|
# steam deck is 16:10
|
|
swaymsg output HEADLESS-1 mode "$width"x"$height"@"$fps"Hz position 0 0 transform 0 enable
|
|
swaymsg workspace 4
|