dotfiles/.local/bin/lol
2023-09-26 17:12:28 +02:00

9 lines
275 B
Bash
Executable file

#!/bin/sh
# Note: If running in wayland, switch to borderless windowed to prevent the game window from disappearing
hyprctl monitors | grep -qe 'HDMI-A-1' && "$HOME/.scripts/lol-watcher.sh" &
lutris lutris:rungame/league-of-legends
killall -9 lol-watcher.sh &> /dev/null