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/sh | |
#requirements: zenity, mpv, acpi, https://www.freesoundslibrary.com/positive-tone-sound-effect/, | |
count=0 #timer after critical battery range is reached | |
export DISPLAY=:0 #capture the right monitor to display the popups | |
#read in status and number charge | |
read -r status capacity <<<$(acpi -b | awk -F'[,:%]' '{print $2, $3}') | |
#check if on battery and between 0-4% | |
if [[ $status == "Discharging" && "$capacity" -le 4 ]]; then |
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
# XScreenSaver Preferences File | |
# Written by xscreensaver-demo 5.43 for play on Mon Aug 5 20:23:29 2019. | |
# https://www.jwz.org/xscreensaver/ | |
timeout: 12:00:00 | |
cycle: 12:00:00 | |
lock: False | |
lockTimeout: 0:00:00 | |
passwdTimeout: 0:00:30 | |
visualID: default |
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 | |
## Assumes ## | |
# Working internet connection | |
# Pre-installation work already done | |
## Instructions ## | |
# After booting into Arch ISO, run: | |
# curl -sL https://git.io/JexlX | /bin/bash | |
# and follow the instructions on the script. |