Files
dotfiles/bspwm/games.sh
2025-06-03 14:16:01 +03:00

9 lines
305 B
Bash
Executable File

#!/bin/sh
steamlib=/games/SteamLibrary # path to your steamlibrary
mygames=$(ls $steamlib/steamapps/appmanifest_*.acf | sed 's/[^0-9]*//g') # this sed command removes everything but the digits
for game in $mygames; do
bspc rule -a steam_app_$game desktop=^11 state=fullscreen floating=on
done