diff options
author | ene <ene@sils.li> | 2023-04-03 18:45:02 +0200 |
---|---|---|
committer | ene <ene@sils.li> | 2023-04-03 18:45:02 +0200 |
commit | 4dea0028b638b4e3a4c4002ddf8d00e639b142e3 (patch) | |
tree | 61e41b94427ff95290df55769b5c91be7bb9f887 /home-manager/packages/scripts/small_functions/deprecated/ply-pre | |
parent | Fix(hm/packages/scripts): Add update script (diff) | |
download | nixos-config-4dea0028b638b4e3a4c4002ddf8d00e639b142e3.tar.gz nixos-config-4dea0028b638b4e3a4c4002ddf8d00e639b142e3.zip |
Fix(hm/packages/scripts): Remove deprecated scripts
Diffstat (limited to 'home-manager/packages/scripts/small_functions/deprecated/ply-pre')
-rwxr-xr-x | home-manager/packages/scripts/small_functions/deprecated/ply-pre | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/home-manager/packages/scripts/small_functions/deprecated/ply-pre b/home-manager/packages/scripts/small_functions/deprecated/ply-pre deleted file mode 100755 index 7053ac62..00000000 --- a/home-manager/packages/scripts/small_functions/deprecated/ply-pre +++ /dev/null @@ -1,33 +0,0 @@ -#! /usr/bin/env dash - -# shellcheck source=/dev/null -. %SHELL_LIBRARY_PATH - - -## Preview Plymouth Splash ## -## by _khAttAm_ ## -## www.khattam.info ## -## License: GPL v3 ## - -chk_root () { - - if [ ! "$( id -u )" -eq 0 ]; then - echo Must be run as root - exit 1 - fi - -} - -chk_root - -DURATION=$1 - -if [ $# -ne 1 ]; then - DURATION=5 -fi - -plymouthd; plymouth --show-splash ; -for i in $(seq 1 $DURATION); do - plymouth --update=test"$i" ; sleep 1; -done; -plymouth quit |