summaryrefslogtreecommitdiff
path: root/src/get_args.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/get_args.py')
-rw-r--r--src/get_args.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/get_args.py b/src/get_args.py
index c4e8ade..e38ee90 100644
--- a/src/get_args.py
+++ b/src/get_args.py
@@ -1,14 +1,14 @@
import user_interface
-
+import os
def get_args(args):
-
+
dmenu = False
nolock = False
if '-r' in args:
img_path = user_interface.pickRandomWallpaper()
else:
- img_path = args[1]
+ img_path = f"{os.getcwd()}/{args[1]}"
if '-dmenu' in args:
dmenu = True