Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f1d8d75

Browse files
committed
Add clarification to get-osx-wallpaper.
1 parent c9b37d6 commit f1d8d75

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

python3/get-osx-wallpaper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
1313
1414
### Warning
15-
+ This approach doesn't work with multiple monitors.
15+
+ This approach doesn't work with multiple monitors or virtual desktops.
1616
1717
### Tested On
18-
+ OSX Yosemite 10.10.2 with a single monitor on a MBP.
18+
+ OSX Yosemite 10.10.2 with a single desktop on a MBP.
1919
2020
### Usage
2121
Ensure `db_path` and `wallpaper_dir` are correctly set below.
@@ -61,5 +61,7 @@
6161
c = conn.cursor()
6262
data_table = list(c.execute('SELECT * FROM data'))
6363

64+
print(data_table)
65+
6466
# The current wallpaper is the last element in the data table.
6567
print("{}/{}".format(wallpaper_dir, data_table[-1][0]))

0 commit comments

Comments
 (0)