summaryrefslogtreecommitdiffstats
path: root/src/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/__main__.py')
-rwxr-xr-xsrc/__main__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/__main__.py b/src/__main__.py
index 8cf70ae..d6ace7c 100755
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -15,6 +15,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
+import datetime
from colour import *
from curve import *
@@ -111,3 +112,7 @@ for file in ('$XDG_CONFIG_HOME/%/%rc', '$HOME/.config/%/%rc', '$HOME/.%rc', '/et
exec(code, globals)
break
+## Get the current time
+now = datetime.datetime.now() # .year, .month, .day, .hour, .minute, .second
+weekday = now.isocalendar()[2]
+