Dammmnn it do be startin
This commit is contained in:
25
spinnin.sh
Executable file
25
spinnin.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
sleep_rand()
|
||||
{
|
||||
time=$(( RANDOM % 60 + 1 ))
|
||||
echo "$time"
|
||||
sleep $time
|
||||
}
|
||||
|
||||
spin()
|
||||
{
|
||||
while true
|
||||
do
|
||||
xrandr --output "DP1" --rotate normal
|
||||
sleep_rand
|
||||
xrandr --output "DP1" --rotate left
|
||||
sleep_rand
|
||||
xrandr --output "DP1" --rotate inverted
|
||||
sleep_rand
|
||||
xrandr --output "DP1" --rotate right
|
||||
sleep_rand
|
||||
done
|
||||
}
|
||||
echo "Oh shit please kill me => PID == $$"
|
||||
spin
|
||||
Reference in New Issue
Block a user