This file contains 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 bash | |
# TODO: add a light weight loader | |
MIN=70 | |
MAX=85 | |
CONTROL_FIlE=/sys/class/power_supply/battery/charging_enabled | |
REFRESH_INTERVAL=60 | |
BIN=termux-battery-info |
This file contains 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 | |
# usage | |
# dl.sh link sub-directory(optional) | |
# by default it uses yt-dlp change the $BIN to change it. | |
# script stores cache in .cache dir | |
# and keeps a archive just to prevent duplicate downloads | |
# archive is located in Music directory named ".download.txt" | |
# it also downloads thumbnails by default |
NewerOlder