mirror of
https://github.com/Threnklyn/BitDay-Linux.git
synced 2026-05-18 20:13:27 +02:00
Formatting
This commit is contained in:
@@ -1,31 +1,34 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Original script by http://www.reddit.com/u/javajames64
|
||||||
|
# Updates by http://www.reddit.com/u/OhMrBigshot
|
||||||
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
sessionfile=`find "${HOME}/.dbus/session-bus/" -type f`
|
sessionfile=`find "${HOME}/.dbus/session-bus/" -type f`
|
||||||
export `grep "DBUS_SESSION_BUS_ADDRESS" "${sessionfile}" | sed '/^#/d'`
|
export `grep "DBUS_SESSION_BUS_ADDRESS" "${sessionfile}" | sed '/^#/d'`
|
||||||
|
|
||||||
files=(
|
files=(
|
||||||
01-Morning.png
|
01-Morning.png
|
||||||
02-Late-Morning.png
|
02-Late-Morning.png
|
||||||
03-Afternoon.png
|
03-Afternoon.png
|
||||||
04-Late-Afternoon.png
|
04-Late-Afternoon.png
|
||||||
05-Evening.png
|
05-Evening.png
|
||||||
06-Late-Evening.png
|
06-Late-Evening.png
|
||||||
07-Night.png
|
07-Night.png
|
||||||
08-Late-Night.png
|
08-Late-Night.png
|
||||||
)
|
)
|
||||||
|
|
||||||
#Timings for the backgrounds in order. Your life may vary.
|
#Timings for the backgrounds in order. Your life may vary.
|
||||||
timing=(
|
timing=(
|
||||||
7
|
7
|
||||||
10
|
10
|
||||||
12
|
12
|
||||||
17
|
17
|
||||||
18
|
18
|
||||||
19
|
19
|
||||||
21
|
21
|
||||||
23
|
23
|
||||||
)
|
)
|
||||||
|
|
||||||
hour=`date +%H`
|
hour=`date +%H`
|
||||||
|
|||||||
Reference in New Issue
Block a user