mirror of
https://github.com/pr0fsmith/rMscreens.git
synced 2025-12-08 22:23:23 +00:00
Update changescrn
This commit is contained in:
10
changescrn
10
changescrn
@@ -1,11 +1,9 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
#Arguments
|
#Backup existing screens: changescr -b
|
||||||
OLDPNG=$1 #name of screen you'd like to change. Screen names are default names without the .png
|
#Change Screen: changescrn -c [SCREEN] -n [PATH TO NEW SCREEN]
|
||||||
NEWPNG=$2 #path/to new .png file
|
#Restore original screens: changescrn -r [SCREEN] (use option 'all' to restore all screens at once)
|
||||||
|
#[SCREEN] options: batteryempty | lowbattery | overheating | poweroff | rebooting | recovery | splash | starting | suspended
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
while getopts "r: c: n: :b" opt; do
|
while getopts "r: c: n: :b" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
|
|||||||
Reference in New Issue
Block a user