Added some scripts
This commit is contained in:
parent
93cc6601ad
commit
171d26ed68
3 changed files with 30 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -26,3 +26,4 @@ config/enchant
|
||||||
config/GIMP
|
config/GIMP
|
||||||
config/neomutt/accounts
|
config/neomutt/accounts
|
||||||
config/neomutt/signature
|
config/neomutt/signature
|
||||||
|
Bin/calameco.sh
|
||||||
|
|
1
Bin/inkscape
Symbolic link
1
Bin/inkscape
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/opt/Inkscape
|
28
Bin/plymouth.sh
Executable file
28
Bin/plymouth.sh
Executable file
|
@ -0,0 +1,28 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
## 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
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
chk_root
|
||||||
|
|
||||||
|
DURATION=$1
|
||||||
|
if [ $# -ne 1 ]; then
|
||||||
|
DURATION=5
|
||||||
|
fi
|
||||||
|
|
||||||
|
plymouthd
|
||||||
|
plymouth --show-splash
|
||||||
|
for ((I=0; I<$DURATION; I++)); do
|
||||||
|
plymouth --update=test$I;
|
||||||
|
sleep 1;
|
||||||
|
done;
|
||||||
|
plymouth quit
|
Loading…
Reference in a new issue