dotfiles/.local/bin/lol

10 lines
275 B
Text
Raw Normal View History

2023-09-26 17:12:28 +02:00
#!/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