This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Use the 'LGWebOSRemote' python package to turn an LG TV on and off when the system goes idle and wakes up. | |
# Before using, you'll need to pair your TV and set it as the default, using the instructions here: | |
# https://github.com/klattimer/LGWebOSRemote | |
cd /home/media/.local/bin/lgtv_screensaver | |
TIMEOUT_POWER=1800 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env -S uv run --script | |
# /// script | |
# requires-python = ">=3.12" | |
# dependencies = [ | |
# "bs4", | |
# "lxml", | |
# "requests", | |
# "tqdm", | |
# ] |